species.data.isochrone_data package#
Submodules#
species.data.isochrone_data.add_isochrone module#
Module for isochrone data from evolutionary models.
- species.data.isochrone_data.add_isochrone.add_isochrone_grid(data_folder: str, hdf5_file: File, model_name: str, filename: str | None = None, tag: str | None = None) None [source]#
Function for adding an isochrone grid to the database.
- Parameters:
input_path (str) – Folder where the data is located.
database (h5py._hl.files.File) – Database.
model_name (str) – Evolutionary model (‘ames’, ‘atmo’, ‘baraffe2015’, ‘bt-settl’, ‘linder2019’, ‘nextgen’, ‘saumon2008’, ‘sonora’, or ‘manual’). Isochrones will be automatically downloaded. Alternatively, isochrone data can be downloaded from https://phoenix.ens-lyon.fr/Grids/ or https://perso.ens-lyon.fr/isabelle.baraffe/, and can be manually added by setting the
filename
andtag
arguments, and settingmodel='manual'
.filename (str, None) – Filename with the isochrone data. Setting the argument is only required when
model='manual'
. Otherwise, the argument can be set toNone
.tag (str, None) – Database tag name where the isochrone that will be stored. Setting the argument is only required when
model='manual'
. Otherwise, the argument can be set toNone
.
- Returns:
NoneType
- Return type:
None
species.data.isochrone_data.iso_ames module#
- species.data.isochrone_data.iso_ames.add_ames(database, input_path)[source]#
Function for adding the AMES-Cond and AMES-Dusty isochrone data to the database.
- Parameters:
database (h5py._hl.files.File) – Database.
input_path (str) – Folder where the data is located.
- Returns:
None
- Return type:
NoneType
species.data.isochrone_data.iso_atmo module#
- species.data.isochrone_data.iso_atmo.add_atmo(database, input_path)[source]#
Function for adding the AMES-Cond and AMES-Dusty isochrone data to the database.
- Parameters:
database (h5py._hl.files.File) – Database.
input_path (str) – Folder where the data is located.
- Returns:
None
- Return type:
NoneType
species.data.isochrone_data.iso_baraffe2015 module#
- species.data.isochrone_data.iso_baraffe2015.add_baraffe2015(database, input_path)[source]#
Function for adding the Baraffe et al. (2015) isochrone data to the database.
- Parameters:
database (h5py._hl.files.File) – Database.
input_path (str) – Folder where the data is located.
- Returns:
None
- Return type:
NoneType
species.data.isochrone_data.iso_btsettl module#
species.data.isochrone_data.iso_linder2019 module#
- species.data.isochrone_data.iso_linder2019.add_linder2019(database, input_path)[source]#
Function for adding the Linder et al. (2019) isochrones data to the database.
- Parameters:
database (h5py._hl.files.File) – Database.
input_path (str) – Folder where the data is located.
- Returns:
None
- Return type:
NoneType
species.data.isochrone_data.iso_manual module#
- species.data.isochrone_data.iso_manual.add_manual(database, tag, file_name, model_name='manual')[source]#
Function for adding any of the isochrones from https://phoenix.ens-lyon.fr/Grids/ or https://perso.ens-lyon.fr/isabelle.baraffe/ to the database.
- Parameters:
database (h5py._hl.files.File) – Database.
tag (str) – Tag name in the database.
file_name (str) – Filename with the isochrones data.
model_name (str) – Model name that is stored as attribute of the isochrone dataset in the HDF5 database.
- Returns:
None
- Return type:
NoneType
species.data.isochrone_data.iso_marleau module#
- species.data.isochrone_data.iso_marleau.add_marleau(database, tag, file_name)[source]#
Function for adding the Marleau et al. isochrone data to the database. The isochrone data can be requested from Gabriel Marleau.
https://ui.adsabs.harvard.edu/abs/2019A%26A…624A..20M/abstract
- Parameters:
database (h5py._hl.files.File) – Database.
tag (str) – Tag name in the database.
file_name (str) – Filename with the isochrones data.
- Returns:
None
- Return type:
NoneType
species.data.isochrone_data.iso_nextgen module#
species.data.isochrone_data.iso_saumon2008 module#
- species.data.isochrone_data.iso_saumon2008.add_saumon2008(database, input_path)[source]#
Function for adding the Saumon & Marley (2008) isochrone data to the database.
- Parameters:
database (h5py._hl.files.File) – Database.
input_path (str) – Folder where the data is located.
- Returns:
None
- Return type:
NoneType
species.data.isochrone_data.iso_sonora module#
- species.data.isochrone_data.iso_sonora.add_sonora(database, input_path)[source]#
Function for adding the Sonora Bobcat isochrone data to the database.
- Parameters:
database (h5py._hl.files.File) – Database.
input_path (str) – Folder where the data is located.
- Returns:
None
- Return type:
NoneType