class etspy.base.RecStack(CommonStack)[source]

Create a RecStack instance, used to hold the results of a reconstructed volume.

All arguments are passed to the Signal2D constructor and should be used as documented for that method.

Constructors

RecStack(*args, **kwargs)[source]

Create a RecStack signal.

Methods

plot_slices(xslice: int | None = None, ...)[source]

Plot slices along all three axes of a reconstruction stack.

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.

invert() Self[source]

Create a copy of a Stack with inverted contrast levels.

normalize(width: int = 3) Self[source]

Create a copy of a stack with normalized contrast levels.

save_movie(start: int, stop: int, ...)[source]

Save the Stack as an AVI movie file.

save_raw(filename: str | Path | None = None) Path[source]

Save Stack data as a .raw/.rpl file pair.

stats()[source]

Print some basic statistics about Stack data.

trans_stack(xshift: float = 0.0, yshift: float = 0.0, ...) Self[source]

Create a copy of a Stack, transformed using the skimage Affine transform.