Simulate realistic IFS datacubes for the CSST mission, including stellar population, ionized gas, and AGN spectra.
Project description
🌀 GEHONG: CSST-IFS Spectral Cube Simulator
GEnerate tHe data Of iNtegral field spectrograph of Galaxy (GEHONG)
A Python package for generating realistic 3D spectral datacubes (RA × DEC × Wavelength) for the Chinese Space Station Telescope (CSST) Integral Field Spectrograph (IFS).
✨ Features
- ✅ Simulate high-resolution 3D datacubes covering stellar continuum, ionized gas emission, and AGN components
- ✅ Flexible input: 2D physical maps (e.g., age, metallicity, velocity) or physical parameter arrays (e.g., SFH, CEH)
- ✅ Modular design: each component (stars, gas, AGN) can be simulated independently or jointly
- ✅ Built-in templates from empirical/theoretical libraries (XSL, Munari, Cloudy, etc.)
- ✅ Fully compatible with CSST-IFS ETC and raw image simulation tools
📦 Installation
Install via pip:
pip install csst-ifs-gehong
📘 Documentation
Full documentation with usage examples is available at:
📚 https://csst-ifs-gehong.readthedocs.io
Example sections include:
- Stellar population spectrum simulation
- HII region emission modeling
- AGN template generation
- 2D map input and manipulation
- Full 3D datacube assembly and export
🔧 Dependencies
GEHONG requires the following Python packages:
numpyscipyastropymatplotlib
📁 Data Files
GEHONG relies on external template files (e.g., XSL, Munari, emission line grids), maintained in a companion repository:
📄 License
GEHONG is released under the MIT License.
© 2025 Shuai Feng @ Hebei Normal University
🤝 Contributing
We welcome contributions and suggestions!
To contribute, please fork the repo and open a pull request, or submit an issue at:
👉 https://github.com/fengshuai0210/csst-ifs-gehong/issues
🔭 Acknowledgements
GEHONG was developed to support science planning for the CSST-IFS team.
It is inspired by tools such as SIMSPIN, RealSim-IFS, and FSPS, but uniquely adapted to CSST’s design and scientific needs.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file csst_ifs_gehong-3.1.0.tar.gz.
File metadata
- Download URL: csst_ifs_gehong-3.1.0.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac89391bdc1f35f3565972bc040c9770df09d9dbba7526be5883f4b6ad187da5
|
|
| MD5 |
f1f3dfa4caf9280b5e4f13a0a2ffa595
|
|
| BLAKE2b-256 |
72002bbd5e606b7ac4c316e04187453d7d7d0667f9642c8c8ffc649c242345b2
|
File details
Details for the file csst_ifs_gehong-3.1.0-py3-none-any.whl.
File metadata
- Download URL: csst_ifs_gehong-3.1.0-py3-none-any.whl
- Upload date:
- Size: 30.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a91fcbdab9b551cfaeb1cc2d837268a9b96d788ad7699296ca0531b3aa9bfb3
|
|
| MD5 |
fbfe04dd936906d5a9f97dbe63a4e7d5
|
|
| BLAKE2b-256 |
4dfc5735b1f172a981b169c7b084c3809ec0633fc168105b68e96114ac1f800d
|