AbsorptionLines
- class pyarts.arts.AbsorptionLines(*args, **kwargs)
Contains line-by-line absorption information for a number of related absorption lines
Overview
Method
Computes the line shape paramters for the given atmospheric state
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Attribute
float
Reference temperature for all parameters of the linesAttribute
bool
Does the line broadening have bath broadening?Attribute
ArrayOfSpecies
A list of broadening specieAttribute
AbsorptionCutoffTypeOld
Cutoff typeAttribute
float
Cutoff frequencyAttribute
float
Linemixing limitAttribute
AbsorptionSingleLine
A list of individual linesAttribute
LineShapeTypeOld
Line shape typeAttribute
String
Catalog meta data stringAttribute
AbsorptionMirroringype
Mirroring typeAttribute
AbsorptionNormalizationTypeOld
Normalization typeAttribute
bool
If False, the catalog cannot be used for any calculationsAttribute
AbsorptionPopulationTypeOld
Line population distributionAttribute
QuantumIdentifier
Catalog IDAttribute
bool
Does the line broadening have self broadening?Operator
Return self==value.
Operator
Return self>=value.
Operator
Return self>value.
Operator
Return hash(self).
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.AbsorptionLines) None
- __init__(self, selfbroadening: bool = False, bathbroadening: bool = False, cutoff: pyarts.arts.AbsorptionCutoffTypeOld = 'None', mirroring: pyarts.arts.AbsorptionMirroringTypeOld = 'None', population: pyarts.arts.AbsorptionPopulationTypeOld = 'LTE', normalization: pyarts.arts.AbsorptionNormalizationTypeOld = 'None', lineshapetype: pyarts.arts.LineShapeTypeOld = 'DP', T0: float = 296, cutofffreq: float = -1, linemixinglimit: float = -1, quantumidentity: pyarts.arts.QuantumIdentifier = 'H2O-161 ', broadeningspecies: pyarts.arts.ArrayOfSpeciesEnum = pyarts.arts.ArrayOfSpeciesEnum([]), lines: pyarts.arts.ArrayOfAbsorptionSingleLine = pyarts.arts.ArrayOfAbsorptionSingleLine([])) None
Overloaded function.
__init__(self) -> None
__init__(self, arg: pyarts.arts.AbsorptionLines) -> None
__init__(self, selfbroadening: bool = False, bathbroadening: bool = False, cutoff: pyarts.arts.AbsorptionCutoffTypeOld = "None", mirroring: pyarts.arts.AbsorptionMirroringTypeOld = "None", population: pyarts.arts.AbsorptionPopulationTypeOld = "LTE", normalization: pyarts.arts.AbsorptionNormalizationTypeOld = "None", lineshapetype: pyarts.arts.LineShapeTypeOld = "DP", T0: float = 296, cutofffreq: float = -1, linemixinglimit: float = -1, quantumidentity: pyarts.arts.QuantumIdentifier = "H2O-161 ", broadeningspecies: pyarts.arts.ArrayOfSpeciesEnum = pyarts.arts.ArrayOfSpeciesEnum([]), lines: pyarts.arts.ArrayOfAbsorptionSingleLine = pyarts.arts.ArrayOfAbsorptionSingleLine([])) -> None
From values
Methods
- LineShapeOutput(self, line: int, T: float, P: float, VMR: pyarts.arts.Vector) pyarts.arts.LineShapeOutput
Computes the line shape paramters for the given atmospheric state
Note that the normalization assumes sum(VMR) is 1 for good results but does not enforce it
- Parameters:
- Returns:
X – The computed line shape parameters
- Return type:
- readxml(self, file: str) None
Read variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) None
Saves variable to file
- Parameters:
- On Error:
Throws RuntimeError for any failure to save
Static Methods
- fromxml(file: str) pyarts.arts.AbsorptionLines
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Attributes
- broadeningspecies
ArrayOfSpecies
A list of broadening specie
- cutoff
AbsorptionCutoffTypeOld
Cutoff type
- lines
AbsorptionSingleLine
A list of individual lines
- lineshapetype
LineShapeTypeOld
Line shape type
- mirroring
AbsorptionMirroringype
Mirroring type
- normalization
AbsorptionNormalizationTypeOld
Normalization type
- population
AbsorptionPopulationTypeOld
Line population distribution
- quantumidentity
QuantumIdentifier
Catalog ID
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.