DiffractionVectors2D#
- class pyxem.signals.DiffractionVectors2D(*args, **kwargs)[source]#
Bases:
DiffractionVectors
,Signal2D
DiffractionVectors signal with the same number of vectors at each navigation position.
This class can also be used to represent a list of vectors with no navigation axis.
Attributes
Methods
Filter the diffraction vectors to accept only those not within a user specified proximity to the detector edge.
DiffractionVectors2D.from_peaks
(**kwargs)Takes a list of peak positions (pixel coordinates) and returns an instance of Diffraction2D
Returns diffraction vectors considered unique by: strict comparison, distance comparison with a specified threshold, or by clustering using DBSCAN [1].
DiffractionVectors2D.to_roi
([radius, ...])Convert the diffraction vectors to regions of interest (ROIs) for creating virtual images.
Examples using DiffractionVectors2D
#
Creating Virtual Images from Vectors