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
- Parameters:
Input – Input Sequence of Data
Output – the cleaned sequence of data, with lines removed
- Pre:
The starting frequency list and its parameters must be given
Getters
-
inline double Getlstart()¶
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
-
virtual ~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
- Parameters:
from – The instance to be assigned from
- Returns:
a reference to a new object
-
void execute(Dmatrix &Input, Dmatrix &Output)¶