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

get_virtual_images_from_mesh#

VirtualImageGenerator.get_virtual_images_from_mesh(normalize=False, out_signal_axes=None)[source]#

Obtain the intensity scattered at each navigation position in an Diffraction2D Signal by summation over the ROIs defined in the roi_list attribute.

Parameters:
  • normalize (boolean) – If True each VDF image is normalized so that the maximum intensity in each VDF is 1.

  • out_signal_axes (None, iterable of int or string) – Specify which navigation axes to use as signal axes in the virtual image. If None, the two first navigation axis are used.

Returns:

virtual_images – VirtualDarkFieldImage object containing the virtual images for all ROIs, with the navigation axis as ROI index.

Return type:

VirtualDarkFieldImage