Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

66 lines (59 sloc) 1.756 kb
#ifndef __psrfits_subband_cmd__
#define __psrfits_subband_cmd__
command line parser interface -- generated by clig
The command line parser `clig':
(C) 1995-2004 Harald Kirsch (
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);
Jump to Line
Something went wrong with that request. Please try again.