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

filter_detector_edge#

DiffractionVectors2D.filter_detector_edge(exclude_width, columns=[-2, -1])[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.

Returns:

filtered_vectors – Diffraction vectors within allowed detector region.

Return type:

DiffractionVectors