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
spec_avg_long.c File Reference

Prototypes

LIGOTimeGPSVectorsetup_epochs (const SFTCatalog *catalog, const INT4 persistAvgOpt, const BOOLEAN persistAvgOptWasSet, const INT4 persistAvgSeconds)
 
int set_sft_avg_epoch (struct tm *utc, LIGOTimeGPS *epoch_start, const LIGOTimeGPS first_sft_epoch, const INT4 persistAvgOpt, const BOOLEAN persistAvgOptWasSet)
 
int validate_line_freq (LALStringVector **line_freq, const REAL8 f0, const REAL8 deltaF, const UINT4 numBins)
 
REAL8Vectorline_freq_str2dbl (const LALStringVector *line_freq)
 
int rngmean (const REAL8Vector *input, const REAL8Vector *output, const INT4 blocksRngMean)
 
int rngstd (const REAL8Vector *input, const REAL8Vector *means, const REAL8Vector *output, const INT4 blocksRngMean)
 
int select_mean_std_from_vect (REAL8 *mean, REAL8 *std, const REAL8Vector *means, const REAL8Vector *stds, const UINT4 idx, const UINT4 nside)
 
int main (int argc, char **argv)
 

Go to the source code of this file.

Macros

#define POWER(x)   (((REAL8)crealf(x)*(REAL8)crealf(x)) + ((REAL8)cimagf(x)*(REAL8)cimagf(x)))
 

Macro Definition Documentation

◆ POWER

#define POWER (   x)    (((REAL8)crealf(x)*(REAL8)crealf(x)) + ((REAL8)cimagf(x)*(REAL8)cimagf(x)))

Definition at line 41 of file spec_avg_long.c.

Function Documentation

◆ setup_epochs()

LIGOTimeGPSVector * setup_epochs ( const SFTCatalog catalog,
const INT4  persistAvgOpt,
const BOOLEAN  persistAvgOptWasSet,
const INT4  persistAvgSeconds 
)

Definition at line 461 of file spec_avg_long.c.

◆ set_sft_avg_epoch()

int set_sft_avg_epoch ( struct tm *  utc,
LIGOTimeGPS epoch_start,
const LIGOTimeGPS  first_sft_epoch,
const INT4  persistAvgOpt,
const BOOLEAN  persistAvgOptWasSet 
)

Definition at line 512 of file spec_avg_long.c.

◆ validate_line_freq()

int validate_line_freq ( LALStringVector **  line_freq,
const REAL8  f0,
const REAL8  deltaF,
const UINT4  numBins 
)

Definition at line 544 of file spec_avg_long.c.

◆ line_freq_str2dbl()

REAL8Vector * line_freq_str2dbl ( const LALStringVector line_freq)

Definition at line 577 of file spec_avg_long.c.

◆ rngmean()

int rngmean ( const REAL8Vector input,
const REAL8Vector output,
const INT4  blocksRngMean 
)

Definition at line 588 of file spec_avg_long.c.

◆ rngstd()

int rngstd ( const REAL8Vector input,
const REAL8Vector means,
const REAL8Vector output,
const INT4  blocksRngMean 
)

Definition at line 610 of file spec_avg_long.c.

◆ select_mean_std_from_vect()

int select_mean_std_from_vect ( REAL8 mean,
REAL8 std,
const REAL8Vector means,
const REAL8Vector stds,
const UINT4  idx,
const UINT4  nside 
)

Definition at line 630 of file spec_avg_long.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 56 of file spec_avg_long.c.