![]() |
RTXI 1.3
|
00001 /* 00002 * Design of a linear phase filter, based on general filter design 00003 */ 00004 00005 #include "misdefs.h" 00006 #include "typedefs.h" 00007 #include "fir_dsgn.h" 00008 #include "lin_dsgn.h" 00009 #include <gsl/gsl_math.h> 00010 00011 // default constructor 00012 00013 LinearPhaseFirDesign::LinearPhaseFirDesign() : 00014 FirFilterDesign() { 00015 } 00016 00017 LinearPhaseFirDesign::LinearPhaseFirDesign(int num_taps) : 00018 FirFilterDesign(num_taps) { 00019 } 00020 00021 // lowpass, bandpass, highpass, or bandstop 00022 00023 BAND_CONFIG_TYPE LinearPhaseFirDesign::GetBandConfig(void) { 00024 return (Band_Config); 00025 } 00026 00027 int LinearPhaseFirDesign::GetFirType(void) { 00028 return (Fir_Type); 00029 } 00030