ARTS
2.4.0(git:4fb77825)
|
Stuff related to generating y-data from raw data. More...
Go to the source code of this file.
Functions | |
void | yColdAtmHot (Vector &y, const Vector &cold, const Vector &atm, const Vector &hot, const Numeric &cold_temp, const Numeric &hot_temp, const Index &calib, const Verbosity &) |
WORKSPACE METHOD: yColdAtmHot. More... | |
void | ybatchTimeAveraging (ArrayOfVector &ybatch, ArrayOfTime &time_grid, ArrayOfMatrix &covmat_sepsbatch, ArrayOfIndex &counts, const String &time_step, const Index &disregard_first, const Index &disregard_last, const Verbosity &) |
WORKSPACE METHOD: ybatchTimeAveraging. More... | |
void | ybatchTroposphericCorrectionNaiveMedianForward (ArrayOfVector &ybatch_corr, ArrayOfVector &ybatch, const ArrayOfIndex &range, const Vector &trop_temp, const Numeric &targ_temp, const Verbosity &) |
WORKSPACE METHOD: ybatchTroposphericCorrectionNaiveMedianForward. More... | |
void | ybatchTroposphericCorrectionNaiveMedianInverse (ArrayOfVector &ybatch, const ArrayOfVector &ybatch_corr, const Verbosity &) |
WORKSPACE METHOD: ybatchTroposphericCorrectionNaiveMedianInverse. More... | |
void ybatchTimeAveraging | ( | ArrayOfVector & | ybatch, |
ArrayOfTime & | time_grid, | ||
ArrayOfMatrix & | covmat_sepsbatch, | ||
ArrayOfIndex & | counts, | ||
const String & | time_step, | ||
const Index & | disregard_first, | ||
const Index & | disregard_last, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: ybatchTimeAveraging.
Time average of ybatch and time_grid
Computes the internal covariance matrix in covmat_sepsbatch, and stores the number of elements per averaging in counts
[in,out] | ybatch | WS Input/Output |
[in,out] | time_grid | WS Input/Output |
[out] | covmat_sepsbatch | WS Output |
[out] | counts | WS Output |
[in] | time_step | Generic Input |
[in] | disregard_first | Generic Input (Default: "0") |
[in] | disregard_last | Generic Input (Default: "0") |
Definition at line 58 of file m_raw.cc.
References ARTS::Var::counts(), ARTS::Var::covmat_sepsbatch(), is_sorted(), ARTS::Var::time_grid(), and time_steps().
Referenced by ybatchTimeAveraging_g().
void ybatchTroposphericCorrectionNaiveMedianForward | ( | ArrayOfVector & | ybatch_corr, |
ArrayOfVector & | ybatch, | ||
const ArrayOfIndex & | range, | ||
const Vector & | trop_temp, | ||
const Numeric & | targ_temp, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: ybatchTroposphericCorrectionNaiveMedianForward.
Performs naive tropospheric corrections on ybatch
Sets ybatch_corr to be able to perform the inverse of the corrections, each array-element with 3 entries as [median, part_trans, trop_temp]
[out] | ybatch_corr | WS Output |
[in,out] | ybatch | WS Input/Output |
[in] | range | Generic Input |
[in] | trop_temp | Generic Input |
[in] | targ_temp | Generic Input (Default: "2.73") |
Definition at line 135 of file m_raw.cc.
References linalg::median(), ConstVectorView::nelem(), ARTS::Var::y(), ARTS::Var::ybatch(), and ARTS::Var::ybatch_corr().
Referenced by ybatchTroposphericCorrectionNaiveMedianForward_g().
void ybatchTroposphericCorrectionNaiveMedianInverse | ( | ArrayOfVector & | ybatch, |
const ArrayOfVector & | ybatch_corr, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: ybatchTroposphericCorrectionNaiveMedianInverse.
Performs inverse of naive tropospheric corrections on ybatch
[in,out] | ybatch | WS Input/Output |
[in] | ybatch_corr | WS Input |
Definition at line 170 of file m_raw.cc.
References ARTS::Var::ybatch(), and ARTS::Var::ybatch_corr().
Referenced by ybatchTroposphericCorrectionNaiveMedianInverse_g().
void yColdAtmHot | ( | Vector & | y, |
const Vector & | cold, | ||
const Vector & | atm, | ||
const Vector & | hot, | ||
const Numeric & | cold_temp, | ||
const Numeric & | hot_temp, | ||
const Index & | calib, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: yColdAtmHot.
Computes y from input using standard calibration scheme of cold-atm-hot observations
If calib evaluates as true: <br> y = cold_temp + (hot_temp - cold_temp) * (atm - cold) / (hot - cold)
If calib evaluates as false: <br> y = (hot_temp * cold - cold_temp * hot) / (hot - cold)
[out] | y | WS Output |
[in] | cold | Generic Input |
[in] | atm | Generic Input |
[in] | hot | Generic Input |
[in] | cold_temp | Generic Input |
[in] | hot_temp | Generic Input |
[in] | calib | Generic Input (Default: "1") |
Definition at line 32 of file m_raw.cc.
References calibration(), ConstVectorView::nelem(), systemtemp(), and ARTS::Var::y().
Referenced by yColdAtmHot_g().