Skip to main content

peak_localisation_error

Function peak_localisation_error 

Source
pub fn peak_localisation_error(resolution: &Array2<f64>) -> Array1<usize>
Expand description

Compute peak localisation error for each source.

For each source i, finds the index of the maximum in the PSF and reports the index offset |argmax(R[:, i]) − i|.

Returns an array of length n_sources.