LALPulsar  6.1.0.1-e053efe
makefakedata_v5.c File Reference

Prototypes

int XLALWriteREAL4TimeSeries2fp (FILE *fp, const REAL4TimeSeries *TS)
 Write a REAL4TimeSeries in a 2-column ASCII format (lines of "GPS_i data_i") into an open file 'fp'. More...
 
int XLALInitUserVars (UserVariables_t *uvar, int argc, char *argv[])
 Register all "user-variables", and initialized them from command-line and config-files. More...
 
int XLALInitMakefakedata (ConfigVars_t *cfg, UserVariables_t *uvar)
 Handle user-input and set up shop accordingly, and do all consistency-checks on user-input. More...
 
int XLALWriteMFDlog (const char *logfile, const ConfigVars_t *cfg)
 Log the all relevant parameters of this run into a log-file. More...
 
int XLALFreeMem (ConfigVars_t *cfg)
 This routine frees up all the memory. More...
 
BOOLEAN is_directory (const CHAR *fname)
 
int main (int argc, char *argv[])
 

Detailed Description

Author
R. Prix, M.A. Papa, X. Siemens, B. Allen, C. Messenger

Definition in file makefakedata_v5.c.

Go to the source code of this file.

Data Structures

struct  ConfigVars_t
 configuration-variables derived from user-variables More...
 
struct  UserVariables_t
 user input variables More...
 

Macros

#define MISC_DEFAULT   "mfdv5"
 

Macro Definition Documentation

◆ MISC_DEFAULT

#define MISC_DEFAULT   "mfdv5"

Function Documentation

◆ XLALWriteREAL4TimeSeries2fp()

int XLALWriteREAL4TimeSeries2fp ( FILE *  fp,
const REAL4TimeSeries TS 
)

Write a REAL4TimeSeries in a 2-column ASCII format (lines of "GPS_i data_i") into an open file 'fp'.

Definition at line 826 of file makefakedata_v5.c.

◆ XLALInitUserVars()

int XLALInitUserVars ( UserVariables_t uvar,
int  argc,
char argv[] 
)

Register all "user-variables", and initialized them from command-line and config-files.

Definition at line 644 of file makefakedata_v5.c.

◆ XLALInitMakefakedata()

int XLALInitMakefakedata ( ConfigVars_t cfg,
UserVariables_t uvar 
)

Handle user-input and set up shop accordingly, and do all consistency-checks on user-input.

Definition at line 389 of file makefakedata_v5.c.

◆ XLALWriteMFDlog()

int XLALWriteMFDlog ( const char logfile,
const ConfigVars_t cfg 
)

Log the all relevant parameters of this run into a log-file.

The name of the log-file used is uvar_logfile NOTE: Currently this function only logs the user-input and code-versions.

Definition at line 766 of file makefakedata_v5.c.

◆ XLALFreeMem()

int XLALFreeMem ( ConfigVars_t cfg)

This routine frees up all the memory.

Definition at line 734 of file makefakedata_v5.c.

◆ is_directory()

BOOLEAN is_directory ( const CHAR fname)

Definition at line 805 of file makefakedata_v5.c.

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 172 of file makefakedata_v5.c.