GalSyn
GalSyn is a modular Python package designed for generating realistic synthetic spectrophotometric observations of galaxies from hydrodynamical simulation data. By employing particle-by-particle spectral modeling to 3D data from hydrodynamical simulation such as IllustrisTNG and EAGLE, GalSyn enables the generation of realistic synthetic spectrophotometric data cubes, including broadband imaging and Integral Field Unit (IFU) spectroscopy. Beyond light synthesis, the tool produces comprehensive 2D physical property maps of the stellar populations, gas, and dust, as well as the decoupled kinematics of both stellar and gaseous components.
A core philosophy of GalSyn is providing extensive flexibility over the physical ingredients involved in the synthesis procedure. This includes highly flexible control over the stellar population synthesis (SPS) modeling, and customize underlying components such as Initial Mass Functions (IMFs), stellar isochrones (e.g., MIST, Padova, BaSTI), stellar spectral libraries (e.g., MILES, BaSeL), and binary stellar evolution (BPASS). Furthermore, GalSyn implements highly flexible analytical dust attenuation models, allowing users to choose between fixed empirical laws or dynamic prescriptions with variable UV bump strengths and power-law slopes.
While traditional radiative transfer codes offer high physical rigor, they are often computationally intensive and offer limited flexibility regarding stellar population choices. GalSyn is built for computational efficiency and highly flexible user control, allowing for large-scale population studies and systematic exploration of how different physical assumptions (like IMF or dust laws) impact emergent galaxy light.
For more detailed information about the physical ingredients and algorithms, please see Abdurro'uf et al. (2026).
Installation
Installing stable version
GalSyn is available as a package on PyPI and can be installed by executing the following command:
pip install galsyn
Installing development version
If you want to install the most recent version of GalSyn, you can clone it from its GitHub repository and install:
git clone https://github.com/aabdurrouf/GalSyn.git
cd GalSyn
python -m pip install .
Citation
If you use this code for your research, please reference Abdurro'uf et al. (2026):
@ARTICLE{2026arXiv260323986A,
author = {{Abdurro'uf} and {Ferguson}, Henry C. and {Salim}, Samir and {Iyer}, Kartheik G. and {Bradley}, Larry D. and {Coe}, Dan and {Saputra Haryana}, Novan and {Hassan}, Sultan and {Jung}, Intae and {Khullar}, Gourav and {Morishita}, Takahiro and {Mowla}, Lamiya},
title = "{GalSyn I: A Forward-Modeling Framework for Synthetic Galaxy Observations from Hydrodynamical Simulations and First Data Release from IllustrisTNG}",
journal = {arXiv e-prints},
keywords = {Astrophysics of Galaxies},
year = 2026,
month = mar,
eid = {arXiv:2603.23986},
pages = {arXiv:2603.23986},
archivePrefix = {arXiv},
eprint = {2603.23986},
primaryClass = {astro-ph.GA},
adsurl = {https://ui.adsabs.harvard.edu/abs/2026arXiv260323986A},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
Metadata
Release files for galsyn 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| galsyn-0.1.6.tar.gz | 255.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| galsyn-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 515.4 kB
Release files / galsyn-0.1.6.tar.gz
| Download URL | galsyn-0.1.6.tar.gz |
|---|---|
| Size | 255.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99289deebcbf6173d5249398e13834917d61eaf8700481360ec85f31b050dcee
|
|
BLAKE2b-256 checksum How to use checksums |
53f24aa846130434e81dbdc8ef63ff5fb1518fd6bf1a4497167b9e14054d2b46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logRelease files / galsyn-0.1.6-py3-none-any.whl
| Download URL | galsyn-0.1.6-py3-none-any.whl |
|---|---|
| Size | 260.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e234676678df38b3d1299616eb4f3cb1a0d3904aa8072d304ece9057e8aa93a7
|
|
BLAKE2b-256 checksum How to use checksums |
15a5e3086a89e75c57f7240e99940faee840d4d4932ef700d09295386c928279
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency log