GLASS: Generator for Large Scale Structure
May 19, 2026 ยท View on GitHub
This is the core library for GLASS, the Generator for Large Scale Structure. For more information, see the full documentation. There are a number of examples to get you started.
Installation
Releases of the code can be installed with pip:
pip install glass
or conda:
conda install -c conda-forge glass
If you are interested in the latest version of the code, you can pip-install this repository:
pip install git+https://github.com/glass-dev/glass.git
Citation
If you use GLASS simulations or the GLASS library in your research, please cite the original GLASS paper in your publications.
@ARTICLE{2023OJAp....6E..11T,
author = {{Tessore}, Nicolas and {Loureiro}, Arthur and {Joachimi}, Benjamin and {von Wietersheim-Kramsta}, Maximilian and {Jeffrey}, Niall},
title = "{GLASS: Generator for Large Scale Structure}",
journal = {The Open Journal of Astrophysics},
keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics},
year = 2023,
month = mar,
volume = {6},
eid = {11},
pages = {11},
doi = {10.21105/astro.2302.01942},
archivePrefix = {arXiv},
eprint = {2302.01942},
primaryClass = {astro-ph.CO},
adsurl = {https://ui.adsabs.harvard.edu/abs/2023OJAp....6E..11T},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
Getting in touch
The best way to get help about the code is currently to get in touch.
If you would like to start a discussion with the wider GLASS community about e.g. a design decision or API change, you can use our Discussions page.
We also have a public Slack workspace for discussions about the project.
Contributors
This project follows the all-contributors specification. Contributions of any kind are welcome!
Click here to see a full list of our contributors' profiles.