Skip to main content

Python package handles the young-stellar-objects isochrones, and one primary goal is to derive the stellar mass and ages from the isochrones.

Project description

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

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.

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 the xxx

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:

  • MADYS is Python package 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.

  • isochrones is a Python package that provides interface to access the MIST grids.

  • PARSEC team provides a web interface to access different versions of their tracks together with some useful web-based tools.

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

ysoisochrone-0.4.1b0.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ysoisochrone-0.4.1b0-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file ysoisochrone-0.4.1b0.tar.gz.

File metadata

  • Download URL: ysoisochrone-0.4.1b0.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ysoisochrone-0.4.1b0.tar.gz
Algorithm Hash digest
SHA256 089072a6d43d7097826c2cd21f4dcfd9aefa36de4a724593a413a587b847fddb
MD5 cde37db321f5148e7e8bd6d51effd6b0
BLAKE2b-256 42272a0812987297ebeba9d1b516806bd0e8d4b20a4a5fafd5672d42c5b18e07

See more details on using hashes here.

File details

Details for the file ysoisochrone-0.4.1b0-py3-none-any.whl.

File metadata

  • Download URL: ysoisochrone-0.4.1b0-py3-none-any.whl
  • Upload date:
  • Size: 33.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ysoisochrone-0.4.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 1154db8b8108ba7860f6f413bce378f48bc62e0ece7a968f21dba6578e04dd06
MD5 f2b023d25174ba526a5e18f0e33a857e
BLAKE2b-256 ee13583a03b7d937222f0fe002f843dbc78dafa9466b1dbc4e4bde7631947c0e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page