species provides a coherent framework for spectral and photometric analysis of directly imaged exoplanets and brown dwarfs. This page contains a overview of the various data that are supported and some of the tools and features that are available.
The toolkit benefits from publicly available data resources such as atmospheric model spectra, photometric and spectral libraries, evolutionary tracks, and photometry of directly imaged companions. The relevant data are automatically downloaded and added to the HDF5 database, which acts as the central data storage for a workflow. All data are stored in a fixed format such that the analysis and plotting tools can easily access and process the data.
The following data and models are currently supported:
Atmospheric model spectra
- AMES-Cond
- AMES-Dusty
- ATMO (CEQ, NEQ weak, NEQ strong)
- BT-Cond
- BT-Dusty
- BT-NextGen
- BT-Settl
- BT-Settl-CIFIST
- DRIFT-PHOENIX
- Exo-REM
- Morley et al. (2012) T/Y dwarf spectra
- petitCODE
- petitRADTRANS
- Sonora Bobcat
- Sonora Cholla
- Saumon & Marley (2008)
Tip
It is also possible to add your own custom grid of model spectra with :func:`~species.data.database.Database.add_custom_model()`. Have a look at the documentation for details on the required file format.
Tip
The :func:`~species.data.database.Database.available_models()` method of the :class:`~species.data.database.Database` class can be used for getting a complete overview of all model grids, including details on the input parameters, wavelength range, T_\mathrm{eff} range, and spectral resolution:
import species
species.SpeciesInit()
database = species.Database()
database.available_models()
Spectral libraries
- IRTF Spectral Library
- SpeX Prism Spectral Libraries
- SDSS spectra by Kesseli et al. (2017)
- NIR spectra of young M/L dwarfs by Allers & Liu (2013)
- NIR spectra of young M/L dwarfs by Bonnefoy et al. (2014)
- Spectra of directly imaged planets and brown dwarfs
Photometric libraries
- Database of Ultracool Parallaxes
- Photometry from S. Leggett
- Magnitudes, stellar properties, and other parameters of directly imaged planets and brown dwarfs
Evolutionary tracks
- All isochrones from the Phoenix grids
- Evolutionary models from Marleau & Cumming (2014)
- Evolutionary data from Sonora Bobcat
- Isochrones from Baraffe et al. (2015)
- Isochrones from Saumon & Marley (2008)
- ATMO isochrones (CEQ, NEQ weak, NEQ strong)
Calibration
- All filters from the Filter Profile Service
- Flux-calibrated spectrum of Vega
Dust extinction
- ISM relation from Cardelli et al. (1989)
- Extinction cross sections computed with PyMieScatt
- Optical constants compiled by Mollière et al. (2019)
Please give credit to the relevant references when using any of the external data in a publication. More information is available on the respective websites. Support for other datasets can be requested by creating an issue on the Github page.
After adding the relevant data to the database, the user can take advantage of the suite of tools that have been implemented for spectral and photometric analysis. Here is an incomplete list of available features and tools:
- Converting between fluxes and magnitudes (see :class:`~species.analysis.photometry.SyntheticPhotometry`).
- Calculating synthetic photometry spectra (see :class:`~species.analysis.photometry.SyntheticPhotometry`).
- Interpolating and plotting model spectra (see :class:`~species.read.read_model.ReadModel` and :func:`~species.plot.plot_spectrum.plot_spectrum`).
- Atmospheric retrievals with model grids and Bayesian inference (see :class:`~species.analysis.fit_model.FitModel` and :mod:`~species.plot.plot_mcmc`).
- Wrapper for generating spectra with petitRADTRANS using various parameterizations for P-T structures, abundances, and clouds (see :class:`~species.read.read_radtrans.ReadRadtrans`).
- Comparing a spectrum with a full grid of model spectra (see :meth:`~species.analysis.compare_spectra.CompareSpectra.compare_model`).
- Free atmospheric retrievals with a frontend for petitRADTRANS (see :class:`~species.analysis.retrieval.AtmosphericRetrieval`).
- Retrieval of age and bulk parameters (see :class:`~species.analysis.evolution.PlanetEvolution`).
- Creating color-magnitude diagrams (see :class:`~species.read.read_color.ReadColorMagnitude` and :class:`~species.plot.plot_color.plot_color_magnitude`).
- Creating color-color diagrams (see :class:`~species.read.read_color.ReadColorColor` and :class:`~species.plot.plot_color.plot_color_color`).
- Computing synthetic fluxes from isochrones and model spectra (see :class:`~species.read.read_isochrone.ReadIsochrone`)
- Flux calibration of photometric and spectroscopic data (see :class:`~species.read.read_calibration.ReadCalibration`, :class:`~species.analysis.fit_model.FitModel`, and :class:`~species.analysis.fit_spectrum.FitSpectrum`).
- Empirical comparison of spectra to infer the spectral type (see :meth:`~species.analysis.compare_spectra.CompareSpectra.spectral_type`).
- Analyzing emission lines from accreting planets (see :class:`~species.analysis.emission_line.EmissionLine`).