Skip to main content

CUDA-accelerated Python utilities for high-throughput PET/MR image reconstruction and analysis.

Project description

Docs PyPI-Status PyPI-Downloads

NIPET is a Python sub-package of NiftyPET, offering high-throughput PET image reconstruction as well as image processing and analysis (nimpa: https://github.com/NiftyPET/NIMPA) for PET/MR imaging with high quantitative accuracy and precision. The software is written in CUDA C and embedded in Python C extensions.

The scientific aspects of this software are covered in two open-access publications:

Although, the two stand-alone and independent packages, nipet and nimpa, are dedicated to brain imaging, they can equally well be used for whole body imaging. Strong emphasis is put on the data, which are acquired using positron emission tomography (PET) and magnetic resonance (MR), especially the hybrid and simultaneous PET/MR scanners.

This software platform and Python name-space NiftyPET covers the entire processing pipeline, from the raw list-mode (LM) PET data through to the final image statistic of interest (e.g., regional SUV), including LM bootstrapping and multiple reconstructions to facilitate voxel-wise estimation of uncertainties.

In order to facilitate all the functionality, NiftyPET relies on third-party software for image conversion from DICOM to NIfTI (dcm2niix) and image registration (NiftyReg). The additional software is installed automatically to a user specified location.

Documentation with installation manual and tutorials: https://niftypet.readthedocs.io/

Quick Install

Note that installation prompts for setting the path to NiftyPET_tools and hardware attenuation maps. This can be avoided by setting the environment variables PATHTOOLS and HMUDIR, respectively.

# optional (Linux syntax) to avoid prompts
export PATHTOOLS=$HOME/NiftyPET_tools
export HMUDIR=$HOME/mmr_hardwareumaps
# cross-platform install
conda create -n niftypet -c conda-forge python=2.7 \
  ipykernel matplotlib numpy scikit-image ipywidgets
git clone https://github.com/NiftyPET/NIMPA.git nimpa
git clone https://github.com/NiftyPET/NIPET.git nipet
conda activate niftypet
pip install --no-binary :all: --verbose -e ./nimpa
pip install --no-binary :all: --verbose -e ./nipet

Licence

Licence

Copyright 2018-19

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

nipet-1.1.21.tar.gz (1.6 MB view hashes)

Uploaded Source

Supported by

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