ewokstomo.tasks.online.reconstruct_slice.fbp_reconstruction_slice#

ewokstomo.tasks.online.reconstruct_slice.fbp_reconstruction_slice(projections, angles, rotation_center, slice_index=None, halftomo=False, padding_mode='edges', extra_options=None)[source]#

Perform FBP reconstruction on a single slice.

Reconstructs only one horizontal slice from the projection stack, useful for quick preview or center of rotation determination.

Parameters#

projectionsnp.ndarray

Array of projections with shape (n_angles, n_z, n_x)

anglesnp.ndarray

Rotation angles in radians

rotation_centerfloat

Rotation axis position

slice_indexint, optional

Index of the slice to reconstruct. If None, uses the middle slice. Default is None.

halftomobool, optional

If True, assumes half-tomography acquisition. Default is False.

padding_modestr, optional

Padding mode for sinogram extension. Default is ‘edges’.

extra_optionsdict, optional

Additional options for the backprojector. Default is {‘centered_axis’: True}.

type projections:

ndarray

param projections:

type angles:

ndarray

param angles:

type rotation_center:

float

param rotation_center:

type slice_index:

int | str | None

param slice_index:

type halftomo:

bool

param halftomo:

type padding_mode:

str

param padding_mode:

type extra_options:

dict[str, Any] | None

param extra_options: