35 AdaptFilter(
const gplib::rvec &Input,
const gplib::rvec &Desired);
36 virtual void CalcOutput(
const gplib::rvec &Input, gplib::rvec &Output);
const gplib::rvec & GetWeights()
return the Weights
IterDecon(const int inputsize, TsSpectrum &Spec)
Input and output length have to be the same, so only one parameter for the constructor.
virtual const gplib::rvec & GetWeightsAsVector()
return the Weights as a vector, in this case the same as GetWeights
virtual void AdaptFilter(const gplib::rvec &Input, const gplib::rvec &Desired)
Adapt the filter weights given the Input and Desired vectors.
A generic base class for all types of adaptive filters.
virtual void PrintWeights(std::ostream &output)
print weights to a file
virtual void CalcOutput(const gplib::rvec &Input, gplib::rvec &Output)
Calculate the filter output given Input.
The class CTsSpectrum is used to calculate spectra from (real) time series data.
The iterative deconvolution algorithm, mainly used for receiver function computation.