ARTS 2.5.4 (git: 31ce4f0e)
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

namespace  Raw
 
namespace  Raw::Calibration
 
namespace  Raw::Average
 
namespace  Raw::Reduce
 
namespace  Raw::Mask
 
namespace  Raw::Correction
 

Functions

constexpr Numeric Raw::Calibration::calibration (Numeric pc, Numeric pa, Numeric ph, Numeric tc, Numeric th) noexcept
 Computes the linear calibration formula. More...
 
Vector Raw::Calibration::calibration (const Vector &pc, const Vector &pa, const Vector &ph, Numeric tc, Numeric th) noexcept
 Computes the linear calibration formula elementwise. More...
 
constexpr Numeric Raw::Calibration::systemtemp (Numeric pc, Numeric ph, Numeric tc, Numeric th) noexcept
 Computes the linear receiver temperature formula. More...
 
Vector Raw::Calibration::systemtemp (const Vector &pc, const Vector &ph, Numeric tc, Numeric th) noexcept
 Computes the linear receiver temperature formula elementwise. More...
 
ArrayOfVector Raw::Calibration::caha (const ArrayOfVector &data, const Vector &tcvec, const Vector &thvec, const Index first_c_index)
 Calibrate the data by CAHA. More...
 
VectorView Raw::Average::avg (VectorView y, const ArrayOfVector &ys, const Index start=0, const Index end=-1)
 Compute the average of the ranged ys. More...
 
VectorView Raw::Average::nanavg (VectorView y, const ArrayOfVector &ys, const Index start=0, const Index end=-1)
 Compute the average of the ranged ys ignoring all non-normal values. More...
 
VectorView Raw::Average::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...
 
VectorView Raw::Average::nanstd (VectorView std, const Vector &y, const ArrayOfVector &ys, const Index start=0, const Index end=-1)
 Compute the standard deviation of the ranged ys ignoring all non-normal values. More...
 
VectorView Raw::Average::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...
 
VectorView Raw::Average::nanvar (VectorView var, const Vector &y, const ArrayOfVector &ys, const Index start=0, const Index end=-1)
 Compute the variance of the ranged ys ignoring all non-normal values. More...
 
MatrixView Raw::Average::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 Raw::Average::median (const ConstVectorView &v, const ArrayOfIndex &pos=ArrayOfIndex{})
 Get the median of the vector in the range. More...
 
Numeric Raw::Average::nanmedian (const ConstVectorView &v, const ArrayOfIndex &pos=ArrayOfIndex{})
 Get the median of the vector in the range ignoring all non-normal values. More...
 
ArrayOfIndex Raw::Reduce::focus_doublescaling (const Vector &x, const Numeric x0, const Numeric dx)
 Returns the relative position scale for each value in x. More...
 
Vector Raw::Reduce::focus (const Vector &x, const ArrayOfIndex &scaling)
 Returns the re-averaged values of x according to scaling. More...
 
Vector Raw::Reduce::nanfocus (const Vector &x, const ArrayOfIndex &scaling)
 Returns the re-averaged values of x according to scaling ignoring all non-normal values. More...
 
std::vector< bool > Raw::Mask::out_of_bounds (const Vector &x, const Numeric xmin, const Numeric xmax)
 Masks values that are out of bounds in x. More...
 
VectorView Raw::Mask::mask (VectorView x, const std::vector< bool > &masking)
 Masks all true entries of masking in x by turning them into NaN. More...
 
Numeric Raw::Correction::naive_tropospheric_singletau_median (const ConstVectorView &bt, const Numeric trop_bt, const Numeric target_bt)
 Naive tropospheric correction parameterization. More...
 
VectorView Raw::Correction::naive_tropospheric (VectorView bt, const Numeric tau, const Numeric trop_bt)
 Apply tropospheric correction. More...
 

Detailed Description

Stuff related to generating y-data from raw data.

Author
Richard Larsson
Date
2020-04-13

Definition in file raw.h.