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

get_virtual_image#

CommonDiffraction.get_virtual_image(rois, new_axis_dict=None, normalize=False)[source]#

Get a virtual images from a set of rois

Parameters:
  • rois (iterable of hyperspy.roi.BaseInteractiveROI) – Any interactive ROI detailed in HyperSpy.

  • new_axis_dict (dict, optional) – A dictionary with the properties of the new axis. If None, a default axis is created.

  • normalize (bool, optional) – If True, the virtual images are normalized to the maximum value.