forked from scottransom/presto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch_bin_cmd.h
79 lines (72 loc) · 2.2 KB
/
search_bin_cmd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#ifndef __search_bin_cmd__
#define __search_bin_cmd__
/*****
command line parser interface -- generated by clig
(http://wsd.iitb.fhg.de/~geg/clighome/)
The command line parser `clig':
(C) 1995-2004 Harald Kirsch ([email protected])
*****/
typedef struct s_Cmdline {
/***** -ncand: Number of candidates to try to return */
char ncandP;
int ncand;
int ncandC;
/***** -minfft: Power-of-2 length of the shortest miniFFT */
char minfftP;
int minfft;
int minfftC;
/***** -maxfft: Power-of-2 length of the longest miniFFT */
char maxfftP;
int maxfft;
int maxfftC;
/***** -flo: The low frequency (Hz) to check */
char floP;
float flo;
int floC;
/***** -fhi: The high frequency (Hz) to check */
char fhiP;
float fhi;
int fhiC;
/***** -rlo: The low Fourier frequency to check */
char rloP;
int rlo;
int rloC;
/***** -rhi: The high Fourier frequency to check */
char rhiP;
int rhi;
int rhiC;
/***** -lobin: The first Fourier frequency in the data file */
char lobinP;
int lobin;
int lobinC;
/***** -overlap: Fraction of a short FFT length to shift before performing another */
char overlapP;
double overlap;
int overlapC;
/***** -harmsum: Number of harmonics to sum in the miniFFTs */
char harmsumP;
int harmsum;
int harmsumC;
/***** -numbetween: Number of points to interpolate per Fourier bin (2 gives the usual bin value and an interbin) */
char numbetweenP;
int numbetween;
int numbetweenC;
/***** -stack: Number of stacked power spectra making up the data. (The default means the data are complex amplitudes) */
char stackP;
int stack;
int stackC;
/***** -interbin: Use interbinning instead of full-blown Fourier interpolation. (Faster but less accurate and sensitive) */
char interbinP;
/***** -noalias: Do not add aliased powers to the harmonic sum. (Faster but less accurate and sensitive) */
char noaliasP;
/***** uninterpreted command line parameters */
int argc;
/*@null*/char **argv;
/***** the whole command line concatenated */
char *full_cmd_line;
} Cmdline;
extern char *Program;
extern void usage(void);
extern /*@shared*/Cmdline *parseCmdline(int argc, char **argv);
extern void showOptionValues(void);
#endif