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

filter_detector_edge#

DiffractionVectors.filter_detector_edge(exclude_width, *args, **kwargs)[source]#

Filter the diffraction vectors to accept only those not within a user specified proximity to the detector edge.

Parameters:
  • exclude_width (int) – The width of the region adjacent to the detector edge from which vectors will be excluded.

  • *args – Arguments to be passed to map().

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

Returns:

filtered_vectors – Diffraction vectors within allowed detector region.

Return type:

DiffractionVectors