- class etspy.base.TomoStack(CommonStack)[source]
Create a TomoStack instance, used to represent tomographic tilt series data.
All arguments are passed to the
Signal2Dconstructor and should be used as documented for that method.Constructors¶
Methods¶
- shift_and_tilt_setter(mode, ...) TomoShifts | TomoTilts[source]
Set either
self._tiltsorself._shiftsto an array.
-
remove_projections(projections: list | None =
None) TomoStack[source] Return a copy of the TomoStack with certain projections removed from the series.
-
save(filename=
None, overwrite=None, extension=None, ...)[source] Save the signal in the specified format.
- test_correlation(...) Figure[source]
Test output of cross-correlation prior to alignment.
- align_other(other: TomoStack, ...) TomoStack[source]
Apply the alignment calculated for one dataset to another.
- stack_register(...) TomoStack[source]
Register stack spatially.
- tilt_align(method: 'CoM' | 'MaxImage', ...)[source]
Align the tilt axis of a TomoStack.
- reconstruct(...) RecStack[source]
Reconstruct a TomoStack series using one of the available methods.
-
test_align(tilt_shift: float =
0.0, ...) Figure[source] Perform a reconstruction with limited slices for visual inspection.
-
manual_align(nslice: int, xshift: int =
0, ...) TomoStack[source] Manually shift part of a stack with respect to another and return it as a copy.
- recon_error(...) tuple[Signal2D, Signal1D][source]
Determine the optimum number of iterations for reconstruction.
- extract_sinogram(column: int | float) Signal2D[source]
Extract a sinogram from a single column of the TomoStack.
-
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.
-
trans_stack(xshift: float =
0.0, yshift: float =0.0, ...) Self[source] Create a copy of a Stack, transformed using the
skimageAffine transform.
Properties¶
- property shifts : TomoShifts
The stack’s image shift values (in pixels).