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

get_diffracting_pixels_map#

DiffractionVectors.get_diffracting_pixels_map(in_range=None, binary=False)[source]#

Map of the number of vectors at each navigation position.

Parameters:
  • in_range (tuple) – Tuple (min_magnitude, max_magnitude) the minimum and maximum magnitude of vectors to be used to form the map.

  • binary (boolean) – If True a binary image with diffracting pixels taking value == 1 is returned.

Returns:

crystim – 2D map of diffracting pixels.

Return type:

Signal2D