libera_utils.footprint_matching.aggregation.weighted_mode_primary# libera_utils.footprint_matching.aggregation.weighted_mode_primary(values: ndarray, weights: ndarray, *, n_categories: int | None = None, **_: Any) → dict[str, float]# Most common category by PSF weight (rank 0). See _ranked_mode.