Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALApps 10.1.0.1-ea7c608
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stochasticbank.c File Reference

Prototypes

int arg_parse_check (int argc, char *argv[], ProcessParamsTable *procparams)
 
REAL4 ceil_pow_2 (REAL4 x)
 
REAL4 max_mass_ratio (REAL4 mchirp, REAL4 m, REAL4 M)
 
REAL4FrequencySeriesreadPSD (const char *fname, REAL4 fNyq, REAL4 df, UINT4 N, REAL4 fLow, REAL4 fHigh)
 
int main (int argc, char *argv[])
 

Go to the source code of this file.

Data Structures

struct  TemplateWaveformPairs
 

Macros

#define CVS_ID_STRING   "$Id$"
 
#define CVS_NAME_STRING   "$Name$"
 
#define CVS_REVISION   "$Revision$"
 
#define CVS_SOURCE   "$Source$"
 
#define CVS_DATE   "$Date$"
 
#define PROGRAM_NAME   "tmpltbank"
 
#define ADD_PROCESS_PARAM(pptype, format, ppvalue)
 
#define USAGE
 

Enumerations

enum  { unset , urandom , user }
 

Variables

int vrbflg
 defined in lal/lib/std/LALError.c More...
 
LIGOTimeGPS gpsStartTime = { 0, 0 }
 
LIGOTimeGPS gpsEndTime = { 0, 0 }
 
REAL4 minMass = -1
 
REAL4 maxMass = -1
 
REAL4 minMTotal = -1
 
REAL4 maxMTotal = -1
 
REAL4 minMChirp = -1
 
REAL4 maxMChirp = -1
 
REAL4 fLo = -1
 
REAL4 fHi = -1
 
INT4 facTries = -1
 
REAL4 minMatch = -1
 
enum { ... }  randSeedType = unset
 
INT4 randomSeed = 0
 
LIGOTimeGPS tc = LIGOTIMEGPSZERO
 
CHARuserTag = NULL
 
CHARpsdFileName = NULL
 
INT4 outCompress = 0
 

Macro Definition Documentation

◆ CVS_ID_STRING

#define CVS_ID_STRING   "$Id$"

Definition at line 66 of file stochasticbank.c.

◆ CVS_NAME_STRING

#define CVS_NAME_STRING   "$Name$"

Definition at line 67 of file stochasticbank.c.

◆ CVS_REVISION

#define CVS_REVISION   "$Revision$"

Definition at line 68 of file stochasticbank.c.

◆ CVS_SOURCE

#define CVS_SOURCE   "$Source$"

Definition at line 69 of file stochasticbank.c.

◆ CVS_DATE

#define CVS_DATE   "$Date$"

Definition at line 70 of file stochasticbank.c.

◆ PROGRAM_NAME

#define PROGRAM_NAME   "tmpltbank"

Definition at line 71 of file stochasticbank.c.

◆ ADD_PROCESS_PARAM

#define ADD_PROCESS_PARAM (   pptype,
  format,
  ppvalue 
)
Value:
this_proc_param = this_proc_param->next = (ProcessParamsTable *) \
calloc( 1, sizeof(ProcessParamsTable) ); \
snprintf( this_proc_param->program, LIGOMETA_PROGRAM_MAX, "%s", \
snprintf( this_proc_param->param, LIGOMETA_PARAM_MAX, "--%s", \
long_options[option_index].name ); \
snprintf( this_proc_param->type, LIGOMETA_TYPE_MAX, "%s", pptype ); \
snprintf( this_proc_param->value, LIGOMETA_VALUE_MAX, format, ppvalue );
#define PROGRAM_NAME

Definition at line 646 of file stochasticbank.c.

◆ USAGE

#define USAGE
Value:
" --help display this message\n"\
" --version print version information and exit\n"\
" --user-tag STRING set the process_params usertag to STRING\n"\
"\n"\
" --gps-start-time SEC GPS second of data start time\n"\
" --gps-end-time SEC GPS second of data end time\n"\
" --low-frequency-cutoff F Compute tau parameters from F Hz\n"\
" --minimum-mass MASS set minimum component mass of bank to MASS\n"\
" --maximum-mass MASS set maximum component mass of bank to MASS\n"\
" --tries-factor N test a factor N more points than templates retained\n"\
" --random-seed SEED set random number seed for injections to SEED\n"\
" (urandom|integer)\n"\
" --write-compress write a compressed xml file\n"\
"\n"

Definition at line 656 of file stochasticbank.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
unset 
urandom 
user 

Definition at line 109 of file stochasticbank.c.

Function Documentation

◆ arg_parse_check()

int arg_parse_check ( int  argc,
char argv[],
ProcessParamsTable procparams 
)

Definition at line 672 of file stochasticbank.c.

◆ ceil_pow_2()

REAL4 ceil_pow_2 ( REAL4  x)

Definition at line 118 of file stochasticbank.c.

◆ max_mass_ratio()

REAL4 max_mass_ratio ( REAL4  mchirp,
REAL4  m,
REAL4  M 
)

Definition at line 134 of file stochasticbank.c.

◆ readPSD()

REAL4FrequencySeries * readPSD ( const char fname,
REAL4  fNyq,
REAL4  df,
UINT4  N,
REAL4  fLow,
REAL4  fHigh 
)

Definition at line 152 of file stochasticbank.c.

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 227 of file stochasticbank.c.

Variable Documentation

◆ vrbflg

int vrbflg
extern

defined in lal/lib/std/LALError.c

◆ gpsStartTime

LIGOTimeGPS gpsStartTime = { 0, 0 }

Definition at line 97 of file stochasticbank.c.

◆ gpsEndTime

LIGOTimeGPS gpsEndTime = { 0, 0 }

Definition at line 98 of file stochasticbank.c.

◆ minMass

REAL4 minMass = -1

Definition at line 99 of file stochasticbank.c.

◆ maxMass

REAL4 maxMass = -1

Definition at line 100 of file stochasticbank.c.

◆ minMTotal

REAL4 minMTotal = -1

Definition at line 101 of file stochasticbank.c.

◆ maxMTotal

REAL4 maxMTotal = -1

Definition at line 102 of file stochasticbank.c.

◆ minMChirp

REAL4 minMChirp = -1

Definition at line 103 of file stochasticbank.c.

◆ maxMChirp

REAL4 maxMChirp = -1

Definition at line 104 of file stochasticbank.c.

◆ fLo

REAL4 fLo = -1

Definition at line 105 of file stochasticbank.c.

◆ fHi

REAL4 fHi = -1

Definition at line 106 of file stochasticbank.c.

◆ facTries

INT4 facTries = -1

Definition at line 107 of file stochasticbank.c.

◆ minMatch

REAL4 minMatch = -1

Definition at line 108 of file stochasticbank.c.

◆ 

enum { ... } randSeedType

◆ randomSeed

INT4 randomSeed = 0

Definition at line 110 of file stochasticbank.c.

◆ tc

Definition at line 111 of file stochasticbank.c.

◆ userTag

CHAR* userTag = NULL

Definition at line 114 of file stochasticbank.c.

◆ psdFileName

CHAR* psdFileName = NULL

Definition at line 115 of file stochasticbank.c.

◆ outCompress

INT4 outCompress = 0

Definition at line 116 of file stochasticbank.c.