IterDecon.h
Go to the documentation of this file.00001 #ifndef ITERDECON_H_
00002 #define ITERDECON_H_
00003 #include "AdaptiveFilter.h"
00004 #include "TsSpectrum.h"
00005
00006 namespace gplib
00007 {
00008
00009
00010
00011
00012
00013
00014
00015 class IterDecon: public AdaptiveFilter
00016 {
00017 private:
00018
00019 gplib::rvec Weights;
00020 TsSpectrum &Spectrum;
00021 public:
00022
00023 virtual const gplib::rvec &GetWeightsAsVector()
00024 {
00025 return Weights;
00026 }
00027
00028 const gplib::rvec &GetWeights()
00029 {
00030 return Weights;
00031 }
00032
00033 virtual void PrintWeights(std::ostream &output);
00034 virtual void
00035 AdaptFilter(const gplib::rvec &Input, const gplib::rvec &Desired);
00036 virtual void CalcOutput(const gplib::rvec &Input, gplib::rvec &Output);
00037
00038 IterDecon(const int inputsize, TsSpectrum &Spec);
00039 virtual ~IterDecon();
00040 };
00041
00042 }
00043 #endif