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

CommonDiffraction#

class pyxem.signals.CommonDiffraction[source]#

Bases: object

Common functions for all Diffraction Signals classes

Attributes

CommonDiffraction.unit

Methods

CommonDiffraction.add_navigation_signal(data)

Adds in a navigation signal to the metadata.

CommonDiffraction.get_integrated_intensity(roi)

Obtains the intensity integrated over the scattering range as defined by the roi.

CommonDiffraction.get_virtual_image(rois[, ...])

Get a virtual images from a set of rois

CommonDiffraction.plot_integrated_intensity(roi)

Interactively plots the integrated intensity over the scattering range defined by the roi.

CommonDiffraction.to_device()

Transfer the data to the GPU.

CommonDiffraction.to_host()

Transfer the data from the GPU to the CPU.

Examples using CommonDiffraction#

Determining Elliptic Distortion

Determining Elliptic Distortion

Coordinates in Pyxem

Coordinates in Pyxem