55 std::vector<float>& dq_trunc_v,
const float& nsigma = 1);
69 const size_t& nmax,
const size_t& currentiteration,
71 const float& convergencelimit,
81 float Mean (
const std::vector<float>& v);
82 float Median(
const std::vector<float>& v);
83 float RMS (
const std::vector<float>& v);
static const float kINVALID_FLOAT
float Median(const std::vector< float > &v)
void setRadius(const float &rad)
Set the smearing radius over which to take hits for truncated mean computaton.
float RMS(const std::vector< float > &v)
float CalcIterativeTruncMean(std::vector< float > v, const size_t &nmin, const size_t &nmax, const size_t ¤titeration, const size_t &lmin, const float &convergencelimit, const float &nsigma, const float &oldmed=kINVALID_FLOAT)
Iteratively calculate the truncated mean of a distribution std::vector<float> v -> vector of values ...
float Mean(const std::vector< float > &v)
void CalcTruncMeanProfile(const std::vector< float > &rr_v, const std::vector< float > &dq_v, std::vector< float > &dq_trunc_v, const float &nsigma=1)
Given residual range and dq vectors return truncated local dq. Input vectors are assumed to be match ...