-
Notifications
You must be signed in to change notification settings - Fork 19
/
psrfits_subband_cmd.h
65 lines (59 loc) · 1.71 KB
/
psrfits_subband_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
#ifndef __psrfits_subband_cmd__
#define __psrfits_subband_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 (clig@geggus.net)
*****/
typedef struct s_Cmdline {
/***** -dm: Dispersion measure to use for the subband de-dispersion */
char dmP;
double dm;
int dmC;
/***** -nsub: Number of output frequency subbands */
char nsubP;
int nsub;
int nsubC;
/***** -dstime: Power-of-2 number of samples to average in time */
char dstimeP;
int dstime;
int dstimeC;
/***** -startfile: Starting file number of sequence */
char startfileP;
int startfile;
int startfileC;
/***** -numfiles: Number of files to process */
char numfilesP;
int numfiles;
int numfilesC;
/***** -filetime: Desired length of the resulting files in sec */
char filetimeP;
float filetime;
int filetimeC;
/***** -filelen: Desired length of the resulting files in GB */
char filelenP;
float filelen;
int filelenC;
/***** -bytes: Make the raw data unsigned chars instead of signed shorts */
char bytesP;
/***** -onlyI: Only output total intensity data */
char onlyIP;
/***** -weights: Filename containing ASCII list of channels and weights to use */
char wgtsfileP;
char* wgtsfile;
int wgtsfileC;
/***** -o: Basename for the output files */
char outputbasenameP;
char* outputbasename;
int outputbasenameC;
/***** 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);
#endif