Skip to main content

bias

Function bias 

Source
pub fn bias<T>(
    reference: ArrayView2<'_, Complex<T>>,
    estimate: ArrayView2<'_, Complex<T>>,
    mask: Option<ArrayView2<'_, bool>>,
    alignment: ComplexAlignment,
) -> Result<Complex64, ComplexMetricError>
where T: Float + ToPrimitive,
Expand description

Return the arithmetic mean of aligned_estimate - reference.

The selected ComplexAlignment is fitted over exactly the pixels included by mask; true includes a pixel.