pyLBL.c_lib package¶
Submodules¶
pyLBL.c_lib.gas_optics module¶
Manages API or the molecular lines calcultion.
- class pyLBL.c_lib.gas_optics.Gas(lines_database, formula)[source]¶
Bases:
objectAPI for gas optics calculation.
- database¶
String path to the spectral sqlite3 database.
- formula¶
String chemical formula.
- absorption_coefficient(temperature, pressure, volume_mixing_ratio, grid, remove_pedestal=False, cut_off=25)[source]¶
Calculates absorption coefficient.
- Parameters:
temperature – Temperature [K].
pressure – Pressure [Pa].
volume_mixing_ratio – Volume mixing ratio [mol mol-1].
grid – Numpy array defining the spectral grid [cm-1].
remove_pedestal – Flag specifying if a pedestal should be subtracted.
cut_off – Wavenumber cut-off distance [cm-1] from line centers.
- Returns:
Numpy array of absorption coefficients [m2].
