CosmoSim¶

The purpose of CosmoSim is to simulate gravitation lenses. In other words, giving a model of a lens and a model of a source, it can generate the distorted image of the source as seen through the lens.
Architecture¶
The CosmoSim software suite consists of three layers.
The simulator library, simlib
The python wrapper, CosmoSimPy - The Python Bindings
A range of executable python scripts, including the GUI
CosmoGUI.pyand the batch generatordatagen.py.
The mathematical model is implemented in the simulator library, which is consequently the most important part to document properly.
(Architecture updated in version 2.5.1. See also [v2.5.0](Software v2.5.0).)
Python modules¶
All python code is collected in the CosmoSimPy directory
CosmoSim
Python package wrapping the simulator library.
Arguments.py
Argument parser and other shared functions for the scripts.