RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
firideal.h
Go to the documentation of this file.
1 /*
2  * Functions for FirIdealFilter
3  * Design ideal lowpass, highpass, bandpass, or bandstop FIR filter
4  */
5 
6 #ifndef _FIRIDEAL_H_
7 #define _FIRIDEAL_H_
8 
9 #include "fir_dsgn.h"
10 #include "gen_win.h"
11 #include "lin_dsgn.h"
12 #include "typedefs.h"
13 
15 {
16 public:
17  // constructors
18 
19  FirIdealFilter(int num_taps, double lambda1, double lambda2, int filtertype);
20 
21  void DefineFilter(int num_taps, double lambda1, double lambda2,
22  int band_config);
23 
24 private:
25  void Ideal_Lowpass(double lambda1);
26  void Ideal_Highpass(double lambda1);
27  void Ideal_Bandpass(double lambda1, double lambda2);
28  void Ideal_Bandstop(double lambda1, double lambda2);
29 
30 protected:
31  double lambda1;
32  double lambda2;
33 };
34 
35 #endif
double lambda2
Definition: firideal.h:32
void Ideal_Bandpass(double lambda1, double lambda2)
Definition: firideal.cpp:96
void DefineFilter(int num_taps, double lambda1, double lambda2, int band_config)
Definition: firideal.cpp:27
double lambda1
Definition: firideal.h:31
void Ideal_Bandstop(double lambda1, double lambda2)
Definition: firideal.cpp:117
void Ideal_Highpass(double lambda1)
Definition: firideal.cpp:76
FirIdealFilter(int num_taps, double lambda1, double lambda2, int filtertype)
Definition: firideal.cpp:15
void Ideal_Lowpass(double lambda1)
Definition: firideal.cpp:56