A Python module to model, fit, and analyse single and binary spectral energy distributions (SEDs). This theory behind the code, and the method it implements, are described in Jadhav (2025; 2025JApA...46...20J).
Documentation at jikrant3.github.io/sed-analysis-tools
pip install sed_analysis_tools
Requirements:
python>=3.10, astropy>=6.0, matplotlib>=3.7, numpy>=1.24, pandas>=2.0, scipy>=1.12, tqdm>=1.12
The module will download models (e.g., isochrones) and filter transmission curves as required into a $HOME/.sed_analysis_tools (or equivalent) folder.
pip uninstall sed_analysis_tools
To remove cached files, manually delete the cache folder (get the path using sed_analysis_tools._get_cache_directory()).
getting_started and examples/ contain some guides and Jupyter notebooks.
The examples/ also contains the code required to recreate the data and plots given in the publication.
Understanding the recoverability of a binary system using SED for a given filter set and noise levels.

Estimating SED fitting errors assuming blackbody approximation. And visualizing the possible degeneracy due to nearby secondaries, resulting in similar HRD positions.

If you use this code for your work, kindly include a citation for this code
and the accompanying paper.
Jadhav (2025) On the detectability and parameterisation of binary stars through spectral energy distributions, Journal of Astrophysics & Astronomy, 46, 20, 2025JApA...46...20J
@software{jikrant3_2024_13789847,
author = {{Jadhav}, Vikrant V.},
title = {jikrant3/sed-analysis-tools},
month = Nov,
year = 2024,
publisher = {Zenodo},
version = {v1.2.0},
doi = {10.5281/zenodo.13789847},
url = {https://doi.org/10.5281/zenodo.13789847}
}
@ARTICLE{2025JApA...46...20J,
author = {{Jadhav}, Vikrant V.},
title = "{On the detectability and parameterization of binary stars through spectral energy distributions}",
journal = {Journal of Astrophysics and Astronomy},
keywords = {Binaries, photometry, spectral energy distribution, Astrophysics - Solar and Stellar Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics},
year = 2025,
month = mar,
volume = {46},
number = {1},
eid = {20},
pages = {20},
doi = {10.1007/s12036-025-10042-2},
archivePrefix = {arXiv},
eprint = {2412.05606},
primaryClass = {astro-ph.SR},
adsurl = {https://ui.adsabs.harvard.edu/abs/2025JApA...46...20J},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}