pub fn mse<T>(
reference: ArrayView2<'_, Complex<T>>,
estimate: ArrayView2<'_, Complex<T>>,
mask: Option<ArrayView2<'_, bool>>,
alignment: ComplexAlignment,
) -> Result<f64, ComplexMetricError>where
T: Float + ToPrimitive,Expand description
Return mean(|aligned_estimate - reference|²).
aligned_estimate uses the requested ComplexAlignment fitted over the
selected pixels.