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

get_magnitude_histogram#

DiffractionVectors.get_magnitude_histogram(bins, *args, **kwargs)[source]#

Obtain a histogram of gvector magnitudes.

Parameters:
  • bins (numpy array) – The bins to be used to generate the histogram.

  • *args – Arguments to get_magnitudes().

  • **kwargs – Keyword arguments to get_magnitudes().

Returns:

ghis – Histogram of gvector magnitudes.

Return type:

Signal1D