libera_utils.footprint_matching.aggregation.weighted_mode_tertiary#

libera_utils.footprint_matching.aggregation.weighted_mode_tertiary(values: ndarray, weights: ndarray, *, n_categories: int | None = None, **_: Any) → dict[str, float]#

Third most common category by PSF weight (rank 2). See _ranked_mode.