Check out the Hyperspy Workshop May 13-17, 2024 Online

find_beam_center_blur#

pyxem.utils.diffraction.find_beam_center_blur(z, sigma)[source]#

Estimate direct beam position by blurring the image with a large Gaussian kernel and finding the maximum.

Parameters:

sigma (float) – Sigma value for Gaussian blurring kernel.

Returns:

center – numpy.ndarray [x, y] containing indices of estimated direct beam positon.

Return type:

numpy.ndarray