Skip to main content

mae

Function mae 

Source
pub fn mae<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 the mean residual magnitude, mean(|aligned_estimate - reference|).

aligned_estimate uses the requested ComplexAlignment fitted over the selected pixels.