ysoisochrone
ysoisochrone: A Python package to estimate masses and ages for YSOs - Published in JOSS (2025)
Science Score: 93.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 8 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Scientific Fields
Repository
This is the Python package that handles the isochrones for young stellar objects (YSOs). One of the primary goals of this package is to derive the stellar mass and ages from the isochrones.
Basic Info
Statistics
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 8
Metadata Files
README.md
ysoisochrone
ysoisochrone is a Python3 package that handles the isochrones for young-stellar-objects. One of the primary goals of this package is to derive the stellar mass and ages from the isochrones.
Contributors
Dingshan Deng (dingshandeng@arizona.edu), The University of Arizona
Ilaria Pascucci, The University of Arizona
Rachel B. Fernandes, The Pennsylvania State University
Feature
Handle different formats of the isochrones from different reference sources. The available evolutionary models include Baraffe et al. (2015), Feiden (2016), and PARSEC (both version 1.2 and 2.0). Other tracks will also be added in the future.
Derive the stellar masses and ages from the isochrones by:
- (a) Using the Bayesian inference approach. The required inputs are stellar effective temperature ($T{\rm eff}$), bolometric luminosity ($L{\rm bol}$), and their uncertainties.
- (b) Using the Bayesian inference approach where we do not have a good luminosity measurement. Therefore, we need to assume an age for the target.
The code also includes a stand alone function to estimate the stellar masses and ages from the grid point that has the closest $T{\rm eff}$ and $L{\rm bol}$ to the target.
- Basic plot utils to show Hertzsprung–Russell diagram, Bayesian inference results and others.
Installation
You can easily install the package via
bash
pip install ysoisochrone
Or, you can also install your preferred release by downloading the package release from the GitHub page. Then unzip the package.
In the terminal and in the directory of this package where setup.py exists.
bash
pip install .
Quick Start
A Quick Start Guide is provided as a Jupyter Notebook together with other tutorial Jupyter Notebooks. You can also find these tutorial notebooks in the folder called tutorial_notebooks.
This Guide is also provided in the documentation together with some other detailed explainations.
Citations
If you use ysoisochrone as part of your research, please cite
"Deng et al. (2025), based on the IDL code developed by Pascucci et al. (2016)"
``` @article{Deng2025, doi = {10.21105/joss.07493}, url = {https://doi.org/10.21105/joss.07493}, year = {2025}, publisher = {The Open Journal}, volume = {10}, number = {106}, pages = {7493}, author = {Dingshan Deng and Ilaria Pascucci and Rachel B. Fernandes}, title = {ysoisochrone: A Python package to estimate masses and ages for YSOs}, journal = {Journal of Open Source Software} }
@article{Pascucci2016, author = {{Pascucci}, I. and {Testi}, L. and {Herczeg}, G.~J. and {Long}, F. and {Manara}, C.~F. and {Hendler}, N. and {Mulders}, G.~D. and {Krijt}, S. and {Ciesla}, F. and {Henning}, Th. and {Mohanty}, S. and {Drabek-Maunder}, E. and {Apai}, D. and {Sz{\H{u}}cs}, L. and {Sacco}, G. and {Olofsson}, J.}, title = {A Steeper than Linear Disk Mass-Stellar Mass Scaling Relation}, journal = {The Astrophysical Journal}, keywords = {brown dwarfs, protoplanetary disks, stars: pre-main sequence, submillimeter: planetary systems, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Solar and Stellar Astrophysics}, year = 2016, month = nov, volume = {831}, number = {2}, eid = {125}, pages = {125}, doi = {10.3847/0004-637X/831/2/125}, archivePrefix = {arXiv}, eprint = {1608.03621}, primaryClass = {astro-ph.EP}, adsurl = {https://ui.adsabs.harvard.edu/abs/2016ApJ...831..125P}, adsnote = {Provided by the SAO/NASA Astrophysics Data System} } ```
If you use any stellar evolutionary models, please also refer to their original work/website for citations.
Community Guidelines
We welcome contributions, issue reports, and questions about ysoisochrone! If you encounter a bug or issue, check out the Issues page and provide a report with details about the problem and steps to reproduce it. For general support, usage questions and suggestions, you can start a discussion in Discussions page, and of course feel free to send emails directly to us. If you want to contribute, feel free to fork the repository and create pull requests here. ysoisochrone is licensed under MIT license, so feel free to make use of the source code in any part of your own work/software.
Useful links
There are a few other useful tools and packages that can be used to handle stellar evolutionary tracks and to estimate stellar mass and age for pre-main sequence stars. Including:
MADYSisPythonpackage that can be used to derive ages and masses for pre-main sequence stars from multi-wavelengths photometric data with the extinction corrected according to extinction maps and laws; and it could ustilize different stellar evolutionary models, including MIST, PARSEC (v1.2 and 2.0), Feiden, Baraffe and many other models for pre-MS or MS stars.isochronesis aPythonpackage that provides interface to access the MIST grids.PARSECteam provides a web interface to access different versions of their tracks together with some useful web-based tools.
Owner
- Login: DingshanDeng
- Kind: user
- Repositories: 1
- Profile: https://github.com/DingshanDeng
JOSS Publication
ysoisochrone: A Python package to estimate masses and ages for YSOs
Authors
President's Postdoctoral Fellow, Department of Astronomy \& Astrophysics, 525 Davey Laboratory, The Pennsylvania State University, University Park, PA 16802, USA, Center for Exoplanets and Habitable Worlds, 525 Davey Laboratory, The Pennsylvania State University, University Park, PA 16802, USA
Tags
astronomyGitHub Events
Total
- Create event: 2
- Release event: 3
- Issues event: 10
- Watch event: 4
- Issue comment event: 12
- Push event: 46
- Pull request event: 2
- Fork event: 1
Last Year
- Create event: 2
- Release event: 3
- Issues event: 10
- Watch event: 4
- Issue comment event: 12
- Push event: 46
- Pull request event: 2
- Fork event: 1
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Dingshan Deng | d****g@g****m | 120 |
| Warrick Ball | w****l@g****m | 1 |
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 7
- Total pull requests: 2
- Average time to close issues: 24 days
- Average time to close pull requests: about 2 hours
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 2.14
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 7
- Pull requests: 2
- Average time to close issues: 24 days
- Average time to close pull requests: about 2 hours
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 2.14
- Average comments per pull request: 0.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- HeloiseS (6)
- warrickball (1)
Pull Request Authors
- warrickball (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 15 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 3
- Total maintainers: 1
pypi.org: ysoisochrone
Python package handles the young-stellar-objects isochrones, and one primary goal is to derive the stellar mass and ages from the isochrones.
- Homepage: https://github.com/DingshanDeng/ysoisochrone
- Documentation: https://ysoisochrone.readthedocs.io/
- License: mit
-
Latest release: 1.0.0
published 11 months ago