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.2.tar.gz
.
File metadata
- Download URL: minimint-0.2.2.tar.gz
- Upload date:
- Size: 725.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d20b5c4f38d99928d985de12329680966aa42236f342697d20021e5d7d40e4 |
|
MD5 | e2ae81919c0a484d4e497f81bac6ef1d |
|
BLAKE2b-256 | 332645b9a76e91564501965291a263829ab012b2d3a7415ed9675253eedd81d5 |
Provenance
File details
Details for the file minimint-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: minimint-0.2.2-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d421438c774e2dbc89e3723d77614673a2ba6cf53d6c3b06de5a41b78876b224 |
|
MD5 | a2c0369cb3919a9f63a4b53fbb54e7c4 |
|
BLAKE2b-256 | 6e73bd18634ab520ee3064d42fa199de68bffecaa56d645928921d98efb46729 |