flatten_diffraction_vectors#
- DiffractionVectors.flatten_diffraction_vectors(real_units=True)[source]#
Flattens the diffraction vectors into a DiffractionVector2D object.
Each navigation axis is transformed into a vector defined by the scale and offset. This method allows purely vector based actions like filtering or determining unique values.
- Parameters:
real_units (bool) – If the navigation dimension should be flattened based on the pixel position or the real value as determined by the scale and offset.