CosmoAI-AES is an inter-disciplinary research group at the Department of ICT and Natural Sciences at NTNU in Ålesund, working on gravitational lensing.
Professor Hans Georg Schaathun is a computer scientist working on simulation and machine learning
Dr Ben David Normann is a mathematical physicist working on cosmology
These pages present prototypes for two pieces of software.
CosmoSim is a simulator of gravitational lensing, supporting both an interactive and graphical user interface, and a command line interface for bulk generation of images.
droulette is not publicly available as of March 2026, but will be made public in the future. It provides the plumbing code to apply machine learning to images from CosmoSim.
Warning! These pages are under construction, and there will be errors and inconsistencies.
Using CosmoSim¶
Installation CosmoSim is a Python Package and can be installed with
pip install CosmoSim.CosmoSim GUI, which is run as
python -m CosmoSim.GUI.CosmoSim Demos exemplify intended workflows for testing the simulator, comparing simulation and lens models, and training and testing of machine learning models. Most of the demos use the API in Jupyter Notebook. Some depend on command line operation.
To understand the software, it will be necessary to have at least a superficial understanding of the Mathematical model.