Skip to main content

MIST Isochrone interpolation

Project description

Build Status Coverage StatusDOI

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. You can either pip install the released version or install from github
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 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).

If you want to put those processed isochrone files in a location different from the site-packages folder of minimint, you can use the outp_prefix parameter of download_and_prepare. You then will need to either specify the location each time when you construct the interpolators or with the MINIMINT_DATA_PATH environment variable

Usage

In order to create an interpolator object for two filters (your can provide a list of any numbers of filters)

ii = 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, logg, logteff and logl.

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

Acknowledgement

If you are using this package please cite it through zenodo https://doi.org/10.5281/zenodo.4002971

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.4.1.tar.gz (786.7 kB view details)

Uploaded Source

Built Distribution

minimint-0.4.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file minimint-0.4.1.tar.gz.

File metadata

  • Download URL: minimint-0.4.1.tar.gz
  • Upload date:
  • Size: 786.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for minimint-0.4.1.tar.gz
Algorithm Hash digest
SHA256 25e88aa556b7e8c5154e3237d1d22dad02ff4dd9816573eae21d9de3a3847725
MD5 1c960042d3b1fdcde1114d4f4750ceee
BLAKE2b-256 99900eaf24a94efbdd829ffcb3ab2aceabf1e6e556a5dd12f05fdc4aad3df32b

See more details on using hashes here.

File details

Details for the file minimint-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: minimint-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for minimint-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 42d352e3f82b81be2715ced8baa3a92dadbbe4321753f103eafb97edf85c18de
MD5 9adc2e0a4043eede96ae796f349c33a3
BLAKE2b-256 045e19f942044beb83762534f34e8dd5d4f435f4330c9dc5241e629b9cdb9025

See more details on using hashes here.

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