roi_from_grid#
- VirtualBSEImager.roi_from_grid(index: tuple | list[tuple]) RectangularROI [source]#
Return a rectangular region of interest (ROI) on the EBSD detector from one or multiple grid tile indices as row(s) and column(s).
- Parameters:
- index
Row and column of one or multiple grid tiles as a tuple or a list of tuples.
- Returns:
roi
ROI defined by the grid indices.