ARTS
2.4.0(git:4fb77825)
|
#include <absorptionlines.h>
Public Member Functions | |
Lines (bool selfbroadening=false, bool bathbroadening=false, CutoffType cutoff=CutoffType::None, MirroringType mirroring=MirroringType::None, PopulationType population=PopulationType::ByLTE, NormalizationType normalization=NormalizationType::None, LineShape::Type lineshapetype=LineShape::Type::DP, Numeric T0=296, Numeric cutofffreq=-1, Numeric linemixinglimit=-1, const QuantumIdentifier &quantumidentity=QuantumIdentifier(), const std::vector< QuantumNumberType > &localquanta={}, const ArrayOfSpeciesTag &broadeningspecies={}, const std::vector< SingleLine > &lines={}) | |
Default initialization. More... | |
Lines (bool selfbroadening, bool bathbroadening, size_t nlines, CutoffType cutoff, MirroringType mirroring, PopulationType population, NormalizationType normalization, LineShape::Type lineshapetype, Numeric T0, Numeric cutofffreq, Numeric linemixinglimit, const QuantumIdentifier &quantumidentity, const std::vector< QuantumNumberType > &localquanta, const ArrayOfSpeciesTag &broadeningspecies, const LineShape::Model &metamodel) | |
XML-tag initialization. More... | |
void | AppendSingleLine (SingleLine &&sl) |
Appends a single line to the absorption lines. More... | |
void | AppendSingleLine (const SingleLine &sl) |
Appends a single line to the absorption lines. More... | |
bool | MatchWithExternal (const SingleLineExternal &sle, const QuantumIdentifier &quantumidentity) const noexcept |
Checks if an external line matches this structure. More... | |
bool | Match (const Lines &l) const noexcept |
Checks if another line list matches this structure. More... | |
void | sort_by_frequency () |
Sort inner line list by frequency. More... | |
void | sort_by_einstein () |
Sort inner line list by Einstein coefficient. More... | |
void | truncate_global_quantum_numbers () |
Removes all global quantum numbers. More... | |
String | SpeciesName () const noexcept |
Species Name. More... | |
String | UpperQuantumNumbers () const noexcept |
Upper quantum numbers string. More... | |
String | LowerQuantumNumbers () const noexcept |
Lower quantum numbers string. More... | |
String | LineShapeMetaData () const noexcept |
Meta data for the line shape if it exists. More... | |
Index | Species () const noexcept |
Species Index. More... | |
Index | Isotopologue () const noexcept |
Isotopologue Index. More... | |
Index | NumLines () const noexcept |
Number of lines. More... | |
const std::vector< SingleLine > & | AllLines () const noexcept |
Lines. More... | |
std::vector< SingleLine > & | AllLines () noexcept |
Lines. More... | |
Index | NumBroadeners () const noexcept |
Number of broadening species. More... | |
Index | NumLocalQuanta () const noexcept |
Number of local quantum numbers. More... | |
void | RemoveUnusedLocalQuantums () |
Remove quantum numbers that are not used by even a single line. More... | |
void | RemoveLocalQuantum (size_t) |
Remove quantum numbers at the given position from all lines. More... | |
Rational | LowerQuantumNumber (size_t k, QuantumNumberType qnt) const noexcept |
Quantum number lower level. More... | |
Rational | UpperQuantumNumber (size_t k, QuantumNumberType qnt) const noexcept |
Quantum number upper level. More... | |
Rational & | LowerQuantumNumber (size_t k, QuantumNumberType qnt) noexcept |
Quantum number lower level. More... | |
Rational & | UpperQuantumNumber (size_t k, QuantumNumberType qnt) noexcept |
Quantum number upper level. More... | |
Index | ZeemanCount (size_t k, Zeeman::Polarization type) const noexcept |
Returns the number of Zeeman split lines. More... | |
Numeric | ZeemanStrength (size_t k, Zeeman::Polarization type, Index i) const noexcept |
Returns the strength of a Zeeman split line. More... | |
Numeric | ZeemanSplitting (size_t k, Zeeman::Polarization type, Index i) const noexcept |
Returns the splitting of a Zeeman split line. More... | |
void | SetAutomaticZeeman () noexcept |
Set Zeeman effect for all lines that have the correct quantum numbers. More... | |
Numeric | F0 (size_t k) const noexcept |
Central frequency. More... | |
Numeric & | F0 (size_t k) noexcept |
Central frequency. More... | |
Numeric | F_mean () const noexcept |
Mean frequency by weight of line strengt. More... | |
Numeric | F_mean (const ConstVectorView wgts) const noexcept |
Mean frequency by weight of line strengt. More... | |
Numeric | E0 (size_t k) const noexcept |
Lower level energy. More... | |
Numeric & | E0 (size_t k) noexcept |
Lower level energy. More... | |
Numeric | I0 (size_t k) const noexcept |
Reference line strength. More... | |
Numeric & | I0 (size_t k) noexcept |
Reference line strength. More... | |
Numeric | A (size_t k) const noexcept |
Einstein spontaneous emission. More... | |
Numeric & | A (size_t k) noexcept |
Einstein spontaneous emission. More... | |
Numeric | g_low (size_t k) const noexcept |
Lower level statistical weight. More... | |
Numeric & | g_low (size_t k) noexcept |
Lower level statistical weight. More... | |
Numeric | g_upp (size_t k) const noexcept |
Upper level statistical weight. More... | |
Numeric & | g_upp (size_t k) noexcept |
Upper level statistical weight. More... | |
MirroringType | Mirroring () const noexcept |
Returns mirroring style. More... | |
void | Mirroring (MirroringType x) noexcept |
Returns mirroring style. More... | |
NormalizationType | Normalization () const noexcept |
Returns normalization style. More... | |
void | Normalization (NormalizationType x) noexcept |
Returns normalization style. More... | |
CutoffType | Cutoff () const noexcept |
Returns cutoff style. More... | |
void | Cutoff (CutoffType x) noexcept |
Sets cutoff style. More... | |
PopulationType | Population () const noexcept |
Returns population style. More... | |
void | Population (PopulationType x) noexcept |
Sets population style. More... | |
LineShape::Type | LineShapeType () const noexcept |
Returns lineshapetype style. More... | |
void | LineShapeType (LineShape::Type x) noexcept |
Sets lineshapetype style. More... | |
bool | DoLineMixing (Numeric P) const noexcept |
Returns if the pressure should do line mixing. More... | |
LineShape::Output | ShapeParameters (size_t k, Numeric T, Numeric P, const Vector &vmrs) const noexcept |
Line shape parameters. More... | |
LineShape::Output | ShapeParameters_dT (size_t k, Numeric T, Numeric P, const Vector &vmrs) const noexcept |
Line shape parameters temperature derivatives. More... | |
Index | LineShapePos (const Index &spec) const noexcept |
Position among broadening species or -1. More... | |
Index | LineShapePos (const QuantumIdentifier &qid) const noexcept |
Position among broadening species or -1. More... | |
LineShape::Output | ShapeParameters_dVMR (size_t k, Numeric T, Numeric P, const QuantumIdentifier &vmr_qid) const noexcept |
Line shape parameters vmr derivative. More... | |
Numeric | ShapeParameter_dInternal (size_t k, Numeric T, Numeric P, const Vector &vmrs, const RetrievalQuantity &derivative) const noexcept |
Line shape parameter internal derivative. More... | |
Numeric | CutoffFreq (size_t k) const noexcept |
Returns cutoff frequency or maximum value. More... | |
Numeric | CutoffFreqMinus (size_t k, Numeric fmean) const noexcept |
Returns negative cutoff frequency or lowest value. More... | |
Numeric | T0 () const noexcept |
Returns reference temperature. More... | |
void | T0 (Numeric x) noexcept |
Sets reference temperature. More... | |
Numeric | CutoffFreqValue () const noexcept |
Returns internal cutoff frequency value. More... | |
void | CutoffFreqValue (Numeric x) noexcept |
Sets internal cutoff frequency value. More... | |
Numeric | LinemixingLimit () const noexcept |
Returns line mixing limit. More... | |
void | LinemixingLimit (Numeric x) noexcept |
Sets line mixing limit. More... | |
const std::vector< QuantumNumberType > & | LocalQuanta () const noexcept |
Returns local quantum numbers. More... | |
std::vector< QuantumNumberType > & | LocalQuanta () noexcept |
Returns local quantum numbers. More... | |
const ArrayOfSpeciesTag & | BroadeningSpecies () const noexcept |
Returns the broadening species. More... | |
ArrayOfSpeciesTag & | BroadeningSpecies () noexcept |
Returns the broadening species. More... | |
bool | Self () const noexcept |
Returns self broadening status. More... | |
void | Self (bool x) noexcept |
Returns self broadening status. More... | |
bool | Bath () const noexcept |
Returns bath broadening status. More... | |
void | Bath (bool x) noexcept |
Returns bath broadening status. More... | |
const QuantumIdentifier & | QuantumIdentity () const noexcept |
Returns identity status. More... | |
QuantumIdentifier & | QuantumIdentity () noexcept |
Returns identity status. More... | |
QuantumIdentifier | QuantumIdentityOfLine (Index k) const noexcept |
Returns identity status. More... | |
String | MetaData () const |
Returns a printable statement about the lines. More... | |
void | RemoveLine (Index) noexcept |
Removes a single line. More... | |
SingleLine | PopLine (Index) noexcept |
Pops a single line. More... | |
SingleLine & | Line (Index) noexcept |
Returns a single line. More... | |
const SingleLine & | Line (Index) const noexcept |
Returns a single line. More... | |
void | ReverseLines () noexcept |
Reverses the order of the internal lines. More... | |
Numeric | SpeciesMass () const noexcept |
Mass of the molecule. More... | |
Vector | BroadeningSpeciesVMR (const ConstVectorView, const ArrayOfArrayOfSpeciesTag &) const |
Returns the VMRs of the broadening species. More... | |
Numeric | SelfVMR (const ConstVectorView, const ArrayOfArrayOfSpeciesTag &) const |
Returns the VMR of the species. More... | |
bifstream & | read (bifstream &is) |
Binary read for Lines. More... | |
bofstream & | write (bofstream &os) const |
Binary write for Lines. More... | |
bool | OK () const noexcept |
Static Public Member Functions | |
static bool | validIndexForMirroring (Index x) noexcept |
Checks if index is a valid mirroring. More... | |
static MirroringType | string2Mirroring (const String &in) noexcept |
static bool | validIndexForNormalization (Index x) noexcept |
Checks if index is a valid normalization. More... | |
static NormalizationType | string2Normalization (const String &in) noexcept |
static bool | validIndexForCutoff (Index x) noexcept |
Checks if index is a valid cutoff. More... | |
static CutoffType | string2Cutoff (const String &in) noexcept |
static bool | validIndexForPopulation (Index x) noexcept |
Checks if index is a valid population. More... | |
static PopulationType | string2Population (const String &in) noexcept |
static bool | validIndexForLineShapeType (Index x) noexcept |
Checks if index is a valid lineshapetype. More... | |
static LineShape::Type | string2LineShapeType (const String &type) noexcept |
Private Attributes | |
bool | mselfbroadening |
Does the line broadening have self broadening. More... | |
bool | mbathbroadening |
Does the line broadening have bath broadening. More... | |
CutoffType | mcutoff |
cutoff type, by band or by line More... | |
MirroringType | mmirroring |
Mirroring type. More... | |
PopulationType | mpopulation |
Line population distribution. More... | |
NormalizationType | mnormalization |
Line normalization type. More... | |
LineShape::Type | mlineshapetype |
Type of line shape. More... | |
Numeric | mT0 |
Reference temperature for all parameters of the lines. More... | |
Numeric | mcutofffreq |
cutoff frequency More... | |
Numeric | mlinemixinglimit |
linemixing limit More... | |
QuantumIdentifier | mquantumidentity |
Catalog ID. More... | |
std::vector< QuantumNumberType > | mlocalquanta |
List of local quantum numbers, these must be defined. More... | |
ArrayOfSpeciesTag | mbroadeningspecies |
A list of broadening species. More... | |
std::vector< SingleLine > | mlines |
A list of individual lines. More... | |
Definition at line 547 of file absorptionlines.h.
|
inline |
Default initialization.
[in] | selfbroadening | Do self broadening |
[in] | bathbroadening | Do bath broadening |
[in] | cutoff | Type of cutoff frequency |
[in] | mirroring | Type of mirroring |
[in] | population | Type of line strengths distributions |
[in] | normalization | Type of normalization |
[in] | lineshapetype | Type of line shape |
[in] | T0 | Reference temperature |
[in] | cutofffreq | Cutoff frequency |
[in] | linemixinglimit | Line mixing limit |
[in] | quantumidentity | Identity of global lines |
[in] | localquanta | List of local quantum number(s) |
[in] | broadeningspecies | List of broadening species |
[in] | lines | List of SingleLine(s) |
Definition at line 609 of file absorptionlines.h.
|
inline |
XML-tag initialization.
[in] | selfbroadening | Do self broadening |
[in] | bathbroadening | Do bath broadening |
[in] | nlines | Number of SingleLine(s) to initiate as empty |
[in] | cutoff | Type of cutoff frequency |
[in] | mirroring | Type of mirroring |
[in] | population | Type of line strengths distributions |
[in] | normalization | Type of normalization |
[in] | lineshapetype | Type of line shape |
[in] | T0 | Reference temperature |
[in] | cutofffreq | Cutoff frequency |
[in] | linemixinglimit | Line mixing limit |
[in] | quantumidentity | Identity of global lines |
[in] | localquanta | List of local quantum number(s) |
[in] | broadeningspecies | List of broadening species |
[in] | metamodel | A line shape model with defined shapes |
Definition at line 656 of file absorptionlines.h.
|
inlinenoexcept |
Einstein spontaneous emission.
[in] | k | Line number (less than NumLines()) |
Definition at line 1038 of file absorptionlines.h.
Referenced by Linefunctions::set_cross_section_of_band().
|
inlinenoexcept |
Einstein spontaneous emission.
[in] | k | Line number (less than NumLines()) |
Definition at line 1045 of file absorptionlines.h.
|
inlinenoexcept |
Definition at line 855 of file absorptionlines.h.
References mlines.
Referenced by Absorption::operator<<(), and Absorption::operator>>().
|
inlinenoexcept |
|
inline |
Appends a single line to the absorption lines.
Useful for reading undefined number of lines and setting their structures
Warning: caller must guarantee that the broadening species and the quantum numbers of both levels have the correct order and the correct size. Only the sizes can be and are tested.
[in] | sl | A single line |
Definition at line 724 of file absorptionlines.h.
References Absorption::SingleLine::LineShapeElems(), Absorption::SingleLine::LowerQuantumElems(), mlines, NumLines(), NumLocalQuanta(), and Absorption::SingleLine::UpperQuantumElems().
|
inline |
Appends a single line to the absorption lines.
Useful for reading undefined number of lines and setting their structures
Warning: caller must guarantee that the broadening species and the quantum numbers of both levels have the correct order and the correct size. Only the sizes can be and are tested.
[in] | sl | A single line |
Definition at line 700 of file absorptionlines.h.
References mlines, NumLines(), and NumLocalQuanta().
|
inlinenoexcept |
Returns bath broadening status.
Definition at line 1371 of file absorptionlines.h.
References mbathbroadening.
Referenced by xml_write_to_stream().
|
inlinenoexcept |
Returns bath broadening status.
Definition at line 1376 of file absorptionlines.h.
References mbathbroadening, and ARTS::Var::x().
|
inlinenoexcept |
Returns the broadening species.
Definition at line 1351 of file absorptionlines.h.
References mbroadeningspecies.
Referenced by xml_write_to_stream().
|
inlinenoexcept |
Returns the broadening species.
Definition at line 1356 of file absorptionlines.h.
References mbroadeningspecies.
Vector Absorption::Lines::BroadeningSpeciesVMR | ( | const ConstVectorView | atm_vmrs, |
const ArrayOfArrayOfSpeciesTag & | atm_spec | ||
) | const |
Returns the VMRs of the broadening species.
[in] | atm_vmrs | Atmospheric VMRs |
[in] | atm_spec | Atmospheric Species |
Definition at line 2730 of file absorptionlines.cc.
References Self, and LineShape::vmrs().
Referenced by xsec_species().
|
inlinenoexcept |
Returns cutoff style.
Definition at line 1128 of file absorptionlines.h.
References mcutoff.
Referenced by Linefunctions::set_cross_section_of_band(), and xml_write_to_stream().
|
inlinenoexcept |
Sets cutoff style.
Definition at line 1131 of file absorptionlines.h.
References mcutoff, and ARTS::Var::x().
|
inlinenoexcept |
Returns cutoff frequency or maximum value.
[in] | k | Line number (less than NumLines()) |
Definition at line 1281 of file absorptionlines.h.
Referenced by Linefunctions::set_cross_section_of_band().
Returns negative cutoff frequency or lowest value.
[in] | k | Line number (less than NumLines()) |
Definition at line 1298 of file absorptionlines.h.
Referenced by Linefunctions::set_cross_section_of_band().
|
inlinenoexcept |
Returns internal cutoff frequency value.
Definition at line 1321 of file absorptionlines.h.
References mcutofffreq.
Referenced by xml_write_to_stream().
|
inlinenoexcept |
Sets internal cutoff frequency value.
Definition at line 1326 of file absorptionlines.h.
References mcutofffreq, and ARTS::Var::x().
|
inlinenoexcept |
Returns if the pressure should do line mixing.
[in] | P | Atmospheric pressure |
Definition at line 1212 of file absorptionlines.h.
|
inlinenoexcept |
Lower level energy.
[in] | k | Line number (less than NumLines()) |
Definition at line 1010 of file absorptionlines.h.
|
inlinenoexcept |
Lower level energy.
[in] | k | Line number (less than NumLines()) |
Definition at line 1017 of file absorptionlines.h.
|
inlinenoexcept |
Central frequency.
[in] | k | Line number (less than NumLines()) |
Definition at line 970 of file absorptionlines.h.
Referenced by Linefunctions::set_cross_section_of_band().
|
inlinenoexcept |
Central frequency.
[in] | k | Line number (less than NumLines()) |
Definition at line 977 of file absorptionlines.h.
|
inlinenoexcept |
Mean frequency by weight of line strengt.
Definition at line 983 of file absorptionlines.h.
References mlines.
Referenced by Linefunctions::set_cross_section_of_band().
|
inlinenoexcept |
Mean frequency by weight of line strengt.
[in] | wgts | Weight of averaging |
Definition at line 997 of file absorptionlines.h.
References mlines.
|
inlinenoexcept |
Lower level statistical weight.
[in] | k | Line number (less than NumLines()) |
Definition at line 1052 of file absorptionlines.h.
Referenced by Linefunctions::set_cross_section_of_band().
|
inlinenoexcept |
Lower level statistical weight.
[in] | k | Line number (less than NumLines()) |
Definition at line 1059 of file absorptionlines.h.
|
inlinenoexcept |
Upper level statistical weight.
[in] | k | Line number (less than NumLines()) |
Definition at line 1066 of file absorptionlines.h.
Referenced by Linefunctions::set_cross_section_of_band().
|
inlinenoexcept |
Upper level statistical weight.
[in] | k | Line number (less than NumLines()) |
Definition at line 1073 of file absorptionlines.h.
|
inlinenoexcept |
Reference line strength.
[in] | k | Line number (less than NumLines()) |
Definition at line 1024 of file absorptionlines.h.
|
inlinenoexcept |
Reference line strength.
[in] | k | Line number (less than NumLines()) |
Definition at line 1031 of file absorptionlines.h.
|
inlinenoexcept |
Isotopologue Index.
Definition at line 849 of file absorptionlines.h.
References QuantumIdentifier::Isotopologue(), and mquantumidentity.
Referenced by Absorption::id_in_line(), Absorption::id_in_line_lower(), Absorption::id_in_line_upper(), Absorption::line_in_id(), Absorption::line_lower_in_id(), Absorption::line_upper_in_id(), and SpeciesName().
|
noexcept |
Returns a single line.
Definition at line 2715 of file absorptionlines.cc.
|
noexcept |
Returns a single line.
Definition at line 2709 of file absorptionlines.cc.
Referenced by Linefunctions::set_cross_section_of_band().
|
inlinenoexcept |
Returns line mixing limit.
Definition at line 1331 of file absorptionlines.h.
References mlinemixinglimit.
Referenced by Linefunctions::set_cross_section_of_band(), and xml_write_to_stream().
|
inlinenoexcept |
Sets line mixing limit.
Definition at line 1336 of file absorptionlines.h.
References mlinemixinglimit, and ARTS::Var::x().
|
inlinenoexcept |
Meta data for the line shape if it exists.
Definition at line 839 of file absorptionlines.h.
References mlines, LineShape::ModelShape2MetaData(), and NumLines().
Referenced by xml_write_to_stream().
Position among broadening species or -1.
[in] | A | species index that might be among the broadener species |
Definition at line 84 of file absorptionlines.cc.
References Species.
Referenced by LineShapePos().
|
inlinenoexcept |
Position among broadening species or -1.
[in] | An | identity that might be among the broadener species |
Definition at line 1248 of file absorptionlines.h.
References LineShapePos().
|
inlinenoexcept |
Returns lineshapetype style.
Definition at line 1180 of file absorptionlines.h.
References mlineshapetype.
Referenced by Linefunctions::set_cross_section_of_band(), and xml_write_to_stream().
|
inlinenoexcept |
Sets lineshapetype style.
Definition at line 1183 of file absorptionlines.h.
References mlineshapetype, and ARTS::Var::x().
|
inlinenoexcept |
Returns local quantum numbers.
Definition at line 1341 of file absorptionlines.h.
References mlocalquanta.
Referenced by xml_write_to_stream().
|
inlinenoexcept |
Returns local quantum numbers.
Definition at line 1346 of file absorptionlines.h.
References mlocalquanta.
|
noexcept |
Quantum number lower level.
[in] | k | Line number (less than NumLines()) |
[in] | qnt | Quantum number type |
Definition at line 40 of file absorptionlines.cc.
Referenced by Absorption::id_in_line(), Absorption::id_in_line_lower(), Absorption::line_in_id(), and Absorption::line_lower_in_id().
|
noexcept |
Quantum number lower level.
[in] | k | Line number (less than NumLines()) |
[in] | qnt | Quantum number type |
Definition at line 54 of file absorptionlines.cc.
|
noexcept |
Lower quantum numbers string.
Definition at line 2570 of file absorptionlines.cc.
Referenced by xml_write_to_stream().
|
inlinenoexcept |
Checks if another line list matches this structure.
[in] | sle | Full external lines |
[in] | quantumidentity | Expected global quantum id of the line |
Definition at line 779 of file absorptionlines.h.
References mbathbroadening, mbroadeningspecies, mcutoff, mcutofffreq, mlinemixinglimit, mlines, mlineshapetype, mlocalquanta, mmirroring, mnormalization, mpopulation, mquantumidentity, mselfbroadening, mT0, and NumLines().
|
inlinenoexcept |
Checks if an external line matches this structure.
[in] | sle | Full external lines |
[in] | quantumidentity | Expected global quantum id of the line |
Definition at line 741 of file absorptionlines.h.
References mbathbroadening, mbroadeningspecies, mcutoff, mcutofffreq, mlinemixinglimit, mlines, mlineshapetype, mmirroring, mnormalization, mpopulation, mquantumidentity, mselfbroadening, mT0, and NumLines().
String Absorption::Lines::MetaData | ( | ) | const |
Returns a printable statement about the lines.
Definition at line 2580 of file absorptionlines.cc.
References Absorption::cutofftype2metadatastring(), Absorption::mirroringtype2metadatastring(), LineShape::ModelMetaDataArray(), Absorption::normalizationtype2metadatastring(), Absorption::populationtype2metadatastring(), quantumnumbertype2string(), and LineShape::shapetype2metadatastring().
Referenced by xml_write_to_stream().
|
inlinenoexcept |
Returns mirroring style.
Definition at line 1076 of file absorptionlines.h.
References mmirroring.
Referenced by Linefunctions::set_cross_section_of_band(), and xml_write_to_stream().
|
inlinenoexcept |
Returns mirroring style.
Definition at line 1079 of file absorptionlines.h.
References mmirroring, and ARTS::Var::x().
|
inlinenoexcept |
Returns normalization style.
Definition at line 1102 of file absorptionlines.h.
References mnormalization.
Referenced by Linefunctions::set_cross_section_of_band(), and xml_write_to_stream().
|
inlinenoexcept |
Returns normalization style.
Definition at line 1105 of file absorptionlines.h.
References mnormalization, and ARTS::Var::x().
|
inlinenoexcept |
Number of broadening species.
Definition at line 861 of file absorptionlines.h.
References mbroadeningspecies, and Array< base >::nelem().
|
inlinenoexcept |
Number of lines.
Definition at line 852 of file absorptionlines.h.
References mlines.
Referenced by AppendSingleLine(), LineShapeMetaData(), Match(), MatchWithExternal(), Absorption::nelem(), Linefunctions::set_cross_section_of_band(), xml_write_to_stream(), and xsec_species().
|
inlinenoexcept |
Number of local quantum numbers.
Definition at line 864 of file absorptionlines.h.
References mlocalquanta.
Referenced by AppendSingleLine().
|
noexcept |
Definition at line 3527 of file absorptionlines.cc.
|
noexcept |
Pops a single line.
Definition at line 2693 of file absorptionlines.cc.
|
inlinenoexcept |
Returns population style.
Definition at line 1152 of file absorptionlines.h.
References mpopulation.
Referenced by Linefunctions::set_cross_section_of_band(), and xml_write_to_stream().
|
inlinenoexcept |
Sets population style.
Definition at line 1155 of file absorptionlines.h.
References mpopulation, and ARTS::Var::x().
|
inlinenoexcept |
Returns identity status.
Definition at line 1381 of file absorptionlines.h.
References mquantumidentity.
Referenced by Linefunctions::apply_rosenkranz_quadratic_scaling(), Linefunctions::apply_VVH_scaling(), Linefunctions::apply_VVW_scaling(), Linefunctions::set_cross_section_of_band(), Linefunctions::set_doppler(), Linefunctions::set_lorentz(), and Linefunctions::set_voigt().
|
inlinenoexcept |
Returns identity status.
Definition at line 1386 of file absorptionlines.h.
References mquantumidentity.
|
inlinenoexcept |
Returns identity status.
Definition at line 1391 of file absorptionlines.h.
|
noexcept |
Removes a single line.
Definition at line 2687 of file absorptionlines.cc.
void Absorption::Lines::RemoveLocalQuantum | ( | size_t | x | ) |
Remove quantum numbers at the given position from all lines.
Definition at line 2669 of file absorptionlines.cc.
References ARTS::Var::x().
void Absorption::Lines::RemoveUnusedLocalQuantums | ( | ) |
Remove quantum numbers that are not used by even a single line.
Definition at line 2643 of file absorptionlines.cc.
|
noexcept |
Reverses the order of the internal lines.
Definition at line 2720 of file absorptionlines.cc.
|
inlinenoexcept |
Returns self broadening status.
Definition at line 1361 of file absorptionlines.h.
References mselfbroadening.
Referenced by xml_write_to_stream().
|
inlinenoexcept |
Returns self broadening status.
Definition at line 1366 of file absorptionlines.h.
References mselfbroadening, and ARTS::Var::x().
Numeric Absorption::Lines::SelfVMR | ( | const ConstVectorView | atm_vmrs, |
const ArrayOfArrayOfSpeciesTag & | atm_spec | ||
) | const |
Returns the VMR of the species.
[in] | atm_vmrs | Atmospheric VMRs |
[in] | atm_spec | Atmospheric Species |
Definition at line 2737 of file absorptionlines.cc.
References Array< base >::nelem(), ConstVectorView::nelem(), Absorption::nelem(), and Species.
|
inlinenoexcept |
Set Zeeman effect for all lines that have the correct quantum numbers.
Definition at line 960 of file absorptionlines.h.
References mlines, mlocalquanta, and mquantumidentity.
|
noexcept |
Line shape parameter internal derivative.
[in] | k | Line number (less than NumLines()) |
[in] | T | Atmospheric temperature |
[in] | P | Atmospheric pressure |
[in] | vmrs | Line broadener's volume mixing ratio |
[in] | derivative | Type of line shape derivative |
Definition at line 131 of file absorptionlines.cc.
Referenced by Linefunctions::apply_lineshapemodel_jacobian_scaling().
|
noexcept |
Line shape parameters.
[in] | k | Line number (less than NumLines()) |
[in] | T | Atmospheric temperature |
[in] | P | Atmospheric pressure |
[in] | vmrs | Line broadener species's volume mixing ratio |
Definition at line 68 of file absorptionlines.cc.
Referenced by Linefunctions::set_cross_section_of_band().
|
noexcept |
Line shape parameters temperature derivatives.
[in] | k | Line number (less than NumLines()) |
[in] | T | Atmospheric temperature |
[in] | P | Atmospheric pressure |
[in] | vmrs | Line broadener's volume mixing ratio |
Definition at line 76 of file absorptionlines.cc.
Referenced by Linefunctions::set_cross_section_of_band().
|
noexcept |
Line shape parameters vmr derivative.
[in] | k | Line number (less than NumLines()) |
[in] | T | Atmospheric temperature |
[in] | P | Atmospheric pressure |
[in] | vmr_qid | Identity of species whose VMR derivative is requested |
Definition at line 102 of file absorptionlines.cc.
Referenced by Linefunctions::set_cross_section_of_band().
|
inline |
Sort inner line list by Einstein coefficient.
Definition at line 819 of file absorptionlines.h.
References mlines.
|
inline |
Sort inner line list by frequency.
Definition at line 813 of file absorptionlines.h.
References mlines.
|
inlinenoexcept |
Species Index.
Definition at line 846 of file absorptionlines.h.
References mquantumidentity, and QuantumIdentifier::Species().
Referenced by Absorption::id_in_line(), Absorption::id_in_line_lower(), Absorption::id_in_line_upper(), Absorption::line_in_id(), Absorption::line_lower_in_id(), Absorption::line_upper_in_id(), SpeciesDataOfBand(), and SpeciesName().
|
noexcept |
Mass of the molecule.
Definition at line 2725 of file absorptionlines.cc.
References Isotopologue, Species, and global_data::species_data.
Referenced by xsec_species().
|
noexcept |
Species Name.
Definition at line 2547 of file absorptionlines.cc.
References SpeciesRecord::Isotopologue(), Isotopologue(), SpeciesRecord::Name(), Species(), and global_data::species_data.
Referenced by xml_write_to_stream().
|
inlinestaticnoexcept |
Definition at line 1140 of file absorptionlines.h.
References Absorption::None.
|
inlinestaticnoexcept |
Definition at line 1192 of file absorptionlines.h.
References LineShape::DP.
|
inlinestaticnoexcept |
Definition at line 1088 of file absorptionlines.h.
References Absorption::None.
|
inlinestaticnoexcept |
Definition at line 1114 of file absorptionlines.h.
References Absorption::None.
|
inlinestaticnoexcept |
Definition at line 1164 of file absorptionlines.h.
References Absorption::ByLTE.
|
inlinenoexcept |
Returns reference temperature.
Definition at line 1311 of file absorptionlines.h.
References mT0.
Referenced by Linefunctions::set_cross_section_of_band(), xml_write_to_stream(), and xsec_species().
|
inlinenoexcept |
Sets reference temperature.
Definition at line 1316 of file absorptionlines.h.
References mT0, and ARTS::Var::x().
|
inline |
Removes all global quantum numbers.
Definition at line 825 of file absorptionlines.h.
References mquantumidentity, and QuantumIdentifier::SetTransition().
|
noexcept |
Quantum number upper level.
[in] | k | Line number (less than NumLines()) |
[in] | qnt | Quantum number type |
Definition at line 47 of file absorptionlines.cc.
Referenced by Absorption::id_in_line(), Absorption::id_in_line_upper(), Absorption::line_in_id(), and Absorption::line_upper_in_id().
|
noexcept |
Quantum number upper level.
[in] | k | Line number (less than NumLines()) |
[in] | qnt | Quantum number type |
Definition at line 61 of file absorptionlines.cc.
|
noexcept |
Upper quantum numbers string.
Definition at line 2560 of file absorptionlines.cc.
Referenced by xml_write_to_stream().
|
inlinestaticnoexcept |
Checks if index is a valid cutoff.
Definition at line 1134 of file absorptionlines.h.
References Absorption::None, stdarrayify(), ARTS::Var::x(), and ARTS::Var::y().
|
inlinestaticnoexcept |
Checks if index is a valid lineshapetype.
Definition at line 1186 of file absorptionlines.h.
References LineShape::DP, stdarrayify(), ARTS::Var::x(), and ARTS::Var::y().
|
inlinestaticnoexcept |
Checks if index is a valid mirroring.
Definition at line 1082 of file absorptionlines.h.
References Absorption::None, stdarrayify(), ARTS::Var::x(), and ARTS::Var::y().
|
inlinestaticnoexcept |
Checks if index is a valid normalization.
Definition at line 1108 of file absorptionlines.h.
References Absorption::None, stdarrayify(), ARTS::Var::x(), and ARTS::Var::y().
|
inlinestaticnoexcept |
Checks if index is a valid population.
Definition at line 1158 of file absorptionlines.h.
References Absorption::ByLTE, stdarrayify(), ARTS::Var::x(), and ARTS::Var::y().
Binary write for Lines.
Definition at line 1445 of file absorptionlines.h.
References mlines.
Referenced by xml_write_to_stream().
|
inlinenoexcept |
Returns the number of Zeeman split lines.
[in] | k | Line number (less than NumLines()) |
[in] | type | Type of Zeeman polarization |
Definition at line 911 of file absorptionlines.h.
Referenced by Linefunctions::set_cross_section_of_band().
|
inlinenoexcept |
Returns the splitting of a Zeeman split line.
[in] | k | Line number (less than NumLines()) |
[in] | type | Type of Zeeman polarization |
[in] | i | Zeeman line count |
Definition at line 947 of file absorptionlines.h.
Referenced by Linefunctions::set_cross_section_of_band().
|
inlinenoexcept |
Returns the strength of a Zeeman split line.
[in] | k | Line number (less than NumLines()) |
[in] | type | Type of Zeeman polarization |
[in] | i | Zeeman line count |
Definition at line 929 of file absorptionlines.h.
Referenced by Linefunctions::set_cross_section_of_band().
|
private |
Does the line broadening have bath broadening.
Definition at line 553 of file absorptionlines.h.
Referenced by Bath(), Match(), and MatchWithExternal().
|
private |
A list of broadening species.
Definition at line 586 of file absorptionlines.h.
Referenced by BroadeningSpecies(), Match(), MatchWithExternal(), and NumBroadeners().
|
private |
cutoff type, by band or by line
Definition at line 556 of file absorptionlines.h.
Referenced by Cutoff(), Match(), and MatchWithExternal().
|
private |
cutoff frequency
Definition at line 574 of file absorptionlines.h.
Referenced by CutoffFreqValue(), Match(), and MatchWithExternal().
|
private |
linemixing limit
Definition at line 577 of file absorptionlines.h.
Referenced by LinemixingLimit(), Match(), and MatchWithExternal().
|
private |
A list of individual lines.
Definition at line 589 of file absorptionlines.h.
Referenced by AllLines(), AppendSingleLine(), F_mean(), LineShapeMetaData(), Match(), MatchWithExternal(), NumLines(), read(), SetAutomaticZeeman(), sort_by_einstein(), sort_by_frequency(), and write().
|
private |
Type of line shape.
Definition at line 568 of file absorptionlines.h.
Referenced by LineShapeType(), Match(), and MatchWithExternal().
|
private |
List of local quantum numbers, these must be defined.
Definition at line 583 of file absorptionlines.h.
Referenced by LocalQuanta(), Match(), NumLocalQuanta(), and SetAutomaticZeeman().
|
private |
Mirroring type.
Definition at line 559 of file absorptionlines.h.
Referenced by Match(), MatchWithExternal(), and Mirroring().
|
private |
Line normalization type.
Definition at line 565 of file absorptionlines.h.
Referenced by Match(), MatchWithExternal(), and Normalization().
|
private |
Line population distribution.
Definition at line 562 of file absorptionlines.h.
Referenced by Match(), MatchWithExternal(), and Population().
|
private |
Catalog ID.
Definition at line 580 of file absorptionlines.h.
Referenced by Isotopologue(), Match(), MatchWithExternal(), QuantumIdentity(), SetAutomaticZeeman(), Species(), and truncate_global_quantum_numbers().
|
private |
Does the line broadening have self broadening.
Definition at line 550 of file absorptionlines.h.
Referenced by Match(), MatchWithExternal(), and Self().
|
private |
Reference temperature for all parameters of the lines.
Definition at line 571 of file absorptionlines.h.
Referenced by Match(), MatchWithExternal(), and T0().