Currently, there is an optional parameter for HITRAN_units in absorptionCoefficient_Voigt (and the other lineshape versions of this function), however it is never used within the function. I'm assuming that this should be handled using the volumeConcentration function from hapi to convert using molecules/cm^3. @RomanKochanov, can you comment on this?
Additionally, OmegaGrid is specified as an optional parameter, but ABSCOEF_FAST only take in WavenumberGrid. It seems like this is attempted to be handled with:
# are deprecated and given for backward compatibility with the older versions.
if WavenumberRange is not None:
OmegaRange = WavenumberRange
if WavenumberStep is not None:
OmegaStep = WavenumberStep
if WavenumberWing is not None:
OmegaWing = WavenumberWing
if WavenumberWingHW is not None:
OmegaWingHW = WavenumberWingHW
if WavenumberGrid is not None:
OmegaGrid = WavenumberGrid
This is a backward implementation. If the user provides OmegaGrid, but not WavenumberGrid, the ABSCOEF_FAST function will recieve None for the wavelength axis.
Currently, there is an optional parameter for HITRAN_units in absorptionCoefficient_Voigt (and the other lineshape versions of this function), however it is never used within the function. I'm assuming that this should be handled using the
volumeConcentrationfunction from hapi to convert using molecules/cm^3. @RomanKochanov, can you comment on this?Additionally, OmegaGrid is specified as an optional parameter, but
ABSCOEF_FASTonly take in WavenumberGrid. It seems like this is attempted to be handled with:This is a backward implementation. If the user provides OmegaGrid, but not WavenumberGrid, the
ABSCOEF_FASTfunction will recieveNonefor the wavelength axis.