etspy.base.CommonStack(data: ndarray | Signal2D, *args, **kwargs)[source]

Create an ETSpy signal instance.

Parameters:
data: ndarray | Signal2D

The signal data. Can be provided as either a HyperSpy hyperspy.api.signals.Signal2D or a Numpy array of the shape (tilt, y, x).

*args

Additional non-keyword arguments passed to the Signal2D constructor

**kwargs

Additional keyword arguments passed to the hyperspy.api.signals.Signal2D constructor

Raises:

NotImplementedErrorCommonStack is not intended to be used directly. One of its sub-classes (TomoStack or RecStack) should be used instead.