RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FirIdealFilter Class Reference

#include <firideal.h>

Inheritance diagram for FirIdealFilter:

Public Member Functions

 FirIdealFilter (int num_taps, double lambda1, double lambda2, int filtertype)
void DefineFilter (int num_taps, double lambda1, double lambda2, int band_config)
- Public Member Functions inherited from LinearPhaseFirDesign
 LinearPhaseFirDesign ()
 LinearPhaseFirDesign (int num_taps)
BAND_CONFIG_TYPE GetBandConfig (void)
int GetFirType (void)
- Public Member Functions inherited from FirFilterDesign
 FirFilterDesign ()
 FirFilterDesign (int num_taps)
 FirFilterDesign (int num_taps, double *imp_resp_coeff)
 FirFilterDesign (int num_taps, FIR_SYM_T symmetry, double *imp_resp_coeff)
void Initialize (int num_taps)
void ScaleCoefficients (double scale_factor)
void NormalizeFilter (void)
void CopyCoefficients (double *coeff)
double * GetCoefficients (void)
int GetNumTaps (void)
void ApplyWindow (GenericWindow *window)
void ExtractPolyphaseSet (double *coeff, int decim_rate, int rho)

Protected Attributes

double lambda1
double lambda2
- Protected Attributes inherited from LinearPhaseFirDesign
int Fir_Type
- Protected Attributes inherited from FirFilterDesign
int Num_Taps
double * Imp_Resp_Coeff
double * Original_Coeff
long * Quant_Coeff
FIR_SYM_T Coeff_Symmetry

Private Member Functions

void Ideal_Lowpass (double lambda1)
void Ideal_Highpass (double lambda1)
void Ideal_Bandpass (double lambda1, double lambda2)
void Ideal_Bandstop (double lambda1, double lambda2)

Detailed Description

Definition at line 14 of file firideal.h.

Constructor & Destructor Documentation

FirIdealFilter::FirIdealFilter(int num_taps,
double lambda1,
double lambda2,
int filtertype 

Definition at line 15 of file firideal.cpp.

Member Function Documentation

void FirIdealFilter::DefineFilter(int num_taps,
double lambda1,
double lambda2,
int band_config 

Definition at line 27 of file firideal.cpp.

void FirIdealFilter::Ideal_Bandpass(double lambda1,
double lambda2 

Definition at line 96 of file firideal.cpp.

void FirIdealFilter::Ideal_Bandstop(double lambda1,
double lambda2 

Definition at line 117 of file firideal.cpp.

void FirIdealFilter::Ideal_Highpass(double lambda1)

Definition at line 76 of file firideal.cpp.

void FirIdealFilter::Ideal_Lowpass(double lambda1)

Definition at line 56 of file firideal.cpp.

Member Data Documentation

double FirIdealFilter::lambda1

Definition at line 31 of file firideal.h.

double FirIdealFilter::lambda2

Definition at line 32 of file firideal.h.

The documentation for this class was generated from the following files: