pattern#

Single pattern processing (used by signals).

Functions

fft(pattern[, apodization_window, shift, ...])

Compute the discrete Fast Fourier Transform (FFT) of an EBSD pattern.

fft_filter(pattern, transfer_function[, ...])

Filter an EBSD patterns in the frequency domain.

fft_frequency_vectors(shape)

Get the frequency vectors in a Fourier Transform spectrum.

fft_spectrum(fft_pattern)

Compute the FFT spectrum of a Fourier transformed EBSD pattern.

get_dynamic_background(pattern[, ...])

Get the dynamic background in an EBSD pattern.

get_image_quality(pattern[, normalize, ...])

Return the image quality of an EBSD pattern.

get_signal_mask(pattern[, threshold])

Return a signal mask of pixels without Kikuchi diffraction in an EBSD pattern, found by intensity thresholding.

ifft(fft_pattern[, shift, real_fft_only])

Compute the inverse Fast Fourier Transform (IFFT) of an FFT of an EBSD pattern.

normalize_intensity(pattern[, num_std, ...])

Normalize image intensities to a mean of zero and a given standard deviation.

optimize_adaptive_histogram_equalization(...)

Find adaptive histogram equalization parameters that maximize the similarity between a single EBSD pattern and a reference pattern, using Bayesian global or Nelder-Mead local optimization.

optimize_bandpass_filter(pattern, reference)

Find FFT bandpass filter parameters that maximize the similarity between a single EBSD pattern and a reference pattern, using Bayesian global or Nelder-Mead local optimization.

optimize_pattern_processing(pattern, reference)

Find processing parameters that maximize the similarity between a single EBSD pattern and a reference pattern, using Bayesian global or Nelder-Mead local optimization.

optimize_remove_dynamic_background(pattern, ...)

Find dynamic background removal parameters that maximize the similarity between a single EBSD pattern and a reference pattern, using Bayesian global or Nelder-Mead local optimization.

remove_dynamic_background(pattern[, ...])

Remove the dynamic background in an EBSD pattern.

rescale_intensity(pattern[, in_range, ...])

Rescale intensities in an EBSD pattern.