ARTS
2.3.1285(git:92a29ea9-dirty)
|
Contains the line function data class. More...
Go to the source code of this file.
Classes | |
struct | LineShape::ModelParameters |
Coefficients and temperature model for SingleSpeciesModel. More... | |
class | LineShape::SingleSpeciesModel |
Compute the line shape parameters for a single broadening species. More... | |
struct | LineShape::Output |
Main output of Model. More... | |
class | LineShape::Model |
Main line shape model class. More... | |
Namespaces | |
LineShape | |
Computations of line shape derived parameters. | |
LineShape::LegacyLineFunctionData | |
Legacy dealing with reading old LineFunctionData. | |
LineShape::LegacyLineMixingData | |
Legacy dealing with reading old LineMixingData. | |
LineShape::LegacyPressureBroadeningData | |
Legacy dealing with reading old PressureBroadeningData. | |
Macros | |
#define | VARIABLE2STRINGDEF(X) case Variable::X: return # X |
#define | STRING2VARIABLEDEF(X) if(type == # X) return Variable::X |
#define | x0 X[Index(var)].X0 |
#define | x1 X[Index(var)].X1 |
#define | x2 X[Index(var)].X2 |
#define | ACCESS_INTERNAL(VARPOS) |
#define | MODELPARAMCASESETTER(X) case Variable::X: X () = x; break |
#define | MODELPARAMCASEGETTER(X) case Variable::X: return X (); |
#define | LSPC(XVAR, PVAR) |
#define | LSPC(XVAR, PVAR) |
#define | LSPC(XVAR, PVAR) |
#define | LSPDC(XVAR, DERIV, PVAR) |
#define | RETURNINTERNALDERIVATIVE(TYPE) |
Functions | |
JacPropMatType | select_derivativeLineShape (const String &var, const String &coeff) |
Select the derivative that will be used in Jacobian calculations — also checks validity of var and coeff. More... | |
ArrayOfString | all_coefficientsLineFunctionData () |
{"X0", "X1", "X2"} More... | |
ArrayOfString | all_variablesLineFunctionData () |
{"G0", "D0", "G2", "D2", "ETA", "FVC", "Y", "G", "DV"} More... | |
String | LineShape::temperaturemodel2string (TemperatureModel type) noexcept |
Turns selected TemperatureModel type into a string. More... | |
TemperatureModel | LineShape::string2temperaturemodel (const String &type) |
Turns predefined strings into a TemperatureModel type. More... | |
std::ostream & | LineShape::operator<< (std::ostream &os, Variable v) |
Output operator for Variable to be human-readable. More... | |
String | LineShape::variable2string (Variable type) noexcept |
Turns selected Variable type into a string. More... | |
Variable | LineShape::string2variable (const String &type) |
Turns predefined strings into a Variable type. More... | |
Numeric & | LineShape::SingleModelParameter (ModelParameters &mp, const String &type) |
Get a coefficient from ModelParameters by name. More... | |
std::ostream & | LineShape::operator<< (std::ostream &os, const ModelParameters &mp) |
Output operator for ModelParameters. More... | |
std::istream & | LineShape::operator>> (std::istream &is, ModelParameters &mp) |
Input operator for ModelParameters. More... | |
std::ostream & | LineShape::operator<< (std::ostream &os, const SingleSpeciesModel &ssm) |
Output operator for SingleSpeciesModel. More... | |
std::istream & | LineShape::operator>> (std::istream &is, SingleSpeciesModel &ssm) |
Input operator for SingleSpeciesModel. More... | |
String | LineShape::shapetype2string (Type type) noexcept |
Turns selected Type into a string. More... | |
Type | LineShape::string2shapetype (const String &type) |
Turns predefined strings into a Type. More... | |
std::ostream & | LineShape::operator<< (std::ostream &os, Output x) |
Output operator for LineShape::Output. More... | |
constexpr Output | LineShape::mirroredOutput (Output x) noexcept |
Output to be used by mirroring calls. More... | |
constexpr Output | LineShape::negativeOutput (Output x) noexcept |
Output turned negative. More... | |
constexpr Output | LineShape::si2cgs (Output x) noexcept |
Output turned from SI to CGS units. More... | |
constexpr Output | LineShape::differenceOutput (Output y, Output x) noexcept |
Diff of two output. More... | |
std::istream & | LineShape::from_artscat4 (std::istream &is, Model &lsc, const QuantumIdentifier &qid) |
std::istream & | LineShape::from_linefunctiondata (std::istream &data, Model &lsc) |
std::istream & | LineShape::from_linemixingdata (std::istream &data, Model &lsc) |
Legacy reading of old deprecated LineMixingData class. More... | |
std::istream & | LineShape::from_pressurebroadeningdata (std::istream &data, Model &lsc, const QuantumIdentifier &qid) |
std::ostream & | LineShape::operator<< (std::ostream &os, const Model &m) |
std::istream & | LineShape::operator>> (std::istream &is, Model &m) |
Index | LineShape::LegacyLineFunctionData::temperaturemodel2legacynelem (TemperatureModel type) noexcept |
Length per variable. More... | |
std::vector< Variable > | LineShape::LegacyLineFunctionData::lineshapetag2variablesvector (String type) |
Line shape models. More... | |
std::vector< Variable > | LineShape::LegacyLineFunctionData::linemixingtag2variablesvector (String type) |
Line mixing models. More... | |
LegacyLineMixingData::TypeLM | LineShape::LegacyLineMixingData::string2typelm (String type) |
Line mixing types from string. More... | |
Index | LineShape::LegacyLineMixingData::typelm2nelem (LegacyLineMixingData::TypeLM type) |
Line mixing types to number. More... | |
Model | LineShape::LegacyLineMixingData::vector2modellm (Vector x, LegacyLineMixingData::TypeLM type) |
LineShape::Model from legacy input vector. More... | |
LegacyPressureBroadeningData::TypePB | LineShape::LegacyPressureBroadeningData::string2typepb (String type) |
Pressure broadening types from string. More... | |
bool | LineShape::LegacyPressureBroadeningData::self_listed (const QuantumIdentifier &qid, LegacyPressureBroadeningData::TypePB t) |
Pressure broadening if self exist. More... | |
Index | LineShape::LegacyPressureBroadeningData::typepb2nelem (LegacyPressureBroadeningData::TypePB type) |
Pressure broadening types to number of elements. More... | |
Model | LineShape::LegacyPressureBroadeningData::vector2modelpb (Vector x, LegacyPressureBroadeningData::TypePB type, bool self_in_list) |
Variables | |
constexpr Index | LineShape::nmaxTempModelParams =3 |
Current max number of coefficients. More... | |
constexpr Index | LineShape::nVars =9 |
Current max number of line shape variables. More... | |
constexpr Index | LineShape::nmaxInterpModels =12 |
#define ACCESS_INTERNAL | ( | VARPOS | ) |
Definition at line 417 of file linefunctiondata.h.
#define LSPC | ( | XVAR, | |
PVAR | |||
) |
Definition at line 719 of file linefunctiondata.h.
Referenced by LineShape::Model::this_species().
#define LSPC | ( | XVAR, | |
PVAR | |||
) |
Definition at line 719 of file linefunctiondata.h.
#define LSPC | ( | XVAR, | |
PVAR | |||
) |
Definition at line 719 of file linefunctiondata.h.
#define LSPDC | ( | XVAR, | |
DERIV, | |||
PVAR | |||
) |
#define MODELPARAMCASEGETTER | ( | X | ) | case Variable::X: return X (); |
Referenced by LineShape::SingleSpeciesModel::Get().
#define MODELPARAMCASESETTER | ( | X | ) | case Variable::X: X () = x; break |
Referenced by LineShape::SingleSpeciesModel::Set().
#define RETURNINTERNALDERIVATIVE | ( | TYPE | ) |
Referenced by LineShape::Model::GetInternalDeriv().
#define STRING2VARIABLEDEF | ( | X | ) | if(type == # X) return Variable::X |
Referenced by LineShape::string2variable().
#define VARIABLE2STRINGDEF | ( | X | ) | case Variable::X: return # X |
Referenced by LineShape::variable2string().
#define x0 X[Index(var)].X0 |
Definition at line 252 of file linefunctiondata.h.
Referenced by LineShape::SingleSpeciesModel::compute(), LineShape::SingleSpeciesModel::compute_dT(), LineShape::SingleSpeciesModel::compute_dT0(), LineShape::SingleSpeciesModel::compute_dX1(), LineShape::SingleSpeciesModel::compute_dX2(), jacobianAdjustAndTransform(), lorentz_pdf(), profile_(), test_oem_gauss_newton(), test_oem_gauss_newton_sparse(), test_oem_levenberg_marquardt(), and test_solve_linear_system().
#define x1 X[Index(var)].X1 |
Definition at line 253 of file linefunctiondata.h.
Referenced by abs_xsec_per_speciesAddPredefinedO2MPM2020(), chk_atm_vecfield_lat90(), LineShape::SingleSpeciesModel::compute(), LineShape::SingleSpeciesModel::compute_dT(), LineShape::SingleSpeciesModel::compute_dT0(), LineShape::SingleSpeciesModel::compute_dX0(), LineShape::SingleSpeciesModel::compute_dX1(), LineShape::SingleSpeciesModel::compute_dX2(), distance2D(), distance3D(), los2xyz(), ppathFromRtePos2(), rte_losGeometricFromRtePosToRtePos2(), and test_r_deriv_propagationmatrix().
#define x2 X[Index(var)].X2 |
Definition at line 254 of file linefunctiondata.h.
Referenced by abs_xsec_per_speciesAddPredefinedO2MPM2020(), bfun3_(), chk_atm_vecfield_lat90(), LineShape::SingleSpeciesModel::compute(), LineShape::SingleSpeciesModel::compute_dT(), LineShape::SingleSpeciesModel::compute_dT0(), LineShape::SingleSpeciesModel::compute_dX0(), LineShape::SingleSpeciesModel::compute_dX1(), LineShape::SingleSpeciesModel::compute_dX2(), distance2D(), distance3D(), lineshape_voigt_kuntz6(), rte_losGeometricFromRtePosToRtePos2(), and test_r_deriv_propagationmatrix().
ArrayOfString all_coefficientsLineFunctionData | ( | ) |
{"X0", "X1", "X2"}
Definition at line 33 of file linefunctiondata.cc.
Referenced by select_derivativeLineShape().
ArrayOfString all_variablesLineFunctionData | ( | ) |
{"G0", "D0", "G2", "D2", "ETA", "FVC", "Y", "G", "DV"}
Definition at line 36 of file linefunctiondata.cc.
Referenced by select_derivativeLineShape().
JacPropMatType select_derivativeLineShape | ( | const String & | var, |
const String & | coeff | ||
) |
Select the derivative that will be used in Jacobian calculations — also checks validity of var and coeff.
Definition at line 38 of file linefunctiondata.cc.