tomocupy.rec_steps

Functions:

GPURecSteps(cl_reader, cl_writer)

Class for a stepwise tomographic reconstruction on GPU with pipeline data processing by sinogram and projection chunks.

class tomocupy.rec_steps.GPURecSteps(cl_reader, cl_writer)[source]

Bases: object

Class for a stepwise tomographic reconstruction on GPU with pipeline data processing by sinogram and projection chunks. Steps include 1) pre-processing the whole data volume by splitting into sinograms, 2) pre-processing the whole data volume by splitting into proejections, 3) reconstructing the whole volume by splitting into sinograms and projections The implemented reconstruction methods are 1) Fourier-based method with exponential functions for interpoaltion in the frequency domain (implemented with CUDA C), 2) Direct discretization of the backprojection intergral

proc_proj_parallel(data)[source]

Data processing by splitting into projection chunks

proc_sino_parallel(data, dark, flat)[source]

Data processing by splitting into sinogram chunks

recon_steps_all()[source]

GPU reconstruction by loading a full dataset in memory and processing by steps, with reading the whole data to memory