PyMGal documentation#
Welcome to PyMGal, a Python repository for generating optical mock observations from cosmological simulations. It is compatible with a variety of different model formats including GAGDET, GIZMO, and AREPO. We have tested it on IllustrisTNG, SIMBA, EAGLE, and The Three Hundred hydrodynamical simulations, but it should work on many others as well. The program infers the spectral energy distributions (SEDs) of stellar particles within a simulation snapshot given some customizable simple stellar population (SSP) model. These SEDs can then be used to calculate the brightness of particles through some telescope filter, and the results can be projected to a realistic 2D image.
User Guide#
License#
Copyright 2024 PyMGal developers.
This code is available under the MIT License.
If you use PyMGal in your work, please cite the code paper found here: https://doi.org/10.1093/rasti/rzaf027.
PyMGal borrows a lot from EzGal (http://www.baryons.org/ezgal/), so please cite them as well if you use their methods.