crop#

EBSDDetector.crop(extent: tuple[int, int, int, int] | list[int]) Self[source]#

Return a new detector with its shape cropped and pc values updated accordingly.

Parameters:
extent

The (top, bottom, left, right) pixels giving the extent of the cropped detector.

Returns:
new_detector

A new detector with a new shape and PC values.

Examples using EBSDDetector.crop#

Crop an EBSD detector

Crop an EBSD detector