get_angular_power#
- PolarDiffraction2D.get_angular_power(mask=None, normalize=True, inplace=False, **kwargs)[source]#
Calculate the power spectrum of the angular auto-correlation function in the form of a Signal2D class.
This gives the fourier decomposition of the radial correlation. Due to nyquist sampling the number of fourier coefficients will be equal to the angular range.
- Parameters:
- mask (Numpy array or Signal2D) – A bool mask of values to ignore of shape equal to the signal shape. If the mask
is a BaseSignal than it is iterated with the polar signal
- normalize: bool
Normalize the radial correlation by the average value at some radius.
inplace (bool) – From
hyperspy.api.signals.BaseSignal.map()
inplace=True means the signal is overwritten.kwargs (dict) – Any additional options for the
hyperspy.api.signals.BaseSignal.map()
function
- Returns:
power – The power spectrum of the Signal2D, when inplace is False, otherwise return None
- Return type:
Signal2D