fraction_population_at_threshold¶
- rubin_sim.maf.batches.fraction_population_at_threshold(thresholds, optnames=None)¶
Creates a list of summary metrics to be applied to any moving object metric which reports a float value, calculating the fraction of the population above X.
- Parameters:
- thresholdslist of float
The thresholds at which to calculate what fraction of the population exceeds these values.
- optnameslist of str, optional
If provided, these names will be used instead of the threshold values when constructing the metric names. This allows more descriptive summary statistic names.
- Returns
- ——-
- List of moving object MoCompleteness metrics (differential fractions of the population).