pub fn nrmse<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 ||aligned_estimate - reference||₂ / ||reference||₂.
aligned_estimate uses the requested ComplexAlignment fitted over the
selected pixels.