RLSCanceler

class RLSCanceler : public tsa::AlgoBase

Operations

void execute(Dmatrix &Input, Dmatrix &Output, Dmatrix &ReferenceSigna)
Parameters:
  • Input – input data

  • ReferenceSignal – noise reference signal

  • Output – cleaned data

void execute(Dmatrix &Input, Dmatrix &Output)
Parameters:
  • Input – input data

  • Output – whitened data

Getters

inline double Getlstart()
Returns:

the last step

inline double GetWeights(unsigned int j, unsigned int channel)
Parameters:
  • j – index of the weights

  • channel – channel to which the weights belong

Returns:

yhe weights of the RLS filter

Public Functions

RLSCanceler(unsigned int Order, double delta, double lambda, unsigned int Channels)

Constructor

Parameters:
  • Order – order of the filter

  • delta – guessed inverse rms

  • lambda – forgetting factor

  • Channels – number of channels of the incoming data

Returns:

RLSCanceler(const RLSCanceler &from)

Copy constructor

Parameters:

from – The instance that must be copied

virtual ~RLSCanceler()

Destructor

RLSCanceler &operator=(const RLSCanceler &from)

Assignement operator

Parameters:

from – The instance to be assigned from

Returns:

a reference to a new object

void operator()(SeqViewDouble &InputData, SeqViewDouble &CleanedData)
Parameters:
  • InputData

  • CleanedData

void operator()(SeqViewDouble &InputData, SeqViewDouble &CleanedData, SeqViewDouble &ReferenceSignal)
Parameters:
  • InputData

  • CleanedData

  • ReferenceSignal