-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathwindow.h
More file actions
11 lines (9 loc) · 747 Bytes
/
window.h
File metadata and controls
11 lines (9 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
typedef enum {BLACK, HANN, HAMM, RECT, TRIANGULAR, NUTT, BNUT, KAISER, FLAT, NONE} WINTYPE;
extern int wintype(char *wname); // return WINTYPE from a string
extern int win_set_sidelobe(double sidelobe); // set kaiser sidelobe level
extern int wintype_gain(WINTYPE wintype, double *gain); // get gain for current window
extern int wintype_rbw(WINTYPE wintype, double *rbw); // get rbw for current window
extern int wintypetoname(WINTYPE wintype, char **wname); // get canononic window name
extern int window(COMPLEX *in, int N, WINTYPE type, int nulldc, int singlesided); // window the *in array
extern int window_get(double *win, int N, WINTYPE type);
extern int window_do(COMPLEX *in, double *win, int N, int nulldc, int singlesided);