Module which defines statistics that can be computed and their parameters. More...
Prototypes | |
int | XLALWeaveStatisticsSetDirectDependencies (WeaveStatisticType *deps, const WeaveStatisticType stats) |
Set all bits in 'deps' corresponding to direct dependencies of the set of input statistics 'stat'. More... | |
int | XLALWeaveStatisticsParamsSetDependencyMap (WeaveStatisticsParams *statistics_params, const WeaveStatisticType toplist_stats, const WeaveStatisticType extra_output_stats, const WeaveStatisticType recalc_stats) |
Fill StatisticsParams logic for given toplist and extra-output stats. More... | |
void | XLALWeaveStatisticsParamsDestroy (WeaveStatisticsParams *statistics_params) |
Destroy a StatisticsParams struct. More... | |
Module which defines statistics that can be computed and their parameters.
Definition in file bin/Weave/statistics.h.
Go to the source code of this file.
Data Structures | |
struct | WeaveStatisticsParams |
Struct holding all parameters and status values for computing various statistics. More... | |
struct | WeaveStatisticsValues |
Macros | |
#define | WEAVE_STATISTIC_NAME(ws) WeaveStatisticNamesByIndex[XLAL_BIT2IDX(ws)] |
Names of all possible statistics. More... | |
Enumerations | |
enum | tagWeaveStatisticType { WEAVE_STATISTIC_NONE = 0 , WEAVE_STATISTIC_COH2F = XLAL_IDX2BIT( 0 ) , WEAVE_STATISTIC_COH2F_DET = XLAL_IDX2BIT( 1 ) , WEAVE_STATISTIC_MAX2F = XLAL_IDX2BIT( 2 ) , WEAVE_STATISTIC_MAX2F_DET = XLAL_IDX2BIT( 3 ) , WEAVE_STATISTIC_SUM2F = XLAL_IDX2BIT( 4 ) , WEAVE_STATISTIC_SUM2F_DET = XLAL_IDX2BIT( 5 ) , WEAVE_STATISTIC_MEAN2F = XLAL_IDX2BIT( 6 ) , WEAVE_STATISTIC_MEAN2F_DET = XLAL_IDX2BIT( 7 ) , WEAVE_STATISTIC_BSGL = XLAL_IDX2BIT( 8 ) , WEAVE_STATISTIC_BSGLtL = XLAL_IDX2BIT( 9 ) , WEAVE_STATISTIC_BtSGLtL = XLAL_IDX2BIT( 10 ) , WEAVE_STATISTIC_NCOUNT = XLAL_IDX2BIT( 11 ) , WEAVE_STATISTIC_NCOUNT_DET = XLAL_IDX2BIT( 12 ) , WEAVE_STATISTIC_MAX = XLAL_IDX2BIT( 13 ) } |
Bitflags representing all possible statistics that can be computed or returned by Weave. More... | |
Variables | |
const UserChoices | WeaveToplistChoices |
User input choices for toplist ranking statistics. More... | |
const char *const | WeaveToplistHelpString |
User input help string for toplist ranking statistics. More... | |
const UserChoices | WeaveStatisticChoices |
User input choices for all supported statistics. More... | |
const char *const | WeaveStatisticHelpString |
User input help string for all supported statistics. More... | |
#define WEAVE_STATISTIC_NAME | ( | ws | ) | WeaveStatisticNamesByIndex[XLAL_BIT2IDX(ws)] |
Names of all possible statistics.
Definition at line 77 of file bin/Weave/statistics.h.
Bitflags representing all possible statistics that can be computed or returned by Weave.
Definition at line 42 of file bin/Weave/statistics.h.
int XLALWeaveStatisticsSetDirectDependencies | ( | WeaveStatisticType * | deps, |
const WeaveStatisticType | stats | ||
) |
Set all bits in 'deps' corresponding to direct dependencies of the set of input statistics 'stat'.
Definition at line 211 of file bin/Weave/statistics.c.
int XLALWeaveStatisticsParamsSetDependencyMap | ( | WeaveStatisticsParams * | statistics_params, |
const WeaveStatisticType | toplist_stats, | ||
const WeaveStatisticType | extra_output_stats, | ||
const WeaveStatisticType | recalc_stats | ||
) |
Fill StatisticsParams logic for given toplist and extra-output stats.
[out] | statistics_params | statstics dependency map |
[in] | toplist_stats | requested toplist statistics |
[in] | extra_output_stats | requested 'extra' (stage0) output statistics |
[in] | recalc_stats | requested 'recalc' (stage1) statistics |
Definition at line 235 of file bin/Weave/statistics.c.
void XLALWeaveStatisticsParamsDestroy | ( | WeaveStatisticsParams * | statistics_params | ) |
Destroy a StatisticsParams struct.
Definition at line 325 of file bin/Weave/statistics.c.
|
extern |
User input choices for toplist ranking statistics.
Definition at line 192 of file bin/Weave/statistics.c.
User input help string for toplist ranking statistics.
Definition at line 200 of file bin/Weave/statistics.c.
|
extern |
User input choices for all supported statistics.
Definition at line 150 of file bin/Weave/statistics.c.
User input help string for all supported statistics.
Definition at line 167 of file bin/Weave/statistics.c.