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:
- param projections:
- type angles:
- param angles:
- type rotation_center:
- param rotation_center:
- type slice_index:
- param slice_index:
- type halftomo:
- param halftomo:
- type padding_mode:
- param padding_mode:
- type extra_options:
- param extra_options: