ARTS  2.3.1285(git:92a29ea9-dirty)
linefunctiondata.cc File Reference

Contains the line function data class. More...

#include "linefunctiondata.h"

Go to the source code of this file.

Macros

#define ReturnJacPropMatType(ID)
 

Functions

ArrayOfString all_coefficientsLineFunctionData ()
 {"X0", "X1", "X2"} More...
 
ArrayOfString all_variablesLineFunctionData ()
 {"G0", "D0", "G2", "D2", "ETA", "FVC", "Y", "G", "DV"} More...
 
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...
 

Detailed Description

Contains the line function data class.

Author
Richard Larsson
Date
2018-09-19

Definition in file linefunctiondata.cc.

Macro Definition Documentation

◆ ReturnJacPropMatType

#define ReturnJacPropMatType (   ID)
Value:
(var == #ID) { if(coeff == "X0") return JacPropMatType::LineShape ## ID ## X0; \
else if(coeff == "X1") return JacPropMatType::LineShape ## ID ## X1; \
else if(coeff == "X2") return JacPropMatType::LineShape ## ID ## X2; }
void var(VectorView var, const Vector &y, const ArrayOfVector &ys, const Index start=0, const Index end=-1)
Compute the variance of the ranged ys.
Definition: raw.cc:49

Function Documentation

◆ all_coefficientsLineFunctionData()

ArrayOfString all_coefficientsLineFunctionData ( )

{"X0", "X1", "X2"}

Definition at line 33 of file linefunctiondata.cc.

Referenced by select_derivativeLineShape().

◆ all_variablesLineFunctionData()

ArrayOfString all_variablesLineFunctionData ( )

{"G0", "D0", "G2", "D2", "ETA", "FVC", "Y", "G", "DV"}

Definition at line 36 of file linefunctiondata.cc.

Referenced by select_derivativeLineShape().

◆ 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.

Return the derivative type based on string input.

Definition at line 38 of file linefunctiondata.cc.

Referenced by jacobianAddShapeCatalogParameter().