etspy.base.TomoStack.extract_sinogram(column: int | float) Signal2D[source]

Extract a sinogram from a single column of the TomoStack.

The value to use for column can be supplied as either an integer for pixel-based indexing, or as a float for unit-based indexing. The resulting image will have the stack’s projection axis oriented vertically and the y-axis horizontally.

Parameters:
column: int | float

The x-axis position to use for computing the sinogram. If an integer, pixel-basd indexing will be used. If a float, unit-based indexing will be used.

Returns:

sino – A single image representing the single column data over the range of projections in the original TomoStack.

Return type:

Signal2D

Raises:

TypeError – Raised if column is neither a float or int