xdesign.algorithms

Functions:

reconstruct(probe, shape, data, rec) Reconstruct single x-ray beam data.
art(probe, data, init[, niter]) Reconstruct data.
sirt(probe, data, init[, niter]) Reconstruct data.
mlem(probe, data, init[, niter]) Reconstruct data.
stream(probe, data, init) Reconstruct data.
xdesign.algorithms.reconstruct(probe, shape, data, rec)[source]

Reconstruct single x-ray beam data.

Parameters:
  • probe (Probe)
  • shape (list) – shape of the reconstruction grid.
  • data (scalar) – Probe measurement dtaa.
  • rec (ndarray) – Initialization matrix.
xdesign.algorithms.art(probe, data, init, niter=10)[source]

Reconstruct data.

xdesign.algorithms.sirt(probe, data, init, niter=10)[source]

Reconstruct data.

xdesign.algorithms.mlem(probe, data, init, niter=10)[source]

Reconstruct data.

xdesign.algorithms.stream(probe, data, init)[source]

Reconstruct data.

xdesign.algorithms.update_progress(progress)[source]

Draws a process bar in the terminal.

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