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... | |
Go to the source code of this file.
Data Structures | |
struct | WeaveStatisticMap |
Struct defining the global 'statistics map' that contains all the defining properties of the supported statistics. More... | |
Macros | |
#define | ENTRY_NONE |
Sets of toplists, extra statistics and dependencies handled by this code. More... | |
#define | ENTRY_COH2F |
#define | ENTRY_COH2F_DET |
#define | ENTRY_MAX2F |
#define | ENTRY_MAX2F_DET |
#define | ENTRY_SUM2F |
#define | ENTRY_SUM2F_DET |
#define | ENTRY_MEAN2F |
#define | ENTRY_MEAN2F_DET |
#define | ENTRY_BSGL |
#define | ENTRY_BSGLtL |
#define | ENTRY_BtSGLtL |
#define | ENTRY_NCOUNT |
#define | ENTRY_NCOUNT_DET |
#define | ENTRY_2_NAME(X) ENTRY_2_NAME_X(X) |
#define | ENTRY_2_NAME_X(v, n, s, d, h) [XLAL_BIT2IDX(v)] = n |
#define | ENTRY_2_MAP(X) ENTRY_2_MAP_X(X) |
#define | ENTRY_2_MAP_X(v, n, s, d, h) { .val = v, .name = n, .dependencies = d, .help = h } |
#define | ENTRY_2_CHOICES(X) ENTRY_2_CHOICES_X(X) |
#define | ENTRY_2_CHOICES_X(v, n, s, d, h) { .val = v, .name = n } |
#define | ENTRY_2_HELPSTR(X) ENTRY_2_HELPSTR_X(X) |
#define | ENTRY_2_HELPSTR_X(v, n, s, d, h) " - " n s ": " h ".\n" |
#define | SUPPORTED_STATISTICS |
#define | SUPPORTED_TOPLISTS |
Variables | |
const char *const | WeaveStatisticNamesByIndex [XLAL_BIT2IDX(WEAVE_STATISTIC_MAX)] |
const WeaveStatisticMap | statistic_map [] |
Array of descriptor structs for all statistics supported by Weave. 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... | |
const UserChoices | WeaveToplistChoices |
User input choices for toplist ranking statistics. More... | |
const char *const | WeaveToplistHelpString |
User input help string for toplist ranking statistics. More... | |
#define ENTRY_NONE |
Sets of toplists, extra statistics and dependencies handled by this code.
Definition at line 44 of file bin/Weave/Statistics.c.
#define ENTRY_COH2F |
Definition at line 47 of file bin/Weave/Statistics.c.
#define ENTRY_COH2F_DET |
Definition at line 50 of file bin/Weave/Statistics.c.
#define ENTRY_MAX2F |
Definition at line 53 of file bin/Weave/Statistics.c.
#define ENTRY_MAX2F_DET |
Definition at line 56 of file bin/Weave/Statistics.c.
#define ENTRY_SUM2F |
Definition at line 59 of file bin/Weave/Statistics.c.
#define ENTRY_SUM2F_DET |
Definition at line 62 of file bin/Weave/Statistics.c.
#define ENTRY_MEAN2F |
Definition at line 65 of file bin/Weave/Statistics.c.
#define ENTRY_MEAN2F_DET |
Definition at line 68 of file bin/Weave/Statistics.c.
#define ENTRY_BSGL |
Definition at line 71 of file bin/Weave/Statistics.c.
#define ENTRY_BSGLtL |
Definition at line 74 of file bin/Weave/Statistics.c.
#define ENTRY_BtSGLtL |
Definition at line 77 of file bin/Weave/Statistics.c.
#define ENTRY_NCOUNT |
Definition at line 80 of file bin/Weave/Statistics.c.
#define ENTRY_NCOUNT_DET |
Definition at line 83 of file bin/Weave/Statistics.c.
#define ENTRY_2_NAME | ( | X | ) | ENTRY_2_NAME_X(X) |
Definition at line 86 of file bin/Weave/Statistics.c.
#define ENTRY_2_NAME_X | ( | v, | |
n, | |||
s, | |||
d, | |||
h | |||
) | [XLAL_BIT2IDX(v)] = n |
Definition at line 87 of file bin/Weave/Statistics.c.
#define ENTRY_2_MAP | ( | X | ) | ENTRY_2_MAP_X(X) |
Definition at line 89 of file bin/Weave/Statistics.c.
Definition at line 90 of file bin/Weave/Statistics.c.
#define ENTRY_2_CHOICES | ( | X | ) | ENTRY_2_CHOICES_X(X) |
Definition at line 92 of file bin/Weave/Statistics.c.
Definition at line 93 of file bin/Weave/Statistics.c.
#define ENTRY_2_HELPSTR | ( | X | ) | ENTRY_2_HELPSTR_X(X) |
Definition at line 95 of file bin/Weave/Statistics.c.
Definition at line 96 of file bin/Weave/Statistics.c.
#define SUPPORTED_STATISTICS |
Definition at line 134 of file bin/Weave/Statistics.c.
#define SUPPORTED_TOPLISTS |
Definition at line 184 of file bin/Weave/Statistics.c.
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.
const char* const WeaveStatisticNamesByIndex[XLAL_BIT2IDX(WEAVE_STATISTIC_MAX)] |
Definition at line 98 of file bin/Weave/Statistics.c.
const WeaveStatisticMap statistic_map[] |
Array of descriptor structs for all statistics supported by Weave.
Definition at line 117 of file bin/Weave/Statistics.c.
const UserChoices WeaveStatisticChoices |
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.
const UserChoices WeaveToplistChoices |
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.