CosmoSim

CosmoSim is a simulator for gravitational lensing.

Roulette Simulation

under construction

There is a range of older documents giving different persectives on the roulette formalism. They may not be up to date.

Calculation of Roulette Amplitudes

The simulator can calculate the roulette amplitudes $\alpha_s^m$ and $\beta_s^m$ for some lens models. It can also take the roulette amplitudes as input, and simulate a distorted image in a neighbourhood.

At present SIS and SIE are supported.

SIS

SIS has the most extensive support.

All of these procedures are reasonably fast and can be tested with little trouble.

SIE

The support for SIE follows the same pattern as SIS, but the symbolic calculation is more time consuming and fewer terms can be supported.

The script sieamplitudes.py generates the algebraic formulæ for SIE. Currently only five terms ($m\le5$) is distributed (sie05.txt).

Point Mass Lens

Point Mass Lenses can be simulated in the roulette model using the PointMassRoulette class. There is no decoupled lens class for pointmass, and therefore the roulette amplitudes cannot be explicitly calculated and exported.