LALPulsar  6.1.0.1-fe68b98
ComputeFstat_Resamp_internal.h File Reference

Prototypes

static int XLALGetFstatTiming_Resamp_intern (const FstatTimingResamp *tiRS, FstatTimingModel *timingModel)
 

Go to the source code of this file.

Data Structures

struct  Timings_t
 
struct  FstatTimingResamp
 

Macros

#define GPSDIFF(x, y)   (1.0*((x).gpsSeconds - (y).gpsSeconds) + ((x).gpsNanoSeconds - (y).gpsNanoSeconds)*1e-9)
 
#define GPSGETREAL8(x)   ( (x)->gpsSeconds + ( (x)->gpsNanoSeconds / XLAL_BILLION_REAL8 ) );
 
#define GPSSETREAL8(gps, r8)
 

Variables

static const char FstatTimingResampHelp []
 

Macro Definition Documentation

◆ GPSDIFF

#define GPSDIFF (   x,
  y 
)    (1.0*((x).gpsSeconds - (y).gpsSeconds) + ((x).gpsNanoSeconds - (y).gpsNanoSeconds)*1e-9)

Definition at line 36 of file ComputeFstat_Resamp_internal.h.

◆ GPSGETREAL8

#define GPSGETREAL8 (   x)    ( (x)->gpsSeconds + ( (x)->gpsNanoSeconds / XLAL_BILLION_REAL8 ) );

Definition at line 37 of file ComputeFstat_Resamp_internal.h.

◆ GPSSETREAL8

#define GPSSETREAL8 (   gps,
  r8 
)
Value:
do { \
(gps).gpsSeconds = (UINT4)floor(r8); \
(gps).gpsNanoSeconds = (UINT4)round ( ((r8) - (gps).gpsSeconds) * XLAL_BILLION_REAL8 ); \
if ( (gps).gpsNanoSeconds == XLAL_BILLION_INT4 ) { \
(gps).gpsSeconds += 1; \
(gps).gpsNanoSeconds = 0; \
} \
} while(0)
uint32_t UINT4

Definition at line 38 of file ComputeFstat_Resamp_internal.h.

Function Documentation

◆ XLALGetFstatTiming_Resamp_intern()

static int XLALGetFstatTiming_Resamp_intern ( const FstatTimingResamp tiRS,
FstatTimingModel timingModel 
)
static

Definition at line 101 of file ComputeFstat_Resamp_internal.h.

Variable Documentation

◆ FstatTimingResampHelp

const char FstatTimingResampHelp[]
static
Initial value:
=
"%%%% ----- Resampling-specific timing model -----\n"
"%%%% NsampFFT0: original number of FFT samples (not yet rounded up to power-of-two)\n"
"%%%% NsampFFT: actual number of FFT samples (rounded to power-of-two if optArgs->resampFFTPowerOf2 == true)\n"
"%%%% R: (internal) frequency resolution in natural units: df_internal = R / T_FFT\n"
"%%%%\n"
"%%%% tau0_Fbin: timing coefficient for all contributions scaling with output frequency-bins\n"
"%%%% tau0_spin: timing coefficient for spindown-correction\n"
"%%%% tau0_FFT: timing coefficient for FFT-time\n"
"%%%% tau0_bary: timing coefficient for barycentering\n"
"%%%%\n"
"%%%% Resampling F-statistic timing model:\n"
"%%%% tauF_core = tau0_Fbin + (NsampFFT/NFbin) * ( R * tau0_spin + 5 * log2(NsampFFT) * tau0_FFT )\n"
"%%%% tauF_buffer = R * NsampFFT * tau0_bary / NFbin\n"
"%%%%"
""

Definition at line 80 of file ComputeFstat_Resamp_internal.h.