29#ifndef _RECALCTOPLISTSTATS_H
30#define _RECALCTOPLISTSTATS_H
40#include <lal/ExtrapolatePulsarSpins.h>
41#include <lal/ComputeFstat.h>
42#include <lal/StringVector.h>
43#include <lal/LineRobustStats.h>
47#include "../HoughFstat/HoughFstatToplist.h"
54typedef struct tagRecalcStatsComponents {
66typedef struct tagRecalcStatsParams {
int XLALComputeExtraStatsSemiCoherent(RecalcStatsComponents *stats, const PulsarDopplerParams *dopplerParams, const RecalcStatsParams *recalcParams)
XLAL Function to recalculate multi-IFO F-stat 2F and single-IFO 2FX for all semicoherent search segme...
int XLALComputeExtraStatsForToplist(toplist_t *list, const RecalcStatsParams *recalcParams)
XLAL function to go through a (Hough or GCT) toplist and compute line-robust statistics for each cand...
#define PULSAR_MAX_DETECTORS
maximal number of detectors we can handle (for static arrays of detector quantities)
A vector of 'timestamps' of type LIGOTimeGPS.
Type containing the 'Doppler-parameters' affecting the time-evolution of the phase.
Type containing multi- and single-detector -statistics and line-robust statistic.
UINT4 numDetectors
number of detectors, numDetectors=0 should make all code ignore the TwoFX field.
REAL4 avTwoF
multi-detector -statistic, averaged over segments
INT4 loudestSeg
index of the segment with the highest multi-detector -statistic
REAL4 twoFloudestSeg
loudest single-segment, multi-detector -stat
REAL4 log10BSGL
line-robust statistic
Type containing input arguments for XLALComputeExtraStatsForToplist()
LALStringVector * detectorIDs
detector name vector with all detectors present in any data sements
BOOLEAN computeBSGLtL
re-compute BSGLtL as well, or not
const char * listEntryTypeName
type of toplist entries, give as name string
BSGLSetup * BSGLsetup
pre-computed setup for line-robust statistic BSGL
LIGOTimeGPSVector * startTstack
starting GPS time of each stack
FstatInputVector * Fstat_in_vec
vector of input data for XLALComputeFstat()
BOOLEAN loudestSegOutput
return extra info about loudest segment
LIGOTimeGPS refTimeGPS
reference time for fkdot values in toplist