Skip to content

jikrant3/sed-analysis-tools

Repository files navigation

sed_analysis_tools

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).

Installation

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.

Uninstallation

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

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. recoverability

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

Citing sed_analysis_tools

If you use this code for your work, kindly include a citation for this code DOI 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}
}

About

A python module to model, fit and analyse single and binary spectral energy distributions (SEDs).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages