55 const std::vector<float>& dq_v,
56 std::vector<float>& dq_trunc_v,
57 const float& nsigma = 1);
73 const size_t& currentiteration,
75 const float& convergencelimit,
85 float Mean(
const std::vector<float>& v);
86 float Median(
const std::vector<float>& v);
87 float RMS(
const std::vector<float>& v);
static constexpr 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 ...