RTXI 1.3
plugins/include/DSP/misdefs.h
Go to the documentation of this file.
00001 /*
00002  * Some definitions of math constants and other options for defining filters, some replaced by gsl
00003  */
00004 
00005 #ifndef _MISDEFS_H_
00006 #define _MISDEFS_H_ 
00007 
00008 #define PI 3.1415926535897932
00009 //#define PI 3.14159265
00010 const double TWO_PI = 6.2831853071795864;
00011 //#define TWO_PI 6.2831853
00012 #define TRUE 1
00013 #define FALSE 0
00014 
00015 #define GOLD3 0.38196601
00016 #define GOLD6 0.61803399
00017 //#define GOLD3 0.38197
00018 //#define GOLD6 0.61803
00019 
00020 #define CONTIN_HALF_LAG 0
00021 #define DISCRETE_HALF_LAG 1
00022 #define DISCRETE_FULL_LAG 2
00023 #define DISCRETE_DATA_WINDOW 3
00024 
00025 //#define _RECTANGULAR 1
00026 //#define _TRIANGULAR 2
00027 //#define _HAMMING 3
00028 //#define _HANN 4
00029 //#define _DOLPH_CHEBY 5
00030 //#define _KAISER 6
00031 
00032 #define _NO_ZERO_ENDS 0
00033 #define _ZERO_ENDS 1
00034 
00035 #define _PLOT_CT_WIN 1
00036 #define _PLOT_CT_MAG_RESP 2
00037 #define _GEN_DT_WIN_COEFFS 3
00038 #define _PLOT_DTFT_FOR_DT_WIN 4
00039 #define _GEN_WINDOWED_FILTER 5
00040 
00041 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines