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 yet open source, but v0.1 has been released on PyPI. It will become Open Source 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.
Current version¶
The current stable version is v3.1.
There are beta releases of v3.2, with simplified code, removing some redundant legacy models. However, the refactoring of the GUI is not complete, and at least the GUI is not stable.
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.
Documentation¶
Publications¶
We presented the first prototype at ECMS in 2023 hgs2023ecms, and a white paper on the overall approach later the same year, in Norwegian schaathun2023. More recently we have made a survey on gravitational lensing normann2025short.
MSc theses publicly available by hanssen2024msc, enoksen2026msc