Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-8a6b96f
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
makefakedata_v4.c File Reference

Prototypes

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...
 
COMPLEX8FrequencySeriesXLALLoadTransferFunctionFromActuation (REAL8 actuationScale, const CHAR *fname)
 Reads an actuation-function in format (r,phi) from file 'fname', and returns the associated transfer-function as a COMPLEX8FrequencySeries (Re,Im) The transfer-function T is simply the inverse of the actuation A, so T=A^-1. More...
 
int XLALFreeMem (ConfigVars_t *cfg)
 This routine frees up all the memory. More...
 
BOOLEAN is_directory (const CHAR *fname)
 
int XLALIsValidDescriptionField (const char *desc)
 
int main (int argc, char *argv[])
 

Detailed Description

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

Definition in file makefakedata_v4.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 SQ(x)   ( (x) * (x) )
 
#define TRUE   1
 
#define FALSE   0
 
#define DEFAULT_TRANSIENT   "none"
 

Enumerations

enum  GenerationMode { GENERATE_ALL_AT_ONCE = 0 , GENERATE_PER_SFT , GENERATE_LAST }
 

Macro Definition Documentation

◆ SQ

#define SQ (   x)    ( (x) * (x) )

Definition at line 69 of file makefakedata_v4.c.

◆ TRUE

#define TRUE   1

Definition at line 71 of file makefakedata_v4.c.

◆ FALSE

#define FALSE   0

Definition at line 72 of file makefakedata_v4.c.

◆ DEFAULT_TRANSIENT

#define DEFAULT_TRANSIENT   "none"

Enumeration Type Documentation

◆ GenerationMode

Enumerator
GENERATE_ALL_AT_ONCE 

generate whole time-series at once before turning into SFTs

GENERATE_PER_SFT 

generate timeseries individually for each SFT

GENERATE_LAST 

end-marker

Definition at line 103 of file makefakedata_v4.c.

Function Documentation

◆ 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 1041 of file makefakedata_v4.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 512 of file makefakedata_v4.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 1203 of file makefakedata_v4.c.

◆ XLALLoadTransferFunctionFromActuation()

COMPLEX8FrequencySeries * XLALLoadTransferFunctionFromActuation ( REAL8  actuationScale,
const CHAR fname 
)

Reads an actuation-function in format (r,phi) from file 'fname', and returns the associated transfer-function as a COMPLEX8FrequencySeries (Re,Im) The transfer-function T is simply the inverse of the actuation A, so T=A^-1.

Parameters
actuationScaleoverall scale-factor to actuation
fnamefile containing actuation-function

Definition at line 1246 of file makefakedata_v4.c.

◆ XLALFreeMem()

int XLALFreeMem ( ConfigVars_t cfg)

This routine frees up all the memory.

Definition at line 1165 of file makefakedata_v4.c.

◆ is_directory()

BOOLEAN is_directory ( const CHAR fname)

Definition at line 1323 of file makefakedata_v4.c.

◆ XLALIsValidDescriptionField()

int XLALIsValidDescriptionField ( const char desc)

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 213 of file makefakedata_v4.c.