- class etspy.base.CommonStack(Signal2D)[source]
An abstract base class for tomography data.
Abstract
This class is intended to be subclassed (e.g. by
TomoStack
andRecStack
) and should not be instantiated directly. Doing so will raise aNotImplementedError
.All arguments (other than
tilts
andshifts
) are passed to theSignal2D
constructor and should be used as documented for that method.Constructors¶
Methods¶
-
plot(navigator: str =
'slider'
, *args, **kwargs)[source] Override of plot function to set default HyperSpy navigator to ‘slider’.
- change_data_type(dtype: str | dtype)[source]
Change the data type of a stack.
-
save_raw(filename: str | Path | None =
None
) Path [source] Save Stack data as a .raw/.rpl file pair.
-
trans_stack(xshift: float =
0.0
, yshift: float =0.0
, ...) Self [source] Create a copy of a Stack, transformed using the
skimage
Affine transform.
-
plot(navigator: str =