The (Great) GalSBI

MIT license PyPI pyversions PyPI version pipeline coverage coverage report

image image Docs Source Code

Create realistic galaxy catalogs and astronomical images based on the GalSBI model. The GalSBI model is described in Fischbacher et al. (2024) and the package is described in Fischbacher et al. (2024).

Installation

The package can be installed via pip:

pip install galsbi

Usage

To generate a catalog of galaxies with their intrinsic properties, you can use the following code snippet:

from galsbi import GalSBI

model = GalSBI("Fischbacher+24")
model()
cats = model.load_catalogs()

More examples and detailed documentation can be found in the documentation.

Citation

If you use GalSBI in your work, please cite the science paper Fischbacher et al. (2024) for using the GalSBI model and the code release paper Fischbacher et al. (2024) for using the package. If you are using specific models or parametrizations, please also cite the corresponding papers. If you are not sure which papers to cite, use the following with your model instance:

model.cite()

Credits

This package was developed by the Cosmology group at ETH Zurich and is currently maintained by Silvan Fischbacher.

Contributions

Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.

Contents:

Feedback

If you have any suggestions or questions about galsbi feel free to email me at silvanf@phys.ethz.ch.

If you encounter any errors or problems with galsbi, please let me know!

Code Coverage Report

html report