sasktran2.optical.HITRANAbsorber#
- class sasktran2.optical.HITRANAbsorber(molecule: str, line_fn='voigt', **kwargs)[source]#
Bases:
OpticalPropertyAbsorption cross sections calculated using discrete absorption lines from the HITRAN database and broadened using the internal SASKTRAN2 Voigt line shape function.
Notes:
The HITRAN database is not included with SASKTRAN2 and must be downloaded separately. The hitran-api package is required.
Broadening is calculated “online” rather than using pre-computed tables. This is slower but allows for more flexibility in the calculation.
Derivatives with respect to pressure/temperature are currently not supported
- Parameters:
- __init__(molecule: str, line_fn='voigt', **kwargs)[source]#
Absorption cross sections calculated using discrete absorption lines from the HITRAN database and broadened using the internal SASKTRAN2 Voigt line shape function.
Notes:
The HITRAN database is not included with SASKTRAN2 and must be downloaded separately. The hitran-api package is required.
Broadening is calculated “online” rather than using pre-computed tables. This is slower but allows for more flexibility in the calculation.
Derivatives with respect to pressure/temperature are currently not supported
Methods
__init__(molecule[, line_fn])Absorption cross sections calculated using discrete absorption lines from the HITRAN database and broadened using the internal SASKTRAN2 Voigt line shape function.
atmosphere_quantities(atmo, **kwargs)cross_section_derivatives(wavelengths_nm, ...)cross_sections(wavelengths_nm, altitudes_m, ...)optical_derivatives(atmo, **kwargs)