mantidimaging.core.reconstruct.cil_recon module

class mantidimaging.core.reconstruct.cil_recon.CILRecon[source]

Bases: BaseRecon

static find_cor(images: Images, slice_idx: int, start_cor: float, recon_params: ReconstructionParameters) float[source]
static full(images: Images, cors: List[ScalarCoR], recon_params: ReconstructionParameters, progress: Progress | None = None)[source]

Performs a volume reconstruction using sample data provided as sinograms.

Parameters:
  • images – Array of sinogram images

  • cors – Array of centre of rotation values

  • proj_angles – Array of projection angles in radians

  • recon_params – Reconstruction Parameters

  • progress – Optional progress reporter

Returns:

3D image data for reconstructed volume

static set_up_TV_regularisation(image_geometry: ImageGeometry, acquisition_data: AcquisitionData, alpha: float)[source]
static single_sino(sino: ndarray, cor: ScalarCoR, proj_angles: ProjectionAngles, recon_params: ReconstructionParameters, progress: Progress | None = None)[source]

Reconstruct a single slice from a single sinogram. Used for the preview and the single slice button. Should return a numpy array,

mantidimaging.core.reconstruct.cil_recon.allowed_recon_kwargs() dict[source]