crop#
- EBSDDetector.crop(extent: tuple[int, int, int, int] | list[int]) Self[source]#
Return a new detector with its
shapecropped andpcvalues updated accordingly.- Parameters:
- extent
The (top, bottom, left, right) pixels giving the extent of the cropped detector.
- Returns:
new_detectorA new detector with a new shape and PC values.