Line Sampling¶
Note
If you are simply interested in using cross sections rather than computing them, you can download cross sections ready to use from this and this this Zenodo repository.
Alternatively, Pyrat Bay can also directly use
petitRADTRANS
cross-section files [Molliere2019].
Pyrat Bay enable users to generate their own line-sampled cross-section files out of line-by-line data. In this process, users can make all the customization that they deem necessary (e.g., line-wing cutoffs, sampling rates, wavelength ranges, temperature ranges, pressure ranges).
There are two steps needed to compute cross sections:
Convert line lists from their original format (e.g., HITRAN or ExoMol) into transition-line information files (TLI).
Conver TLI files into cross-section tables (saved as Numpy
.npzfiles).
Available Databases¶
Pyrat Bay can process line-lists from the two main sources of
line-transition data of interest for exoplanet atmospheres: HITRAN [Gordon2022] and
Exomol [Tennyson2016]. Additionally, Pyrat Bay is also compatible with
repack [Cubillos2017b], a package extracting only the strong line
transitions from large HITEMP, ExoMol, or AMES databases (reducing
from billions to millions of lines).
The tables below show the main species of interest to model exoplanet atmospheres from each database (non-exhaustive, there are move species available in each database).
Source |
Species (label) |
References |
|---|---|---|
HITEMP |
H2O (2010) |
|
CO2 (2024) |
||
CO (2019) |
||
CH4 (2020) |
||
N2O (2019) |
||
NO (2019) |
||
HITRAN |
Source |
Species (label) |
References |
|---|---|---|
ExoMol |
H2O (pokazatel) |
|
CO2 (ucl4000) |
||
CH4 (mm) |
||
NH3 (coyute) |
||
TiO (toto) |
||
VO (hyvo) |
||
HCN (harris & larner) |
||
SO2 (exoames) |
||
H2S (ayt2) |
||
C2H2 (acety) |
||
Source |
Species (label) |
References |
|---|---|---|
repack |
C2H2 (exomol, acety) |
|
CH4 (exomol, mm) |
||
CO2 (ames, ai3000k) |
||
H2O (exomol, pokazatel) |
||
H2S (exomol, ayt2) |
||
HCN (exomol, harris larner) |
||
KOH (exomol, oyt4) |
||
NH3 (exomol, coyute) |
||
OCS (exomol, oyt8) |
||
PH3 (exomol, salty) |
||
SiH4 (exomol, oy2t) |
||
SO2 (exomol, exoames) |
||
TiO (exomol, toto) |
||
VO (exomol, hyvo) |
Line-sampling Tutorials¶
The following links show step-by-step tutorials to compute cross-section tables (i.e., line sampling) from each database:
Computing cross sections often require to sample millions-to-billions
of line transitions. Thus, it can both become a computer-intensive
calculation and require/produce large files. Pyrat Bay was
designed with this two-step approach to optimize these calculations.
Below there are a few useful notes to keep in mind when computing cross sections.
Partition functions¶
While line-list databases do not change often with time, thus, TLI files containing the line transitions can typically be computed only once, and being used for many projects. For this reason, it is recommended to compute TLI files with the widest possible available wavelength range.
TLI calculations also requires the input of partition functions, which depend on the temperature. Ideally, you also want to compute TLI files with the widest temperature range. The tutorials above show how to obtain partition functions from each database. In addition, this tutorial below shows more in general how to handle partition functions (e.g., how to compute PFs at high temperatures):
Cross sections¶
In contrast, cross sections might need to be more frequently re-computed for specific project to adjust, for example, to the sampling resolution or grid boundaries (in T, p, or \(\lambda\)), or need to separate between different isotopes of a same species. Use the tutorials above as a template, and modifies them to adjust to the scientific requirements/machine capabilities that each project requires.