MNE-CPP  beta 1.0
newparksmcclellan.h
1 #ifdef __cplusplus
2 extern "C" {
3 #endif
4 
5 #ifndef NEWPARKSMCCLELLAN_H
6 #define NEWPARKSMCCLELLAN_H
7 
8 extern int HalfTapCount, *ExchangeIndex;
9 extern double *LeGrangeD, *Alpha, *CosOfGrid, *DesPlus, *Coeff, *Edge, *BandMag, *InitWeight, *DesiredMag, *Grid, *Weight, *FirCoeff;
10 extern bool InitDone2;
11 
12 enum TPassType {LPF, HPF, BPF, NOTCH };
13 void NewParksMcClellan(int NumTaps, double OmegaC, double BW, double ParksWidth, TPassType PassType);
14 void CalcParkCoeff2(int NBANDS, int NFILT);
15 double LeGrangeInterp2(int K, int N, int M);
16 double GEE2(int K, int N);
17 int Remez2(int GridIndex);
18 bool ErrTest(int k, int Nut, double Comp, double *Err);
19 void CalcCoefficients(void);
20 
21 #endif // NEWPARKSMCCLELLAN_H
22 
23 #ifdef __cplusplus
24 }
25 #endif