API¶
Evolutionary tracks¶
- mistery.get_tracks(Ms=[1.0], FeH=0.0, vvcrit=0.0, Av=0.0, photometry=None)¶
Returns a list of evolutionary tracks from the MIST database. The script makes the PHP request, infers the archive’s filename, decompresses it, combines the theoretical and photometry data if necessary and returns a list of NumPy structured arrays. You can get the list of column names with e.g.
tracks = mistery.get_tracks(Ms=[1.0, 2.0], FeH=-0.5) print(tracks[0].dtype.names)
- Parameters
Ms (iterable of floats) – Masses of the desired tracks, in solar units.
FeH (float) – Metallicity [Fe/H] of the tracks.
vvcrit (float, 0.0 or 0.4 only) – ZAMS rotation rate of the tracks, relative to critical.
Av (float) – Extinction coefficient.
photometry (None or str) – Name of the table of photometric bands to include. e.g.
'UBVRIplus'. See Photometry table options for all options.
- Returns
tracks – List containing the evolutionary tracks, in the same order as
Ms. Always includes the 77 columns of theoretical data and also includes photometry ifphotometryis notNone.- Return type
list of NumPy structured arrays
- mistery.get_track(M=1.0, **kwargs)¶
Returns a single evolutionary track from the MIST database with mass
M(in solar units) and other keywords options that are passed toget_tracks()(e.g.FeH). The function really just callsget_tracks()withMs=[M]and returns a single NumPy structured array, rather than a list of them. Seeget_tracks()for more details.
Isochrones¶
- mistery.get_isochrones(ts=[1.0], split=True, FeH=0.0, vvcrit=0.0, Av=0.0, theory='basic', photometry=None)¶
Returns a set of isochrones from the MIST database. The script makes the PHP request, infers the filename, and returns a list of NumPy structured arrays. You can get the list of column names with e.g.
isochrones = mistery.get_isochrones(ts=[0.3, 1.3], FeH=-0.25) print(isochrones[0].dtype.names)
The data is returned in a single
.isofile, which is split up into a list of arrays for each age ifsplit=True. Otherwise, a single array is returned that contains all the isochrones.- Parameters
ts (iterable of floats) – Ages of the desired isochrones, in billions of years (Gyr).
split (bool) – If
True, return a list of arrays corresponding to each age ints, in that order. Otherwise, return the single array that the web form returns.FeH (float) – Metallicity [Fe/H] of the isochrones.
vvcrit (float, 0.0 or 0.4 only) – ZAMS rotation rate of the isochrones, relative to critical.
Av (float) – Extinction coefficient.
theory (None,
'basic'or'full') – How much theoretical data to include.photometry (None or str) – Name of the table of photometric bands to include. e.g.
'UBVRIplus'. See Photometry table options for all options.
- Returns
isochrones – If
split=True, a list containing the isochrones, in the same order asts. Ifsplit=False, a single array containing all the isochrones. Columns in the arrays depends on choice oftheoryandphotometry.- Return type
NumPy structured array or a list of NumPy structured arrays
- mistery.get_isochrone(t=1.0, **kwargs)¶
Returns a single isochrone from the MIST database with age
t(in Gyr) and other keywords options that are passed toget_isochrones()(e.g.FeH). The function really just callsget_isochrones()withts=[t]and returns a single NumPy structured array, rather than a list of them. Seeget_isochrones()for more details.
Photometry table options¶
Scraped from MIST form.
Option |
Passbands |
|---|---|
|
CFHT/MegaCam |
|
DECam |
|
HST ACS/HRC |
|
HST ACS/WFC |
|
HST WFC3/UVIS+IR |
|
HST WFPC2 |
|
GALEX |
|
JWST |
|
LSST |
|
PanSTARRS |
|
SDSS |
|
SkyMapper |
|
Spitzer IRAC |
|
S-PLUS |
|
Subaru Hyper Suprime-Cam |
|
INT / IPHAS |
|
Swift |
|
UBV(RI)c + 2MASS + Kepler + Hipparcos + Gaia (DR2/MAW/EDR3) + TESS |
|
UKIDSS |
|
UVIT |
|
VISTA |
|
Washington + Strömgren + DDO51 |
|
WFIRST (preliminary) |
|
WISE |