Absorption Module Methods & Types
Downloading HITRAN Data
Use artifact("CO2"), artifact("H2O"), and related artifact names to resolve packaged HITRAN .par files. See HITRAN Data Management and the Library for the canonical artifact helpers.
Reading HITRAN Files
Use read_hitran to select molecule/isotopologue records and spectral windows from HITRAN .par files.
Defining Models with Cross-Section Parameters
Use make_hitran_model for line-by-line cross sections and make_interpolation_model for lookup-table interpolation workflows.
Computing Absorption Cross-Sections
Use absorption_cross_section(model, ν, pressure, temperature) to evaluate the selected line-shape or interpolation model on a wavenumber grid.
Types
Hitran Data Structure Type
vSmartMOM.Absorption.HitranTable Type
struct HitranTable{FT}A struct, which provides all HITRAN line parameters needed to compute absorption cross sections
See https://hitran.org/docs/definitions-and-units/ for details
Fields
mol: The molecular species identification (ID) numberiso: The isotopologue ID numberνᵢ: The wavenumber of the spectral line transition (cm-1) in vacuumSᵢ: The spectral line intensity (cm−1/(molecule·cm−2)) at Tref=296KAᵢ: The Einstein-A coefficient (s-1) of a transitionγ_air: The air-broadened half width at half maximum (HWHM) (cm−1/atm) at Tref=296K and reference pressure pref=1atmγ_self: The self-broadened half width at half maximum (HWHM) (cm−1/atm) at Tref=296K and reference pressure pref=1atmE″: The lower-state energy of the transition (cm-1)n_air: The coefficient of the temperature dependence of the air-broadened half widthδ_air: The pressure shift (cm−1/atm) at Tref=296K and pref=1atm of the line position with respect to the vacuum transition wavenumber νijglobal_upper_quanta: The electronic and vibrational quantum numbers and labels for the upper state of a transitionglobal_lower_quanta: The electronic and vibrational quantum numbers and labels for the lower state of a transitionlocal_upper_quanta: Rotational, hyperfine and other quantum numbers and labels for the upper state of a transitionlocal_lower_quanta: Rotational, hyperfine and other quantum numbers and labels for the lower state of a transitionierr: Ordered list of indices corresponding to uncertainty estimates of transition parametersiref: Ordered list of reference identifiers for transition parametersline_mixing_flag: A flag indicating the presence of additional data and code relating to line-mixingg′: The upper state degeneracyg″: The lower state degeneracy
Broadening Function Types
The primary broadening models are Doppler, Lorentz, and Voigt. The canonical docstrings are grouped in the Library.
Complex Error Function Types
vSmartMOM.Absorption.HumlicekErrorFunction Type
Humlicek only formulation for Complex Error Function
sourcevSmartMOM.Absorption.HumlicekWeidemann32VoigtErrorFunction Type
Mix of Humlicek and Weidemann (N=32) Error Function, suggested for Voigt function
sourcevSmartMOM.Absorption.HumlicekWeidemann32SDErrorFunction Type
Mix of Humlicek and Weidemann (N=32) Error Function, suggested for Speed Dependent Voigt function
sourcevSmartMOM.Absorption.ErfcHumliErrorFunctionVoigt Type
Mix of Humplicek and erfc Special Function for Voigt
sourcevSmartMOM.Absorption.ErfcHumliErrorFunctionSD Type
Mix of Humplicek and erfc Special Function for Voigt
sourceCross-Section Model Types
vSmartMOM.Absorption.HitranModel Type
struct HitranModel{FT}A struct which provides all model parameters needed for cross-section calculations using HITRAN data
Fields
hitran: Struct with hitran databroadening: Broadening function (Doppler/Lorentz/Voigt)wing_cutoff: Wing cutoff [cm-1]vmr: VMR of gas itself [0-1]CEF: Complex Error Function to Usearchitecture: ComputerArchitectureon whichModelis run
vSmartMOM.Absorption.InterpolationModel Type
struct InterpolationModel{FT}A struct which provides all model parameters needed for cross-section calculations using an Interpolator
Fields
itp: The interpolatormol: The molecular species identification (ID) numberiso: The isotopologue ID numberν_grid: Wavelength gridsp_grid: Wavelength gridst_grid: Wavelength grids