ARTS 2.5.11 (git: 6827797f)
LineShape::LegacyLineMixingData Namespace Reference

Legacy dealing with reading old LineMixingData. More...

Enumerations

enum class  TypeLM {
  LM_NONE , LM_LBLRTM , LM_LBLRTM_O2NonResonant , LM_1STORDER ,
  LM_2NDORDER , LM_BYBAND
}
 Line mixing types that used to exist. More...
 

Functions

LegacyLineMixingData::TypeLM string2typelm (String type)
 Line mixing types from string.
 
constexpr Index typelm2nelem (LegacyLineMixingData::TypeLM type)
 Line mixing types to number.
 
Model vector2modellm (Vector x, LegacyLineMixingData::TypeLM type)
 LineShape::Model from legacy input vector.
 

Detailed Description

Legacy dealing with reading old LineMixingData.

Enumeration Type Documentation

◆ TypeLM

Line mixing types that used to exist.

Enumerator
LM_NONE 
LM_LBLRTM 
LM_LBLRTM_O2NonResonant 
LM_1STORDER 
LM_2NDORDER 
LM_BYBAND 

Definition at line 887 of file lineshapemodel.h.

Function Documentation

◆ string2typelm()

LegacyLineMixingData::TypeLM LineShape::LegacyLineMixingData::string2typelm ( String  type)

Line mixing types from string.

Definition at line 1245 of file lineshapemodel.cc.

References ARTS_USER_ERROR, LM_1STORDER, LM_2NDORDER, LM_BYBAND, LM_LBLRTM, LM_LBLRTM_O2NonResonant, and LM_NONE.

◆ typelm2nelem()

constexpr Index LineShape::LegacyLineMixingData::typelm2nelem ( LegacyLineMixingData::TypeLM  type)
constexpr

Line mixing types to number.

Definition at line 902 of file lineshapemodel.h.

References LM_1STORDER, LM_2NDORDER, LM_BYBAND, LM_LBLRTM, LM_LBLRTM_O2NonResonant, and LM_NONE.

◆ vector2modellm()

LineShape::Model LineShape::LegacyLineMixingData::vector2modellm ( Vector  x,
LegacyLineMixingData::TypeLM  type 
)

LineShape::Model from legacy input vector.

Definition at line 390 of file lineshapemodel.cc.

References LineShape::Model::Data().

Referenced by Absorption::SingleLine::SetLineMixing2SecondOrderData().