WienerFilter.h

Go to the documentation of this file.
00001 #ifndef CWIENERFILTER_H_
00002 #define CWIENERFILTER_H_
00003 
00004 #include "AdaptiveFilter.h"
00005 #include "VecMat.h"
00006 
00007 namespace gplib
00008   {
00009 
00010     /** \addtogroup sigproc Signal processing methods */
00011     /* @{ */
00012     //! This class is currently broken !!!!!
00013     class WienerFilter: public AdaptiveFilter
00014       {
00015     private:
00016       gplib::rmat CorrMatrix;
00017       gplib::rvec Weights;
00018       double lambda;
00019     public:
00020       virtual void PrintWeights(std::ostream &output);
00021       virtual void
00022       AdaptFilter(const gplib::rvec &Input, const gplib::rvec &Desired);
00023       virtual void CalcOutput(const gplib::rvec &Input, gplib::rvec &Output);
00024       void SetLambda(const double mylambda)
00025         {
00026           lambda = mylambda;
00027         }
00028       WienerFilter(const int inputsize);
00029       virtual ~WienerFilter();
00030       };
00031   /* @} */
00032   }
00033 #endif /*CWIENERFILTER_H_*/

Generated on Tue May 4 16:52:15 2010 for GPLIB++ by  doxygen 1.5.8