Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

CosmoSim Software Model

CosmoSim

Model 3D

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

CosmoSim Modules

The CosmoSim software suite consists of three layers.

  1. The simulator library, simlib

  2. The python wrapper, CosmoSimPy - The Python Bindings

  3. A range of executable python scripts, including the GUI CosmoGUI.py and the batch generator datagen.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