- class kikuchipy.generators.VirtualBSEGenerator(signal: Union[EBSD, LazyEBSD])#
Generates virtual backscatter electron (BSE) images for an electron backscatter diffraction (EBSD) signal and a set of EBSD detector areas in a convenient manner.
Return the detector grid columns, defined by
Return the detector grid rows, defined by
Return or set the generator grid shape.
Return an in-memory signal with a stack of virtual backscatter electron (BSE) images by integrating the intensities within regions of interest (ROI) defined by the generator
VirtualBSEGenerator.get_rgb_image(r, g, b[, ...])
Return an in-memory RGB virtual BSE image from three regions of interest (ROIs) on the EBSD detector, with a potential "alpha channel" in which all three arrays are multiplied by a fourth.
Plot a pattern with the detector grid superimposed, potentially coloring the edges of three grid tiles red, green and blue.
Return a rectangular region of interest (ROI) on the EBSD detector from one or multiple generator grid tile indices as row(s) and column(s).