ARTS
2.4.0(git:4fb77825)
|
Deals with internal derivatives, Jacobian definition, and OEM calculations. More...
#include <jacobian.h>
Public Member Functions | |
RetrievalQuantity () | |
Default constructor. More... | |
RetrievalQuantity (const String &maintag, const String &subtag, const String &subsubtag, const String &mode, const Index &analytical, const Numeric &perturbation, const ArrayOfVector &grids) | |
Constructor that sets the values. More... | |
const String & | MainTag () const |
Returns the main tag. More... | |
void | MainTag (const String &mt) |
Sets the main tag. More... | |
const String & | Subtag () const |
Returns the sub-tag. More... | |
void | Subtag (const String &st) |
Sets the sub-tag. More... | |
const String & | SubSubtag () const |
Returns the sub-sub-tag. More... | |
void | SubSubtag (const String &sst) |
Sets the sub-sub-tag. More... | |
const String & | Mode () const |
Returns the mode. More... | |
void | Mode (const String &m) |
Sets the mode. More... | |
const Index & | Analytical () const |
Returns the analytical tag. More... | |
void | Analytical (const Index &m) |
Sets the analytical tag. More... | |
const Numeric & | Perturbation () const |
Returns the size of perturbation. More... | |
void | Perturbation (const Numeric &p) |
Sets the size of perturbation. More... | |
const ArrayOfVector & | Grids () const |
Returns the grids of the retrieval. More... | |
void | Grids (const ArrayOfVector &g) |
Sets the grids of the retrieval. More... | |
JacPropMatType | PropMatType () const |
Returns the propagation matrix derivative type. More... | |
void | PropType (const JacPropMatType t) |
Sets the propagation matrix derivative type. More... | |
bool | operator== (const JacPropMatType t) const |
Checks if this represents the propagation matrix derivative type. More... | |
bool | operator!= (const JacPropMatType t) const |
Returns "not operator==(t)". More... | |
Index | nelem () const |
Number of elements in the grids. More... | |
const QuantumIdentifier & | QuantumIdentity () const |
Returns the identity of this Jacobian. More... | |
void | QuantumIdentity (const QuantumIdentifier &qi) |
Sets the identity of this Jacobian. More... | |
bool | Integration () const |
Do integration? More... | |
void | IntegrationOn () |
Sets the integration flag to true. More... | |
void | IntegrationOff () |
Sets the integration flag to false. More... | |
void | SetTransformationFunc (const String &s) |
Transformation. More... | |
void | SetTFuncParameters (const Vector &p) |
void | SetTransformationMatrix (const Matrix &A) |
void | SetOffsetVector (const Vector &b) |
bool | HasAffine () const |
const String & | TransformationFunc () const |
const Vector & | TFuncParameters () const |
const Matrix & | TransformationMatrix () const |
const Vector & | OffsetVector () const |
bool | HasSameInternalsAs (const RetrievalQuantity &a) const |
Checks that all the internal variables of *this match with those of the input. More... | |
String & | MainTag () |
String & | SubTag () |
String & | SubSubTag () |
String & | Mode () |
Index & | Analytical () |
Numeric & | Perturbation () |
ArrayOfVector & | Grids () |
QuantumIdentifier & | QuantumIdentity () |
JacPropMatType | Proptype () const |
Index | Proptype (JacPropMatType x) |
void | Integration (bool x) |
String & | TransformationFunc () |
Vector & | TFuncParameters () |
Matrix & | Transformation () |
Vector & | Offset () |
Static Public Member Functions | |
static bool | validProptype (JacPropMatType x) noexcept |
Deals with internal derivatives, Jacobian definition, and OEM calculations.
Definition at line 120 of file jacobian.h.
|
inline |
|
inline |
Constructor that sets the values.
[in] | maintag | The main derivative |
[in] | subtag | The sub-derivative |
[in] | subsubtag | The sub-sub-derivative |
[in] | mode | The mode of the derivative |
[in] | analytical | Boolean analytical tag |
[in] | perturbation | The size of the perturbation required |
[in] | grids | The retrieval grid |
Definition at line 146 of file jacobian.h.
|
inline |
Definition at line 367 of file jacobian.h.
References manalytical.
|
inline |
Returns the analytical tag.
Boolean to make analytical calculations (if possible).
Definition at line 227 of file jacobian.h.
References manalytical.
Referenced by jacobianAddAbsSpecies(), jacobianAddBasicCatalogParameter(), jacobianAddFreqShift(), jacobianAddFreqStretch(), jacobianAddMagField(), jacobianAddNLTE(), jacobianAddPointingZa(), jacobianAddPolyfit(), jacobianAddScatSpecies(), jacobianAddShapeCatalogParameter(), jacobianAddSinefit(), jacobianAddSpecialSpecies(), jacobianAddSurfaceQuantity(), jacobianAddTemperature(), jacobianAddWind(), operator<<(), and xml_write_to_stream().
|
inline |
Sets the analytical tag.
[in] | m | An analytical tag |
Definition at line 233 of file jacobian.h.
References manalytical.
|
inline |
Definition at line 369 of file jacobian.h.
References mgrids.
|
inline |
Returns the grids of the retrieval.
Grids. Definition grids for the jacobian, eg. p, lat and lon.
Definition at line 255 of file jacobian.h.
References mgrids.
Referenced by check_and_add_block(), create_covariance_matrix_1D(), create_sparse_covariance_matrix_1D(), diy_from_path_to_rgrids(), diy_from_pos_to_rgrids(), get_gp_atmgrids_to_rq(), get_gp_atmsurf_to_rq(), jacobianAddAbsSpecies(), jacobianAddFreqShift(), jacobianAddFreqStretch(), jacobianAddMagField(), jacobianAddNLTE(), jacobianAddPointingZa(), jacobianAddPolyfit(), jacobianAddScatSpecies(), jacobianAddShapeCatalogParameter(), jacobianAddSinefit(), jacobianAddSpecialSpecies(), jacobianAddSurfaceQuantity(), jacobianAddTemperature(), jacobianAddWind(), jacobianCalcFreqShift(), jacobianCalcFreqStretch(), jacobianCalcPointingZaInterp(), jacobianCalcPointingZaRecalc(), and xml_write_to_stream().
|
inline |
Sets the grids of the retrieval.
[in] | g | The grids of the retrieval |
Definition at line 261 of file jacobian.h.
References mgrids.
|
inline |
Definition at line 343 of file jacobian.h.
References ConstMatrixView::empty(), and transformation_matrix.
Referenced by jac_ranges_indices(), transform_x(), and transform_x_back().
|
inline |
Checks that all the internal variables of *this match with those of the input.
[in] | a | Another retrieval quantity object |
Definition at line 355 of file jacobian.h.
References manalytical, mmaintag, mmode, mproptype, mquantumidentifier, msubsubtag, and msubtag.
|
inline |
Do integration?
Definition at line 326 of file jacobian.h.
References mintegration_flag.
Referenced by diy_from_path_to_rgrids().
|
inline |
Definition at line 374 of file jacobian.h.
References mintegration_flag, and ARTS::Var::x().
|
inline |
Sets the integration flag to false.
Definition at line 332 of file jacobian.h.
References mintegration_flag.
|
inline |
Sets the integration flag to true.
Definition at line 329 of file jacobian.h.
References mintegration_flag.
Referenced by jacobianAddBasicCatalogParameter(), and jacobianAddShapeCatalogParameter().
|
inline |
Definition at line 363 of file jacobian.h.
References mmaintag.
|
inline |
Returns the main tag.
Definition at line 170 of file jacobian.h.
References mmaintag.
Referenced by calcBaselineFit(), jacobianAddAbsSpecies(), jacobianAddBasicCatalogParameter(), jacobianAddFreqShift(), jacobianAddFreqStretch(), jacobianAddMagField(), jacobianAddNLTE(), jacobianAddPointingZa(), jacobianAddPolyfit(), jacobianAddScatSpecies(), jacobianAddShapeCatalogParameter(), jacobianAddSinefit(), jacobianAddSpecialSpecies(), jacobianAddSurfaceQuantity(), jacobianAddTemperature(), jacobianAddWind(), operator<<(), and xml_write_to_stream().
|
inline |
Sets the main tag.
[in] | mt | A main tag |
Definition at line 176 of file jacobian.h.
References mmaintag.
|
inline |
Definition at line 366 of file jacobian.h.
References mmode.
|
inline |
Returns the mode.
Calculation mode. Eg. "abs", "rel", "vmr", "nd", "From propagation matrix". Note that the latter of these only supports "vmr" for abs species.
Definition at line 213 of file jacobian.h.
References mmode.
Referenced by jacobianAddAbsSpecies(), jacobianAddBasicCatalogParameter(), jacobianAddFreqShift(), jacobianAddFreqStretch(), jacobianAddPointingZa(), jacobianAddPolyfit(), jacobianAddShapeCatalogParameter(), jacobianAddSinefit(), jacobianAddTemperature(), operator<<(), and xml_write_to_stream().
|
inline |
|
inline |
Number of elements in the grids.
The multiplicative accumulation of grid elements
Definition at line 297 of file jacobian.h.
References mgrids, and Array< base >::nelem().
Referenced by jac_ranges_indices().
|
inline |
Definition at line 378 of file jacobian.h.
References offset_vector.
|
inline |
Definition at line 347 of file jacobian.h.
References offset_vector.
Referenced by transform_x(), and transform_x_back().
|
inline |
Returns "not operator==(t)".
[in] | t | A propagation matrix derivative type |
Definition at line 289 of file jacobian.h.
References operator==().
|
inline |
Checks if this represents the propagation matrix derivative type.
[in] | t | A propagation matrix derivative type |
Definition at line 281 of file jacobian.h.
References mproptype.
Referenced by operator!=().
|
inline |
Definition at line 368 of file jacobian.h.
References mperturbation.
|
inline |
Returns the size of perturbation.
Size of perturbation used for perturbation calculations
Definition at line 241 of file jacobian.h.
References mperturbation.
Referenced by jacobianAddAbsSpecies(), jacobianAddFreqShift(), jacobianAddFreqStretch(), jacobianAddMagField(), jacobianAddNLTE(), jacobianAddPointingZa(), jacobianAddPolyfit(), jacobianAddSinefit(), jacobianAddTemperature(), jacobianAddWind(), jacobianCalcFreqShift(), jacobianCalcFreqStretch(), jacobianCalcPointingZaInterp(), jacobianCalcPointingZaRecalc(), and xml_write_to_stream().
|
inline |
Sets the size of perturbation.
[in] | p | The size of perturbation |
Definition at line 247 of file jacobian.h.
References mperturbation.
|
inline |
Returns the propagation matrix derivative type.
Definition at line 267 of file jacobian.h.
References mproptype.
Referenced by propmattype_string().
|
inline |
Definition at line 371 of file jacobian.h.
References mproptype.
|
inline |
Sets the propagation matrix derivative type.
[in] | t | The propagation matrix derivative type |
Definition at line 273 of file jacobian.h.
References mproptype.
Referenced by jacobianAddAbsSpecies(), jacobianAddBasicCatalogParameter(), jacobianAddMagField(), jacobianAddShapeCatalogParameter(), jacobianAddSpecialSpecies(), jacobianAddTemperature(), and jacobianAddWind().
|
inline |
Definition at line 372 of file jacobian.h.
References mproptype, validProptype(), and ARTS::Var::x().
|
inline |
Definition at line 370 of file jacobian.h.
References mquantumidentifier.
|
inline |
Returns the identity of this Jacobian.
QuantumIdentifier as necessary for matching line specific parameters to Jacobian grid
Definition at line 311 of file jacobian.h.
References mquantumidentifier.
Referenced by Linefunctions::apply_lineshapemodel_jacobian_scaling(), jacobianAddAbsSpecies(), jacobianAddBasicCatalogParameter(), jacobianAddNLTE(), jacobianAddShapeCatalogParameter(), species_iso_match(), and species_match().
|
inline |
Sets the identity of this Jacobian.
[in] | qi | The identity of this Jacobian |
Definition at line 319 of file jacobian.h.
References mquantumidentifier.
|
inline |
Definition at line 342 of file jacobian.h.
References offset_vector.
|
inline |
Definition at line 340 of file jacobian.h.
References tfunc_parameters.
|
inline |
Transformation.
FIXMEDOC@Simon The transformations are yours to fix and document FIXMEDOC@Patrick The transformations are yours to fix and document
Definition at line 339 of file jacobian.h.
References transformation_func.
|
inline |
Definition at line 341 of file jacobian.h.
References transformation_matrix.
|
inline |
Definition at line 365 of file jacobian.h.
References msubsubtag.
|
inline |
Returns the sub-sub-tag.
SubSubtag. Eg. for scat species fields: mass_density, mass_flux, ...
Definition at line 198 of file jacobian.h.
References msubsubtag.
Referenced by jacobianAddAbsSpecies(), jacobianAddBasicCatalogParameter(), jacobianAddMagField(), jacobianAddNLTE(), jacobianAddScatSpecies(), jacobianAddShapeCatalogParameter(), jacobianAddSpecialSpecies(), jacobianAddTemperature(), jacobianAddWind(), and xml_write_to_stream().
|
inline |
Sets the sub-sub-tag.
[in] | sst | A sub-sub-tag |
Definition at line 204 of file jacobian.h.
References msubsubtag.
|
inline |
Definition at line 364 of file jacobian.h.
References msubtag.
|
inline |
Returns the sub-tag.
Subtag. Eg. for gas species: O3, ClO
Definition at line 184 of file jacobian.h.
References msubtag.
Referenced by jacobianAddAbsSpecies(), jacobianAddFreqShift(), jacobianAddFreqStretch(), jacobianAddMagField(), jacobianAddPointingZa(), jacobianAddPolyfit(), jacobianAddScatSpecies(), jacobianAddSinefit(), jacobianAddSurfaceQuantity(), jacobianAddTemperature(), jacobianAddWind(), operator<<(), species_match(), and xml_write_to_stream().
|
inline |
Sets the sub-tag.
[in] | st | A sub-tag |
Definition at line 190 of file jacobian.h.
References msubtag.
|
inline |
Definition at line 376 of file jacobian.h.
References tfunc_parameters.
|
inline |
Definition at line 345 of file jacobian.h.
References tfunc_parameters.
Referenced by transform_x(), and transform_x_back().
|
inline |
Definition at line 377 of file jacobian.h.
References transformation_matrix.
|
inline |
Definition at line 375 of file jacobian.h.
References transformation_func.
|
inline |
Definition at line 344 of file jacobian.h.
References transformation_func.
Referenced by transform_jacobian(), transform_x(), and transform_x_back().
|
inline |
Definition at line 346 of file jacobian.h.
References transformation_matrix.
Referenced by jac_ranges_indices(), transform_x(), and transform_x_back().
|
inlinestaticnoexcept |
Definition at line 373 of file jacobian.h.
References VMR, and ARTS::Var::x().
Referenced by Proptype().
|
private |
Definition at line 385 of file jacobian.h.
Referenced by Analytical(), and HasSameInternalsAs().
|
private |
Definition at line 387 of file jacobian.h.
|
private |
Definition at line 390 of file jacobian.h.
Referenced by Integration(), IntegrationOff(), and IntegrationOn().
|
private |
Definition at line 381 of file jacobian.h.
Referenced by HasSameInternalsAs(), and MainTag().
|
private |
Definition at line 384 of file jacobian.h.
Referenced by HasSameInternalsAs(), and Mode().
|
private |
Definition at line 386 of file jacobian.h.
Referenced by Perturbation().
|
private |
Definition at line 389 of file jacobian.h.
Referenced by HasSameInternalsAs(), operator==(), PropMatType(), Proptype(), and PropType().
|
private |
Definition at line 388 of file jacobian.h.
Referenced by HasSameInternalsAs(), and QuantumIdentity().
|
private |
Definition at line 383 of file jacobian.h.
Referenced by HasSameInternalsAs(), SubSubTag(), and SubSubtag().
|
private |
Definition at line 382 of file jacobian.h.
Referenced by HasSameInternalsAs(), SubTag(), and Subtag().
|
private |
Definition at line 396 of file jacobian.h.
Referenced by Offset(), OffsetVector(), and SetOffsetVector().
|
private |
Definition at line 393 of file jacobian.h.
Referenced by SetTFuncParameters(), and TFuncParameters().
|
private |
Definition at line 392 of file jacobian.h.
Referenced by SetTransformationFunc(), and TransformationFunc().
|
private |
Definition at line 395 of file jacobian.h.
Referenced by HasAffine(), SetTransformationMatrix(), Transformation(), and TransformationMatrix().