ARTS 2.5.11 (git: 725533f0)
|
Computations and data for a single absorption line. More...
#include <absorptionlines.h>
Public Member Functions | |
SingleLine (Numeric F0_=0, Numeric I0_=0, Numeric E0_=0, Numeric glow_=0, Numeric gupp_=0, Numeric A_=0, Zeeman::Model zeeman_=Zeeman::Model(), LineShape::Model lineshape_=LineShape::Model(), Quantum::Number::LocalState localquanta_={}) | |
Default initialization. | |
SingleLine (Quantum::Number::LocalState metaquanta, LineShape::Model metamodel) | |
Initialization for constant sizes. | |
Index | LineShapeElems () const noexcept |
Number of lineshape elements. | |
Index | LocalQuantumElems () const ARTS_NOEXCEPT |
Number of lower quantum numbers. | |
void | SetAutomaticZeeman (QuantumIdentifier qid) |
Set Zeeman effect by automatic detection. | |
void | SetLineMixing2SecondOrderData (const Vector &d) |
Set the line mixing model to 2nd order. | |
void | SetLineMixing2AER (const Vector &d) |
Set the line mixing model to AER kind. | |
bifstream & | read (bifstream &bif) |
Binary read for AbsorptionLines. | |
bofstream & | write (bofstream &bof) const |
Binary write for AbsorptionLines. | |
Public Attributes | |
Numeric | F0 {} |
Central frequency. | |
Numeric | I0 {} |
Reference intensity. | |
Numeric | E0 {} |
Lower state energy level. | |
Numeric | glow {} |
Lower level statistical weight. | |
Numeric | gupp {} |
Upper level statistical weight. | |
Numeric | A {} |
Einstein spontaneous emission coefficient. | |
Zeeman::Model | zeeman {} |
Zeeman model. | |
LineShape::Model | lineshape {} |
Line shape model. | |
Quantum::Number::LocalState | localquanta {} |
Local quantum numbers. | |
Friends | |
std::ostream & | operator<< (std::ostream &, const SingleLine &) |
std::istream & | operator>> (std::istream &, SingleLine &) |
Computations and data for a single absorption line.
Definition at line 140 of file absorptionlines.h.
|
inline |
Default initialization.
[in] | F0_ | Central frequency |
[in] | I0_ | Reference line strength at external T0 |
[in] | E0_ | Lower energy level |
[in] | glow_ | Lower level statistical weight |
[in] | gupp_ | Upper level statistical weight |
[in] | A_ | Einstein spontaneous emission coefficient |
[in] | zeeman_ | Zeeman model |
[in] | lineshape_ | Line shape model |
[in] | localquanta_ | Local quantum numbers |
Definition at line 180 of file absorptionlines.h.
|
inline |
Initialization for constant sizes.
metaquanta | A quantum number state with the right sizes and access points |
metamodel | A line shape model with the right sizes and access points |
Definition at line 204 of file absorptionlines.h.
|
inlinenoexcept |
Number of lineshape elements.
Definition at line 212 of file absorptionlines.h.
|
inline |
Number of lower quantum numbers.
Definition at line 215 of file absorptionlines.h.
Binary read for AbsorptionLines.
Standard parameters
Line shape model
Lower level quantum numbers
Definition at line 2166 of file absorptionlines.cc.
References A, E0, F0, glow, gupp, I0, lineshape, localquanta, LineShape::Model::read(), Quantum::Number::LocalState::val, and zeeman.
void Absorption::SingleLine::SetAutomaticZeeman | ( | QuantumIdentifier | qid | ) |
Set Zeeman effect by automatic detection.
Will fail if the available and provided quantum numbers are bad
[in] | qid | Copy of the global identifier to fill by local numbers |
Definition at line 2142 of file absorptionlines.cc.
References localquanta, Quantum::Number::ValueList::set(), Quantum::Number::LocalState::val, Quantum::Number::GlobalState::val, and zeeman.
void Absorption::SingleLine::SetLineMixing2AER | ( | const Vector & | d | ) |
Set the line mixing model to AER kind.
[in] | d | Data in AER format |
Definition at line 2155 of file absorptionlines.cc.
References d, LineShape::Model::Data(), and lineshape.
void Absorption::SingleLine::SetLineMixing2SecondOrderData | ( | const Vector & | d | ) |
Set the line mixing model to 2nd order.
[in] | d | Data in 2nd order format |
Definition at line 2148 of file absorptionlines.cc.
References d, lineshape, LineShape::LegacyLineMixingData::LM_2NDORDER, LineShape::Model::SetLineMixingModel(), and LineShape::LegacyLineMixingData::vector2modellm().
Binary write for AbsorptionLines.
Standard parameters
Line shape model
Lower level quantum numbers
Definition at line 2179 of file absorptionlines.cc.
References A, E0, F0, glow, gupp, I0, lineshape, localquanta, Quantum::Number::LocalState::val, LineShape::Model::write(), and zeeman.
|
friend |
Definition at line 1781 of file absorptionlines.cc.
|
friend |
Definition at line 1789 of file absorptionlines.cc.
Numeric Absorption::SingleLine::A {} |
Einstein spontaneous emission coefficient.
Definition at line 157 of file absorptionlines.h.
Referenced by read(), Absorption::ReadFromArtscat4Stream(), Absorption::ReadFromArtscat5Stream(), Absorption::ReadFromHitran2004Stream(), Absorption::ReadFromHitranOnlineStream(), and write().
Numeric Absorption::SingleLine::E0 {} |
Lower state energy level.
Definition at line 148 of file absorptionlines.h.
Referenced by read(), Absorption::ReadFromArtscat3Stream(), Absorption::ReadFromArtscat4Stream(), Absorption::ReadFromArtscat5Stream(), Absorption::ReadFromHitran2001Stream(), Absorption::ReadFromHitran2004Stream(), Absorption::ReadFromHitranOnlineStream(), Absorption::ReadFromJplStream(), Absorption::ReadFromLBLRTMStream(), and write().
Numeric Absorption::SingleLine::F0 {} |
Central frequency.
Definition at line 142 of file absorptionlines.h.
Referenced by read(), ReadArrayOfARTSCAT(), ReadARTSCAT(), Absorption::ReadFromArtscat3Stream(), Absorption::ReadFromArtscat4Stream(), Absorption::ReadFromArtscat5Stream(), Absorption::ReadFromHitran2001Stream(), Absorption::ReadFromHitran2004Stream(), Absorption::ReadFromHitranOnlineStream(), Absorption::ReadFromJplStream(), Absorption::ReadFromLBLRTMStream(), ReadHITRAN(), and write().
Numeric Absorption::SingleLine::glow {} |
Lower level statistical weight.
Definition at line 151 of file absorptionlines.h.
Referenced by read(), Absorption::ReadFromArtscat4Stream(), Absorption::ReadFromArtscat5Stream(), Absorption::ReadFromHitran2004Stream(), Absorption::ReadFromHitranOnlineStream(), and write().
Numeric Absorption::SingleLine::gupp {} |
Upper level statistical weight.
Definition at line 154 of file absorptionlines.h.
Referenced by read(), Absorption::ReadFromArtscat4Stream(), Absorption::ReadFromArtscat5Stream(), Absorption::ReadFromHitran2004Stream(), Absorption::ReadFromHitranOnlineStream(), and write().
Numeric Absorption::SingleLine::I0 {} |
Reference intensity.
Definition at line 145 of file absorptionlines.h.
Referenced by read(), Absorption::ReadFromArtscat3Stream(), Absorption::ReadFromArtscat4Stream(), Absorption::ReadFromArtscat5Stream(), Absorption::ReadFromHitran2001Stream(), Absorption::ReadFromHitran2004Stream(), Absorption::ReadFromHitranOnlineStream(), Absorption::ReadFromJplStream(), Absorption::ReadFromLBLRTMStream(), and write().
LineShape::Model Absorption::SingleLine::lineshape {} |
Line shape model.
Definition at line 163 of file absorptionlines.h.
Referenced by read(), Absorption::ReadFromArtscat3Stream(), Absorption::ReadFromArtscat4Stream(), Absorption::ReadFromArtscat5Stream(), Absorption::ReadFromHitran2001Stream(), Absorption::ReadFromHitran2004Stream(), Absorption::ReadFromHitranOnlineStream(), Absorption::ReadFromJplStream(), Absorption::ReadFromLBLRTMStream(), SetLineMixing2AER(), SetLineMixing2SecondOrderData(), and write().
Quantum::Number::LocalState Absorption::SingleLine::localquanta {} |
Local quantum numbers.
Definition at line 166 of file absorptionlines.h.
Referenced by read(), ReadArrayOfARTSCAT(), ReadARTSCAT(), ReadHITRAN(), SetAutomaticZeeman(), and write().
Zeeman::Model Absorption::SingleLine::zeeman {} |
Zeeman model.
Definition at line 160 of file absorptionlines.h.
Referenced by read(), ReadArrayOfARTSCAT(), ReadARTSCAT(), Absorption::ReadFromArtscat5Stream(), ReadHITRAN(), SetAutomaticZeeman(), and write().