pub fn spatial_spread(resolution: &Array2<f64>) -> Array1<usize>Expand description
Compute spatial spread (half-max width) for each PSF.
For each source, counts how many sources in the PSF have amplitude ≥ 50% of the peak amplitude. Smaller is better.
Returns an array of length n_sources.