mantidimaging.core.reconstruct.cil_recon module

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

Bases: mantidimaging.core.reconstruct.base_recon.BaseRecon

static find_cor(images: ImageStack, slice_idx: int, start_cor: float, recon_params: ReconstructionParameters) float[source]
static full(images: ImageStack, cors: List[ScalarCoR], recon_params: ReconstructionParameters, progress: Optional[Progress] = 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, recon_params: ReconstructionParameters)[source]
static single_sino(sino: np.ndarray, cor: ScalarCoR, proj_angles: ProjectionAngles, recon_params: ReconstructionParameters, progress: Optional[Progress] = 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]