Opacities (‘’taurex.opacity’’)

Base

class Opacity(name)[source]

Bases: taurex.log.logger.Logger, taurex.data.citation.Citable

This is the base class for computing opactities

compute_opacity(temperature, pressure, wngrid=None)[source]

Must return in units of cm2

classmethod discover()[source]

Class method, used to discover molecular opacities of this type.

property moleculeName
opacity(temperature, pressure, wngrid=None)[source]
opacityCitation()[source]

Citation for the specific molecular opacity (linelist origin etc)

Returns

List of string with reference information

Return type

list of str

property pressureGrid
classmethod priority()[source]
property resolution
property temperatureGrid
property wavenumberGrid

Base Interpolator

class InterpolatingOpacity(name, interpolation_mode='linear')[source]

Bases: taurex.opacity.opacity.Opacity

Provides interpolation methods

compute_opacity(temperature, pressure, wngrid=None)[source]

Must return in units of cm2

find_closest_index(T, P)[source]
interp_bilinear_grid(T, P, t_idx_min, t_idx_max, p_idx_min, p_idx_max, wngrid_filter=None)[source]
interp_pressure_only(P, p_idx_min, p_idx_max, T, filt)[source]
interp_temp_only(T, t_idx_min, t_idx_max, P, filt)[source]
property logPressure
property pressureBounds
property pressureMax
property pressureMin
set_interpolation_mode(interp_mode)[source]
property temperatureBounds
property temperatureMax
property temperatureMin
property xsecGrid

Pickle Format (.pickle)

class PickleOpacity(filename, interpolation_mode='linear')[source]

Bases: taurex.opacity.interpolateopacity.InterpolatingOpacity

This is the base class for computing opactities

clean_molecule_name()[source]
classmethod discover()[source]

Class method, used to discover molecular opacities of this type.

property moleculeName
property pressureGrid
property resolution
property temperatureGrid
property wavenumberGrid
property xsecGrid

HDF5 Format (.hdf5)

class HDF5Opacity(filename, interpolation_mode='exp', in_memory=False)[source]

Bases: taurex.opacity.interpolateopacity.InterpolatingOpacity

This is the base class for computing opactities

BIBTEX_ENTRIES = ['\n @ARTICLE{2021A&A...646A..21C,\n author = {{Chubb}, Katy L. and {Rocchetto}, Marco and {Yurchenko}, Sergei N. and {Min}, Michiel and {Waldmann}, Ingo and {Barstow}, Joanna K. and {Molli{\\`e}re}, Paul and {Al-Refaie}, Ahmed F. and {Phillips}, Mark W. and {Tennyson}, Jonathan},\n title = "{The ExoMolOP database: Cross sections and k-tables for molecules of interest in high-temperature exoplanet atmospheres}",\n journal = {Astronomy and Astrophysics},\n keywords = {molecular data, opacity, radiative transfer, planets and satellites: atmospheres, planets and satellites: gaseous planets, infrared: planetary systems, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics, Astrophysics - Solar and Stellar Astrophysics},\n year = 2021,\n month = feb,\n volume = {646},\n eid = {A21},\n pages = {A21},\n doi = {10.1051/0004-6361/202038350},\n archivePrefix = {arXiv},\n eprint = {2009.00687},\n primaryClass = {astro-ph.EP},\n adsurl = {https://ui.adsabs.harvard.edu/abs/2021A&A...646A..21C},\n adsnote = {Provided by the SAO/NASA Astrophysics Data System}\n }\n\n ']
citations()[source]
classmethod discover()[source]

Class method, used to discover molecular opacities of this type.

property moleculeName
opacityCitation()[source]

Citation for the specific molecular opacity (linelist origin etc)

Returns

List of string with reference information

Return type

list of str

property pressureGrid
classmethod priority()[source]
property resolution
property temperatureGrid
property wavenumberGrid
property xsecGrid

ExoTransmit Format (.dat)

class ExoTransmitOpacity(filename, interpolation_mode='linear')[source]

Bases: taurex.opacity.interpolateopacity.InterpolatingOpacity

BIBTEX_ENTRIES = ['\n @ARTICLE{2017PASP..129d4402K,\n author = {{Kempton}, Eliza M. -R. and {Lupu}, Roxana and {Owusu-Asare}, Albert and {Slough}, Patrick and {Cale}, Bryson},\n title = "{Exo-Transmit: An Open-Source Code for Calculating Transmission Spectra for Exoplanet Atmospheres of Varied Composition}",\n journal = {Publications of the Astronomical Society of the Pacific},\n keywords = {Astrophysics - Earth and Planetary Astrophysics},\n year = 2017,\n month = apr,\n volume = {129},\n number = {974},\n pages = {044402},\n doi = {10.1088/1538-3873/aa61ef},\n archivePrefix = {arXiv},\n eprint = {1611.03871},\n primaryClass = {astro-ph.EP},\n adsurl = {https://ui.adsabs.harvard.edu/abs/2017PASP..129d4402K},\n adsnote = {Provided by the SAO/NASA Astrophysics Data System}\n }\n\n ']
classmethod discover()[source]

Class method, used to discover molecular opacities of this type.

property moleculeName
property pressureGrid
property resolution
property temperatureGrid
property wavenumberGrid
property xsecGrid