SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SourceXtractor::KappaSigmaBinning< VarType >::Stats Struct Reference

Public Member Functions

void operator() (VarType v)
 
std::tuple< double, double, size_tget ()
 
void reset ()
 

Public Attributes

double mean = 0
 
double sigma = 0
 
size_t ndata = 0
 

Detailed Description

template<typename VarType>
struct SourceXtractor::KappaSigmaBinning< VarType >::Stats

Online mean and standard deviation computation Similar to boost::accumulators, but this turned out to be faster

Definition at line 138 of file KappaSigmaBinning.h.

Member Function Documentation

◆ get()

◆ operator()()

template<typename VarType >
void SourceXtractor::KappaSigmaBinning< VarType >::Stats::operator() ( VarType v)
inline

◆ reset()

template<typename VarType >
void SourceXtractor::KappaSigmaBinning< VarType >::Stats::reset ( )
inline

Member Data Documentation

◆ mean

◆ ndata

◆ sigma


The documentation for this struct was generated from the following file: