Skip to main content

Build Status Coverage StatusDOI

Minimint (MIni Mist INTerpolation)

This is a python package to perform interpolation of MIST isochrones. It is simple, in the sense that it only does one thing - predict the stellar parameters ($\log g$, $T_{eff}$, $\log L$) and photometry in a given filter for a given mass, age and metallicity. It is also vectorized, so computing photometry for large number of stars, should not be slow.

Author: Sergey Koposov (2020-2026) 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 all the MIST files, 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 The downloading will take some time (20-30 min) and will use significant amount of disk 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. mass, logage and feh could arrays. In this case the result will be dictionary of arrays.

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 an 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 link https://doi.org/10.5281/zenodo.4002971 Also make sure that you acknowledge MIST isochrones https://waps.cfa.harvard.edu/MIST/

Metadata

Release files for minimint 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minimint 0.5.1
File Size Uploaded
minimint-0.5.1.tar.gz 788.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for minimint 0.5.1
File Interpreter ABI Platform
minimint-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 802.3 kB

Release files / minimint-0.5.1.tar.gz

Download URL minimint-0.5.1.tar.gz
Size 788.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bdc500e760d4926c9f047391a8ab502830f679ba4a39dcff57ac1149c360853b
BLAKE2b-256 checksum
How to use checksums
68a87eaeac1f962f3ef0fdbe9021839bd39d62aa39c5f7e2bab1cb2822888b4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / minimint-0.5.1-py3-none-any.whl

Download URL minimint-0.5.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
62ee2d042f60d09c23b407c346eab97dce5df492ad08ed2a9efd116ab160c1af
BLAKE2b-256 checksum
How to use checksums
a4fcb7a0f9147c7397e1c7d38d7345af6b4500950c66b9dff57399b42f1b8caf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page