ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

Searching for codes credited to 'Janulewicz, Patrick'

Tip: Author search checks name variants (e.g., Smith, John, Smith J). Last names are still best when results are broad.

Found 1 code.

[ascl:2603.013] PyMGal: Optical mock observations from hydrodynamical simulations
PyMGal generates optical mock observations from cosmological simulations. Incorporating methods from EzGal (ascl:1208.021), the program infers the spectral energy distributions (SEDs) of stellar particles within a simulation snapshot using customizable simple stellar population (SSP) models. These SEDs are used to calculate particle brightness through selected telescope filters. The results can be projected into realistic 2D images. The software is compatible with different simulation formats, including GADGET, GIZMO, and AREPO. Tested on IllustrisTNG, SIMBA, EAGLE, and The Three Hundred hydrodynamical simulations, PyMGal should work on other cosmological simulations as well.