Skip to main content

analyze_fringes

Function analyze_fringes 

Source
pub fn analyze_fringes(
    projection: &ScalarProjection,
    amplitude_floor: f64,
) -> Result<FringeReport, AnalysisError>
Expand description

Analyzes an amplitude or normalized squared-magnitude projection.

Extrema use the fixed eight-cell Moore neighbourhood, clipped at field edges. A candidate must be strictly less than or strictly greater than every available neighbour, so plateaus never produce traversal-dependent representatives. Results are emitted in row-major order. Michelson contrast is omitted when the maximum represented amplitude is at or below amplitude_floor.