Package: taurex-petitrad
TauREx-petitRADTRANS pluginCurrent version: 0.3.0-alphaTauREx-petitRADTRANS is a plugin that allows for the use ofpetitRADTRANSopacities
and forward models inTauRExInstallingInstalling the plugin from PyPI requires only a single command:pipinstalltaurex_petitradYou can also install from source by doing:gitclonehttps://github.com/ucl-exoplanets/taurex-petitradcdtaurex-petitrad
pipinstall.Using opacitiesOnce installed you have access to both petitRADTRANS line-by-line cross-sections and k-tables. You can
either set thexsec_pathorktable_pathto theinput_datafolder in petitRADTRANS:[Global]
xsec_path = /path/to/petitRADTRANS/petitRADTRANS/input_data/
ktable_path = /path/to/petitRADTRANS/petitRADTRANS/input_data/Or by settingpetitrad_pathto the root petitRADTRANS folder[Global]
petitrad_path = /path/to/petitRADTRANS/petitRADTRANS/You can include both if you desire,petitrad_pathwill be prioritized.Using forward modelsTo use the forward models, thepetitrad_pathmust be set to the root petitRADTRANS folder.
TauREx 3 will automatically include the package into Python so there is no need to modify system paths.Once done, you will have access to three new forward models:TransmissionTransmission spectra can be accessed through themodel_typekeyword by setting it
as eithertransmission-petitradortransit-petitrad[Model]
model_type = transmission-petitrad
continuum_opacities = H2-H2, H2-He
wlen_bords_micron = 0.3,15.0The available arguments are:ArgumentDescriptionTypeDefaultRequiredrayleigh_speciesRayleigh species to includelist of moleculesNonecontinuum_speciesCIA specieslist of molecule pairsNonewlen_bords_micronWavelength range in umarray0.3, 15PcloudGrey cloud deck pressure in PafloatNonegamma_scatPowerlaw indexintegerNonekappa_zeroPowerlaw cloud opacity term in cm2/gfloatNonehaze_factorRayleigh opacity scale termfloatNoneFor the more through explaination of cloud terms
please refer tothisdocumentation.The available retrieval parameters are:|Fitting Parameter| Description|
Pcloud | Grey cloud deck pressure in Pa |
gamma_scat | Powerlaw index |
kappa_zero | Powerlaw cloud opacity term in cm2/g |
haze_factor | Rayleigh opacity scale term |Eclipse and Direct imagingThe eclipse spectra can be generated using theemission-petitradoreclipse-petitradkeyword[Model]
model_type = eclipse-petitrad
continuum_opacities = H2-H2, H2-He
wlen_bords_micron = 0.3,15.0And direct imaging as through bydirectimage-petitradordirect-petitrad:[Model]
model_type = directimage-petitrad
continuum_opacities = H2-H2, H2-He
wlen_bords_micron = 0.3,15.0Both have the same arguments available:ArgumentDescriptionTypeDefaultRequiredrayleigh_speciesRayleigh species to includelist of moleculesNonecontinuum_speciesCIA specieslist of molecule pairsNonewlen_bords_micronWavelength range in umarray0.3, 15There are no extra retrieval parameters provided by these forward modelsLimitationsCurrently no condensate opacities are supported as the current release of
TauREx does not have a comprehensive enough scattering framework to prevent incompatibility with other
models. Future releases will allow for their inclusion.The majority of TauREx and its plugins can be used with the petitRADTRANS models such as chemistries,
temeperature profiles, samplers, non-uniform priors etc.
The only exception are thecontributions. This is because the integral is being performed
by petitRADTRANS itself, therefore some plugins (such as TauREx-CUDA) cannot be used. Attempting to add
any TauREx contribution object such as:[Model]
model_type = transmission-petitrad
continuum_opacities = H2-H2, H2-He
wlen_bords_micron = 0.3,15.0
    [[Absorption]]

    [[HydrogenIon]]

    [[Rayleigh]]Will result in the error:ValueError: TauREx 3 contributions are not supported with the petitRADTRANS forward models