20#ifndef GCTFSTATTOPLIST_H
21#define GCTFSTATTOPLIST_H
23#include <lal/LALDatatypes.h>
24#include <lal/PulsarDataTypes.h>
25#include <lal/HeapToplist.h>
void sort_gctFstat_toplist(toplist_t *list)
sorts the toplist with an internal sorting function, used before finally writing it
void free_gctFstat_toplist(toplist_t **list)
frees the space occupied by the toplist
SortBy_t
enumerate all toplist-sorting options: by F (0), number-count (1), BSGL (2), "dual" toplists F + BSGL...
@ SORTBY_F_BSGLtL_BtSGLtL
int clear_gct_checkpoint(const char *filename)
removes a checkpoint returns 0 on success, errno on failure
int create_gctFstat_toplist(toplist_t **list, UINT8 length, SortBy_t whatToSortBy)
creates a toplist with length elements, returns -1 on error (usually out of memory),...
int insert_into_gctFstat_toplist(toplist_t *list, GCTtopOutputEntry *line)
Inserts an element in to the toplist either if there is space left or the element is larger than the ...
int write_gctFstat_toplist_to_fp(toplist_t *list, FILE *fp, UINT4 *checksum)
Writes the toplist to an (already open) filepointer Returns the number of written charactes sets the ...
int read_gct_checkpoint(const char *filename, toplist_t *tl, toplist_t *t2, toplist_t *t3, UINT4 *counter)
tries to read a checkpoint
int write_gct_checkpoint(const char *filename, toplist_t *tl, toplist_t *t2, toplist_t *t3, UINT4 counter, BOOLEAN do_sync)
Checkpointing.
void sort_gctFstat_toplist_strongest(toplist_t *list)
sorts the toplist with an internal sorting function, used before doing the follow-up analysis
int write_hfs_oputput(const char *filename, toplist_t *tl)
write the final output file:
#define PULSAR_MAX_DETECTORS
maximal number of detectors we can handle (for static arrays of detector quantities)
REAL4 log10BSGLtL
Line-robust statistic .
INT4 maxTwoFlSeg
index of segment with maximum multi-detector 2F
UINT4 numDetectors
number of detectors for optional avTwoFX arrays
REAL4 log10BSGLrecalc
Line-robust statistic recomputed by recalcToplistStats.
REAL4 log10BSGLtLrecalc
Line-robust statistic recomputed by recalcToplistStats.
INT4 loudestSeg
index of the loudest segment in multi-F
REAL4 maxTwoFl
multi-detector maximum 2F over segments
REAL4 log10BtSGLtL
Line-robust transient-CW statistic .
REAL4 log10BSGL
Line-robust statistic .
REAL8 F2dot
spindown value f2dot = d2f/dt2
REAL8 Alpha
skyposition: longitude in equatorial coords, radians
REAL8 Delta
skyposition: latitude
REAL8 F1dot
spindown value f1dot = df/dt
REAL4 twoFloudestSeg
loudest single-segment multi-IFO F-stat value
BOOLEAN have_f3dot
output F3dot value
REAL8 F3dot
spindown value f2dot = d2f/dt2
REAL4 avTwoFrecalc
average of -values as recomputed by recalcToplistStats
REAL4 avTwoF
average of F-statistic values over segments