#include <PeakPicking.h>

Public Member Functions

 PeakPicking (PPickParams Config)
 
virtual ~PeakPicking ()
 
void process (double *src, int len, std::vector< int > &onsets)
 

Private Member Functions

void initialise (PPickParams Config)
 
void deInitialise ()
 
int quadEval (std::vector< double > &src, std::vector< int > &idx)
 

Private Attributes

DFProcConfig m_DFProcessingParams
 
int m_DFLength
 
double Qfilta
 
double Qfiltb
 
double Qfiltc
 
double * m_workBuffer
 
DFProcessm_DFSmoothing
 

Detailed Description

Definition at line 86 of file PeakPicking.h.

Constructor & Destructor Documentation

PeakPicking::PeakPicking ( PPickParams  Config)

Definition at line 35 of file PeakPicking.cpp.

References initialise(), and m_workBuffer.

PeakPicking::~PeakPicking ( )
virtual

Definition at line 41 of file PeakPicking.cpp.

References deInitialise().

Member Function Documentation

void PeakPicking::process ( double *  src,
int  len,
std::vector< int > &  onsets 
)

Definition at line 76 of file PeakPicking.cpp.

References m_DFSmoothing, m_workBuffer, DFProcess::process(), and quadEval().

void PeakPicking::deInitialise ( )
private

Definition at line 69 of file PeakPicking.cpp.

References m_DFSmoothing, and m_workBuffer.

Referenced by ~PeakPicking().

int PeakPicking::quadEval ( std::vector< double > &  src,
std::vector< int > &  idx 
)
private

Definition at line 96 of file PeakPicking.cpp.

References TPolyFit::PolyFit2(), and Qfiltc.

Referenced by process().

Member Data Documentation

DFProcConfig PeakPicking::m_DFProcessingParams
private

Definition at line 99 of file PeakPicking.h.

Referenced by initialise().

int PeakPicking::m_DFLength
private

Definition at line 101 of file PeakPicking.h.

Referenced by initialise().

double PeakPicking::Qfilta
private

Definition at line 102 of file PeakPicking.h.

Referenced by initialise().

double PeakPicking::Qfiltb
private

Definition at line 103 of file PeakPicking.h.

Referenced by initialise().

double PeakPicking::Qfiltc
private

Definition at line 104 of file PeakPicking.h.

Referenced by initialise(), and quadEval().

double* PeakPicking::m_workBuffer
private

Definition at line 106 of file PeakPicking.h.

Referenced by deInitialise(), initialise(), PeakPicking(), and process().

DFProcess* PeakPicking::m_DFSmoothing
private

Definition at line 108 of file PeakPicking.h.

Referenced by deInitialise(), initialise(), and process().


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