Skip to content

Autocorrelation

Source

Plotting image autocorrelation.

plot_autocorrelation(image, crop_center=True, fig_size=(8, 5.5), save_path=None)

Plot training and validation losses.

Parameters:

  • image (NDArray) –

    Input image.

  • crop_center (bool, default: True ) –

    Whether to crop the autocorrelation image around the center pixel or not.

  • fig_size (tuple[float, float], default: (8, 5.5) ) –

    Size of the figure to be plotted. Default is (8, 5.5).

  • save_path (Path | str | None, default: None ) –

    Path to save the figure. If None, the figure will not be saved. Default is None.