The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
MHASignal::stat_t Class Reference
Inheritance diagram for MHASignal::stat_t:
Inheritance graph

Public Member Functions

 stat_t (const unsigned int &frames, const unsigned int &channels)
 
void mean (mha_wave_t &m)
 
void mean_std (mha_wave_t &m, mha_wave_t &s)
 
void push (const mha_wave_t &)
 
void push (const mha_real_t &x, const unsigned int &k, const unsigned int &ch)
 

Private Attributes

MHASignal::waveform_t n
 
MHASignal::waveform_t sum
 
MHASignal::waveform_t sum2
 

Constructor & Destructor Documentation

◆ stat_t()

MHASignal::stat_t::stat_t ( const unsigned int &  frames,
const unsigned int &  channels 
)

Member Function Documentation

◆ mean()

void MHASignal::stat_t::mean ( mha_wave_t m)

◆ mean_std()

void MHASignal::stat_t::mean_std ( mha_wave_t m,
mha_wave_t s 
)

◆ push() [1/2]

void MHASignal::stat_t::push ( const mha_wave_t x)

◆ push() [2/2]

void MHASignal::stat_t::push ( const mha_real_t x,
const unsigned int &  k,
const unsigned int &  ch 
)

Member Data Documentation

◆ n

MHASignal::waveform_t MHASignal::stat_t::n
private

◆ sum

MHASignal::waveform_t MHASignal::stat_t::sum
private

◆ sum2

MHASignal::waveform_t MHASignal::stat_t::sum2
private

The documentation for this class was generated from the following files: