ARTS  2.3.1285(git:92a29ea9-dirty)
raw.h File Reference

Stuff related to generating y-data from raw data. More...

#include "covariance_matrix.h"
#include "matpackI.h"

Go to the source code of this file.

Namespaces

 linalg
 

Functions

constexpr Numeric calibration (Numeric pc, Numeric pa, Numeric ph, Numeric tc, Numeric th) noexcept
 Computes the linear calibration formula. More...
 
constexpr Numeric systemtemp (Numeric pc, Numeric ph, Numeric tc, Numeric th) noexcept
 Computes the linear receiver temperature formula. More...
 
void linalg::avg (VectorView y, const ArrayOfVector &ys, const Index start=0, const Index end=-1)
 Compute the average of the ranged ys. More...
 
void linalg::std (VectorView std, const Vector &y, const ArrayOfVector &ys, const Index start=0, const Index end=-1)
 Compute the standard deviation of the ranged ys. More...
 
void linalg::var (VectorView var, const Vector &y, const ArrayOfVector &ys, const Index start=0, const Index end=-1)
 Compute the variance of the ranged ys. More...
 
void linalg::cov (MatrixView cov, const Vector &y, const ArrayOfVector &ys, const Index start=0, const Index end=-1)
 Compute the covariance matrix of the ranged ys. More...
 
Numeric linalg::median (const ConstVectorView v, const ArrayOfIndex &pos=ArrayOfIndex{})
 Get the median of the vector in the range. More...
 

Detailed Description

Stuff related to generating y-data from raw data.

Author
Richard Larsson
Date
2020-04-13

Definition in file raw.h.

Function Documentation

◆ calibration()

constexpr Numeric calibration ( Numeric  pc,
Numeric  pa,
Numeric  ph,
Numeric  tc,
Numeric  th 
)
noexcept

Computes the linear calibration formula.

\[ T_a = T_c + \frac{(T_h - T_c)(P_a - P_c)}{P_h - P_c} \]

Parameters
[in]pc$ P_c $, linear power of cold load; cold count
[in]pa$ P_a $, linear power of atmospheric measurement; atmospheric count
[in]ph$ P_h $, linear power of got load; hot count
[in]tc$ T_c $, cold load temperature
[in]th$ T_h $, hot load temperature
Returns
$ T_a $, atmospheric temperature

Definition at line 44 of file raw.h.

Referenced by yColdAtmHot().

◆ systemtemp()

constexpr Numeric systemtemp ( Numeric  pc,
Numeric  ph,
Numeric  tc,
Numeric  th 
)
noexcept

Computes the linear receiver temperature formula.

\[ T_r = \frac{T_hP_c - T_cP_h}{P_h - P_c} \]

Parameters
[in]pc$ P_c $, linear power of cold load; cold count
[in]ph$ P_h $, linear power of got load; hot count
[in]tc$ T_c $, cold load temperature
[in]th$ T_h $, hot load temperature
Returns
$ T_r $, receiver temperature

Definition at line 59 of file raw.h.

Referenced by yColdAtmHot().