WDF2Reconstruct

class WDF2Reconstruct : public tsa::AlgoBase

Time domain detection of transients based on wavelet transform.

Setters

void SetData(Dmatrix &Data, double scale)
Parameters:
  • Data –

  • scale –

Operations

return:

a reference to a new object

inline void operator<<(SeqViewDouble &Data)
inline void operator()(SeqViewDouble &Data, double sigma)
inline int operator()(EventFullFeatured &Ev)

Getters

unsigned int GetDataVector(double &abov, double &sigmaWin, Dvector &Cmax, int &levelR, std::string &Wave)

Execute method.

inline void GetEvent(EventFullFeatured &Ev)
int GetDataNeeded()

Get the number of data needed in order to be able to call GetData successfully. If the returned value is less or equal than zero no data are needed.

Returns:

the needed data

Public Functions

WDF2Reconstruct(unsigned int window, unsigned int overlap, double thresh, double sigma, unsigned int ncoeff, enum WaveletThreshold::WaveletThresholding WTh = WaveletThreshold::cuoco)

Constructor

WDF2Reconstruct(const WDF2Reconstruct &from)

Copy constructor. Explicit (not compiler-generated): mBases holds unique_ptr<WaveletTransform>, so a deep copy has to rebuild each basis’s WaveletTransform rather than copy the pointer.

~WDF2Reconstruct()

Destructor

WDF2Reconstruct &operator=(const WDF2Reconstruct &from)

Assignement operator

Parameters:

from – The instance to be assigned from