MIST Isochrone interpolation
Project description
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
Built Distribution
File details
Details for the file minimint-0.2.3.tar.gz
.
File metadata
- Download URL: minimint-0.2.3.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9113b3ad57dcab1cb5c16b09077a52de4e9a72d85846e2a0f586a8d20987e8a0 |
|
MD5 | 252aaf06b57b7347ddfcabf7a6731142 |
|
BLAKE2b-256 | db546e829d5790a19c8ae7283b225f2e9fe3f4e559241a7b83b0a1f56a74639d |
Provenance
File details
Details for the file minimint-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: minimint-0.2.3-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d17bda0a9318f26324ca5f72f61c5ea0785a540a54ca11c8e162ca1d0bce4d8 |
|
MD5 | e4198d13a0575c96e5b821a914da8451 |
|
BLAKE2b-256 | a2f5d0ce2d9e8a0186a938d39b671629241ef5fb7276bfbcb7f7d938ae6fd3ca |