-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels