These demoes are written in Jupyter notebook and demonstrate the use of the CosmoSim API. They can be downloaded and run, assuming CosmoSim v3 is installed.
pip install CosmoSim>=3.0.1b1 --upgradeFundamentals of the simulator
CosmoSim Demo I shows the basic operation of the simulator.
CosmoSim Demo II Annotation shows how to annotate the simulated images with critical curves and key points.
CosmoSim Demo III Roulette Resimulation sbows the principles of simulation from roulette amplitudes.
Resimulation Template gives a simplified template for reuse, removing most of the discussion.
Lens models. These demos will primarily test that the different simulation models and implementations of the same lens give consistent results.
Dataset Generation and Machine Learning covers the generation of datasets and training and testing of machine learning models.
Cluster Lenses (Demo n° 1) discusses cluster lenses
For research into the roulette amplitudes and their calculation.
Experiments 2026. Showcase of a series of experiments, including both tutorial demonstrations and reports on the results.