UFO
ProbabilityOfGrossError.cc File Reference
Include dependency graph for ProbabilityOfGrossError.cc:

Go to the source code of this file.

Namespaces

 ufo
 

Functions

void ufo::BayesianPGEUpdate (const ProbabilityOfGrossErrorParameters &options, const std::vector< float > &obsVal, const std::vector< float > &obsErr, const std::vector< float > &bkgVal, const std::vector< float > &bkgErr, const std::vector< float > &PdBad, const bool ModelLevels, std::vector< int > &flags, std::vector< float > &PGE, std::vector< float > &PGEBd, float ErrVarMax=-1, const std::vector< float > *obsVal2=nullptr, const std::vector< float > *bkgVal2=nullptr)
 Bayesian update of probability of gross error (PGE) for scalar (1D) or vector (2D) observables. This routine can process both single observations and observations on profile levels. In the vector case, the variance is assumed to be isotropic and obsErr and bkgErr give the error in a single vector component. More...