libera_utils.footprint_matching.weighting.WeightField#
- class libera_utils.footprint_matching.weighting.WeightField(weights: ndarray, total_energy: float, max_radius_km: float, coverage: float)#
Bases:
objectPer-sample PSF weights and coverage for one footprint and one source.
- Variables:
weights (np.ndarray) – 1-D array aligned to the sample set’s
lats/lons. Each entry is the PSF weight of that sample; samples outside the PSF contour are0.total_energy (float) – Sum of
weightsover every sample in the set.max_radius_km (float) – Ground radius (km) at which the kernel was truncated, for diagnostics.
coverage (float) – Fraction in
[0, 1]of the PSF’s in-contour energy backed by a finite sample, measured on the weigher’s reference grid (see the module docstring).