DiffractionVectors1D#

class pyxem.signals.DiffractionVectors1D(*args, **kwargs)[source]#

Bases: DiffractionVectors, Signal1D

A Collection of Diffraction Vectors with a defined 1D set of vectors.

For every navigation position there is specifically one vector that represents the dataset.

Examples of DiffractionVectors1D Signals:
  • STEM_DPC

  • STRAIN Maps

  • Diffraction shifts/ Centers

Variables:
  • column_scale (np.array()) – The scale for each column in the signal. For converting the real values to pixel values in some image.

  • column_offsets (np.array()) – The offsets for each column in the signal. For converting the real values to pixel values in some image.

Attributes

Methods

DiffractionVectors1D.flatten_diffraction_vectors(...)

Flattens the diffraction vectors into a DiffractionVector2D object.

DiffractionVectors1D.plot([tight_layout])

Plot the beam shifts, utilizing HyperSpy's hyperspy.api.plot.plot_images() function.