Skip to main content

MIST Isochrone interpolation

Project description

Build Status Coverage Status

Minimint (MIni Mist INTerpolation)

Software to do simple interpolation of MIST isochrones.

Author: Sergey Koposov (2020-2021) skoposov AT ed DOT ac DOT uk

Instructions

  • Install minimint (clone the repo and do pip install)
pip install minimint
  • Download and prepare isochrone files
minimint.download_and_prepare()

That will download everything and process the evolutionary tracks and bolometric corrections by creating the necessary files for the package.

minimint.download_and_prepare() by by default creates bolometric corrections for these filters 'DECam', 'GALEX', 'PanSTARRS', 'SDSSugriz', 'SkyMapper','UBVRIplus', 'WISE' If you need additional filters, you can specify them using the filters parameter

minimint.download_and_prepare(filters=['JWST','WISE','DECam', 'GALEX', 'PanSTARRS', 'SDSSugriz', 'SkyMapper','UBVRIplus']) Check which filters are available on the MIST website http://waps.cfa.harvard.edu/MIST/model_grids.html This will take some time (20-30 min) and will use some space (10-30 Gb).

Now you can use the package. In order to create an interpolator object:

i = minimint.Interpolator(['DECam_g','DECam_r'])

The interpolator is a callable, so you can call it on mass, log10(age), feh

ii(mass, logage,feh)

This returns a dictionary with photometry and logg, logteff, logl and photometry.

You also can use the interpolator to find the maximum valid mass on the isochrone.

ii.getMaxMass(logage, feh)

Examples

See the notebook in the examples folder

Synthetic stellar populations

If you are interested in synthetic stellar populations you will need the implementation of the IMF. For this you may want to use https://github.com/keflavich/imf

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

minimint-0.2.2.tar.gz (725.5 kB view hashes)

Uploaded Source

Built Distribution

minimint-0.2.2-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

Supported by

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