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.

Module author: Doga Gursoy <dgursoy@aps.anl.gov>

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. [4].

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

Reconstruct data using MLEM algorithm.

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

Reconstruct data using SIRT algorithm. [3].

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%