xdesign.recon

Defines methods for reconstructing data from the acquisition module.

The algorithm module contains methods for reconstructing tomographic data including gridrec, SIRT, ART, and MLEM. These methods can be used as benchmarks for custom reconstruction methods or as an easy way to access reconstruction algorithms for developing other methods such as noise correction.

Note

Using tomopy is recommended instead of these functions for heavy computation.

Functions:

art(gmin, gsize, data, theta, h, init[, …]) Reconstruct data using ART algorithm.
sirt(gmin, gsize, data, theta, h, init[, …]) Reconstruct data using SIRT algorithm.
mlem(gmin, gsize, data, theta, h, init[, niter]) Reconstruct data using MLEM algorithm.
update_progress(progress) Draw a process bar in the terminal.
xdesign.recon.art(gmin, gsize, data, theta, h, init, niter=10, weights=None, save_interval=None)[source]

Reconstruct data using ART algorithm. [Gordon1970].

xdesign.recon.sirt(gmin, gsize, data, theta, h, init, niter=10, weights=None, save_interval=None)[source]

Reconstruct data using SIRT algorithm. [Gilbert1972].

xdesign.recon.mlem(gmin, gsize, data, theta, h, init, niter=10)[source]

Reconstruct data using MLEM algorithm.

xdesign.recon.update_progress(progress)[source]

Draw a process bar in the terminal.

Parameters:process (float) – The percentage completed e.g. 0.10 for 10%