Skip to main content

Physically corrected projectors for X-ray induced emission CT.

Project description

PyCorrectedEmissionCT (corrct)

Python package GitHub tag (latest by date) License DOI

Physically corrected projectors for X-ray induced emission CT. PyCorrectedEmissionCT is usually abbreviated to its python module name: corrct (either pronounced "corr-C-T" or "correct").

This package provides the following functionality:

  • Support for attenuation correction of the forward-projection and back-projection.
  • Various solvers (reconstruction algorithms):
    • Simultaneous Iterative Reconstruction Technique (SIRT).
    • Maximum Likelihood Estimation Maximisation (MLEM).
    • Simultaneous Algebraic Reconstruction Technique (SART).
    • Primal-dual optimization from Chambolle-Pock (Primal-Dual Hybrid Gradient - PDHG), with:
      • Various data fitting terms, including Gaussian and Poisson noise modelling.
      • Various optional regularization terms, including: TV-min, l1-min, laplacian, and wavelet l1-min.
      • Multi-channel (collaborative) regularization terms, like: TNV (Total Nuclear Variation).
    • Filtered Back-Projection (FBP), and its data-dependent filter learning variant (PyMR-FBP).
  • Two projector backends, based on: astra-toolbox and scikit-image.
  • Guided regularization parameter selection, through cross-validation and elbow method.
  • Projection alignment routines.

It contains the code used for the following paper, which also provides a mathematical description of the attenuation correction concepts and algorithms used here:

  • N. Viganò and V. A. Solé, "Physically corrected forward operators for induced emission tomography: a simulation study," Meas. Sci. Technol., no. Advanced X-Ray Tomography, pp. 1–26, Nov. 2017.
    https://doi.org/10.1088/1361-6501/aa9d54

Other useful information:

Getting Started

It takes a few steps to setup PyCorrectedEmissionCT on your machine. We recommend installing Anaconda package manager for Python 3.

Installing with conda

Simply install with:

conda install -c n-vigano corrct

If you want fast tomographic projectors using the astra-toolbox:

conda install -c astra-toolbox astra-toolbox

Installing from PyPI

Simply install with:

pip install corrct

If you are on jupyter, and don't have the rights to install packages system-wide (e.g. on jupyter-slurm at ESRF), then you can install with:

! pip install --user corrct

Installing from source

To install PyCorrectedEmissionCT, simply clone this GitHub project. Go to the cloned directory and run PIP installer:

git clone https://github.com/cicwi/PyCorrectedEmissionCT.git corrct
cd corrct
pip install -e .

Running the examples

To learn more about the functionality of the package check out our examples folder.

Authors and contributors

  • Nicola VIGANÒ - Main developer
  • Jerome LESAINT - Contributor
  • Patrick HARRISON - Contributor

See also the list of contributors who participated in this project.

How to contribute

Contributions are always welcome. Please submit pull requests against the main branch.

If you have any issues, questions, or remarks, then please open an issue on GitHub.

License

This project is licensed under the BSD license - see the LICENSE.md file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

corrct-1.0.0rc3.tar.gz (108.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

corrct-1.0.0rc3-py3-none-any.whl (113.2 kB view details)

Uploaded Python 3

File details

Details for the file corrct-1.0.0rc3.tar.gz.

File metadata

  • Download URL: corrct-1.0.0rc3.tar.gz
  • Upload date:
  • Size: 108.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for corrct-1.0.0rc3.tar.gz
Algorithm Hash digest
SHA256 2304c0fe0402ab80f533a54b6f05ed18554a11eef7a87900caa1e55f721913cc
MD5 29a0f11cb6da61319d48a0f8a5edea0f
BLAKE2b-256 b786abe20a4acd81a11e334ab5ceb509e016760246cce0d2c42d9972b354dc3b

See more details on using hashes here.

File details

Details for the file corrct-1.0.0rc3-py3-none-any.whl.

File metadata

  • Download URL: corrct-1.0.0rc3-py3-none-any.whl
  • Upload date:
  • Size: 113.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for corrct-1.0.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 f6ab8f699daeb8ba272232e1ec6343af102ba4920d794f45ecf3249ba549a3d1
MD5 f0a46466726cbc1952260cf73a9bed68
BLAKE2b-256 c6e72d8e3f0e1d0f709e1317100144035544838d75592b2785743003806d62d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page