Skip to main content

Preprocessing of positron emission tomography (PET) involves numerous steps to clean and standardize the data before statistical analysis. Generally, researchers create ad hoc preprocessing workflows for each dataset, building upon a large inventory of available tools. The complexity of these workflows has snowballed with rapid advances in acquisition and processing. PETPrep is an analysis-agnostic tool that addresses the challenge of robust and reproducible preprocessing for PET data. PETPrep automatically adapts a best-in-breed workflow to the idiosyncrasies of virtually any dataset, ensuring high-quality preprocessing without manual intervention. PETPrep robustly produces high-quality results on diverse PET data. Additionally, PETPrep introduces less uncontrolled spatial smoothness than observed with commonly used preprocessing tools. PETPrep equips neuroscientists with an easy-to-use and transparent preprocessing workflow, which can help ensure the validity of inference and the interpretability of results.

The workflow is based on Nipype and encompasses a large set of tools from well-known neuroimaging packages, including FSL, ANTs, FreeSurfer, AFNI, and Nilearn. This pipeline was designed to provide the best software implementation for each state of preprocessing, and will be updated as newer and better neuroimaging software becomes available.

PETPrep performs basic preprocessing steps (coregistration, normalization, unwarping, noise component extraction, segmentation, skullstripping etc.) providing outputs that can be easily submitted to a variety of group level analyses, including task-based or resting-state PET imaging, graph theory measures, surface or volume-based statistics, etc. PETPrep allows you to easily do the following:

  • Take PET data from unprocessed (only reconstructed) to ready for analysis.

  • Implement tools from different software packages.

  • Achieve optimal data processing quality by using the best tools available.

  • Generate preprocessing-assessment reports, with which the user can easily identify problems.

  • Receive verbose output concerning the stage of preprocessing for each subject, including meaningful errors.

  • Automate and parallelize processing steps, which provides a significant speed-up from typical linear, manual processing.

[Nat Meth doi:10.1038/s41592-018-0235-4] [Documentation petprep.org] [Software doi:10.5281/zenodo.852659] [Support neurostars.org]

License information

PETPrep adheres to the general licensing guidelines of the NiPreps framework.

License

Copyright (c) the NiPreps Developers.

As of the 21.0.x pre-release and release series, PETPrep is licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for petprep 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for petprep 0.0.10
File Size Uploaded
petprep-0.0.10.tar.gz 28.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for petprep 0.0.10
File Interpreter ABI Platform
petprep-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 32.4 MB

Release files / petprep-0.0.10.tar.gz

Download URL petprep-0.0.10.tar.gz
Size 28.8 MB
Tags Source
SHA-256 checksum
How to use checksums
21676baa60a4bd5c413edd07d49af0976e097cfce6c707d962e7bb3d1e3f6776
BLAKE2b-256 checksum
How to use checksums
2e0bb684e9690cb4844dacd73b455a27f7b5f8a5e6bbfbe87ef020e2c8426ab4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release files / petprep-0.0.10-py3-none-any.whl

Download URL petprep-0.0.10-py3-none-any.whl
Size 3.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
83ea058e205d3336116c9a0c76e30487b83168175c50a0277fcfb034abd868d7
BLAKE2b-256 checksum
How to use checksums
d1b4f5ae42248f90f86368d7194a49e5559c41bc47c5d3ae6bbd3a2b483141c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.8

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page