- etspy.base.TomoShifts(data, *args, **kwargs)[source]
Create a TomoShifts signal instance.
TomoShiftsis a specialized sub-class ofSignal1Dused to hold information about the x and y image shifts in aTomoStack.- Parameters:¶
- data¶
The signal data. Can be provided as either a HyperSpy
hyperspy.api.signals.Signal1Dor a Numpy array of the shape (ntilts, 2).- *args¶
Additional non-keyword arguments passed to the
Signal1Dconstructor.- **kwargs¶
Additional keyword arguments passed to the
hyperspy.api.signals.Signal1Dconstructor.
- Raises:¶
ValueError – If the data provided does not result in a Signal with signal shape (2,).