- etspy.base.TomoShifts(data, *args, **kwargs)[source]
Create a TomoShifts signal instance.
TomoShifts
is a specialized sub-class ofSignal1D
used 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.Signal1D
or a Numpy array of the shape (ntilts, 2).- *args¶
Additional non-keyword arguments passed to the
Signal1D
constructor.- **kwargs¶
Additional keyword arguments passed to the
hyperspy.api.signals.Signal1D
constructor.
- Raises:¶
ValueError – If the data provided does not result in a Signal with signal shape (2,).