Pythonic stellar model grid access; easy MCMC fitting of stellar properties
Clone or download
timothydmorton Merge pull request #75 from adrn/decam
Add DECam central wavelengths to filters file
Latest commit cfd93aa Oct 12, 2018



Provides simple interface for interacting with stellar model grids.


Install with pip install isochrones or by cloning the repository and running python install.

Depends on normal scientific libraries (e.g. numpy, pandas, etc.), as can easily be installed trouble-free via, e.g., the anaconda python distribution.

For usage details, read the documentation or check out the demo notebook.

Stellar fits will want to use MultiNest/pymultinest if those packages are installed (recommended); otherwise the fits will default to MCMC fitting using emcee.

Basic Usage

For simplest out-of-the-box usage after installation, make a file called star.ini that looks something like this:

Teff = 5770, 100
feh = 0.0, 0.15
logg = 4.5, 0.1
V = 10.0, 0.05

Any combination of spectroscopic or [supported] photometric properties, as well as parallax, can go as properties into this file.

Once you've made this file, type starfit at the command line. Or if you want to be organized, you can put star.ini in a folder called mystar [or whatever] and run starfit mystar from the command line. The starfit script will create an HDF5 file containing the saved StarModel, which you can load from python using StarModel.load_hdf, as well as triangle plots illustrating the fit.


If you use isochrones in your research, please cite this ASCL reference.