RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
misdefs.h
Go to the documentation of this file.
1 /*
2  * Some definitions of math constants and other options for defining filters,
3  * some replaced by gsl
4  */
5 
6 #ifndef _MISDEFS_H_
7 #define _MISDEFS_H_
8 
9 #define PI 3.1415926535897932
10 //#define PI 3.14159265
11 const double TWO_PI = 6.2831853071795864;
12 //#define TWO_PI 6.2831853
13 #define TRUE 1
14 #define FALSE 0
15 
16 #define GOLD3 0.38196601
17 #define GOLD6 0.61803399
18 //#define GOLD3 0.38197
19 //#define GOLD6 0.61803
20 
21 #define CONTIN_HALF_LAG 0
22 #define DISCRETE_HALF_LAG 1
23 #define DISCRETE_FULL_LAG 2
24 #define DISCRETE_DATA_WINDOW 3
25 
26 // these defines used in con_resp.cpp
27 #define _RECTANGULAR 1
28 #define _TRIANGULAR 2
29 #define _HAMMING 3
30 #define _HANN 4
31 #define _DOLPH_CHEBY 5
32 #define _KAISER 6
33 
34 #define _NO_ZERO_ENDS 0
35 #define _ZERO_ENDS 1
36 
37 #define _PLOT_CT_WIN 1
38 #define _PLOT_CT_MAG_RESP 2
39 #define _GEN_DT_WIN_COEFFS 3
40 #define _PLOT_DTFT_FOR_DT_WIN 4
41 #define _GEN_WINDOWED_FILTER 5
42 
43 #endif
const double TWO_PI
Definition: misdefs.h:11