nabu.reconstruction.mlem module

class nabu.reconstruction.mlem.MLEMReconstructor(sinos_shape, angles_rad, shifts_uv=None, cor=None, n_iterations=50, extra_options=None)[source]

Bases: object

A reconstructor for MLEM reconstruction using the CorrCT toolbox.

default_extra_options = {'compute_shifts': False, 'tomo_consistency': False, 'v_max_for_u_shifts': None, 'v_max_for_v_shifts': None, 'v_min_for_u_shifts': 0, 'v_min_for_v_shifts': 0}
reconstruct(data_vwu)[source]
data_align_vwu: numpy.ndarray or pycuda.gpuarray

Raw data, with shape (n_sinograms, n_angles, width)

output: optional

Output array. If not provided, a new numpy array is returned