etspy.base.TomoStack.remove_projections(projections: list | None = None) TomoStack[source]

Return a copy of the TomoStack with certain projections removed from the series.

This method is primarily provided as a helper/alternative way to modify the list of projections. It is recommended to use the .inav slicer of the TomoStack class instead.

Parameters:
projections: list | None = None

List of projection indices in integers to remove

Returns:

s_new – Copy of self with indicated projections removed

Return type:

TomoStack

Raises:

ValueError – If no projections are provided