fft_filter#
- kikuchipy.pattern.fft_filter(pattern: ndarray, transfer_function: ndarray | Window, apodization_window: ndarray | Window | None = None, shift: bool = False) ndarray [source]#
Filter an EBSD patterns in the frequency domain.
- Parameters:
- pattern
EBSD pattern.
- transfer_function
Filter transfer function in the frequency domain.
- apodization_window
An apodization window to apply before the FFT in order to suppress streaks.
- shift
Whether to shift the zero-frequency component to the centre of the spectrum. Default is
False
.
- Returns:
filtered_pattern
Filtered EBSD pattern.