zhang-zhixiang/stellarSpecModel: stellarSpecModel release
Description
This Zenodo repository hosts the software package StellarSpecModel, a Python toolkit designed for generating and analyzing theoretical stellar spectral energy distributions (SEDs) based on precomputed spectral grids. It supports both single-star and binary-star modeling, with features that incorporate extinction correction and multi-band photometric data fitting.
Contents
• stellarSpecModel/: Python modules and classes, including:
• SED_model.py: Single-star SED modeling
• binary_SED_model.py: Binary system SED modeling
• MARCS_Model.py and BTCond_Model.py: Interfaces to MARCS and BT-Cond spectral grids
• example.png: Example plot showing model output
• README.md: Documentation of usage and functionalities
File Types and Formats
• Python source code files (.py)
• Plot image (.png)
• Markdown documentation (.md)
Usage Summary
StellarSpecModel takes fundamental stellar parameters such as effective temperature (Teff), surface gravity (logg), and metallicity (FeH) to interpolate from stellar atmosphere models (MARCS or BT-Cond). It then computes synthetic SEDs for visualization or model fitting to observed photometry. In the binary-star version, it computes the combined SED and performs chi-square or likelihood analysis based on observed magnitudes.
Dependencies
The code requires the following Python packages: numpy, matplotlib, astropy, pyphot, extinction, and optionally selenium (for automatic downloads of grid data). The module also uses the spectool package available at https://github.com/zhang-zhixiang/spectool.
Files
zhang-zhixiang/stellarSpecModel-v1.0.0.zip
Files
(224.0 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:4735af70d66705aceccf24e656e9cf6a
|
224.0 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/zhang-zhixiang/stellarSpecModel/tree/v1.0.0 (URL)
Software
- Repository URL
- https://github.com/zhang-zhixiang/stellarSpecModel