NotchWidrow

class NotchWidrow : public tsa::AlgoBase

Implement the lines removal using adaptive notch filters, with the Least Mean Squared method, Widrow’s like.

Operations

void execute(Dmatrix &Input, Dmatrix &Output)

Declaration of execute operation

Pre

The starting frequency list and its parameters must be given

Parameters
  • Input: Input Sequence of Data

  • Output: the cleaned sequence of data, with lines removed

Public Functions

NotchWidrow(unsigned int channels, Dmatrix &FrequencyList, double C = 1.0)

Constructor

Parameters
  • FrequencyList: is a matrix containing the list of frequency to be removed.

NotchWidrow(const NotchWidrow &from)

Copy constructor

Parameters
  • from: The instance that must be copied

~NotchWidrow()

Destructor

void operator()(SeqViewDouble &InputData, SeqViewDouble &CleanedData)

Parameters
  • InputData:

  • CleanedData:

void operator()(SeqViewDouble &InputData, SeqViewDouble &CleanedData, SeqViewDouble &ReferenceSignal)

Parameters
  • InputData:

  • CleanedData:

  • ReferenceSignal:

NotchWidrow &operator=(const NotchWidrow &from)

Assignement operator

Return

a reference to a new object

Parameters
  • from: The instance to be assigned from