MIST interpolation
Project description
Minimint (MIni Mist INTerpolation)
Software to do simple interpolation of MIST isochrones
Author: Sergey Koposov (2020) skoposov AT ed DOT ac DOT uk
Instructions
- Install minimint (clone the repo and do pip install)
git clone https://github.com/segasai/minimint.git
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-30Gb).
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.
Examples
See the notebook in the examples/ folder
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
File details
Details for the file minimint-0.1.0.tar.gz
.
File metadata
- Download URL: minimint-0.1.0.tar.gz
- Upload date:
- Size: 567.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09907a5bb4ac8d1d9b7428ba7e4a37328ed9c3b1e1810dae9642275b49503084 |
|
MD5 | 81cde3be6a4b7882607ca5682e701e15 |
|
BLAKE2b-256 | 999a7163350ebc66b306dedec0957da3655336962b4533c415e45731c5ee27a3 |