Analysis of PET NEMA IQ phantom scans
Project description
pynemaiqpet
python routines to analyze NEMA image quality phantom scans
Authors
Georg Schramm
License
This project is licensed under the MIT License - see the LICENSE file for details
Installation
We recommend to use the anaconda python distribution and to create a conda virtual environment for pynemaiqpet.
The installation consists of three steps:
- (optional) Installation of anaconda (miniconda) python distribution
- (optional) Creation of the conda virtual environment with all dependencies
- Installation of the pynemaiqpet package using pip
Although optional, we highly recommend to create and use a dedicated virtual conda python environment (steps 1 and 2).
Installation of anaconda (miniconda)
Download and install Miniconda from https://docs.conda.io/en/latest/miniconda.html.
Please use the Python 3.x installer and confirm that the installer should run
conda init
at the end of the installtion process.
Creation of the virtual conda environment
To create a virtual conda python=3.8 environment execute
conda create -n pynemaiqpet python=3.8 ipython
To test the installation of the virual environment, execute
conda activate pynemaiqpet
Installation of the pynemaiqpet package
Activate the virtual conda environment
conda activate pynemaiqpet
Install pynemaiqpet package and all its dependecies
conda install -c gschramm -c conda-forge pynemaiqpet
To test the installation run (inside python or ipython)
import pynemaiqpet
print(pynemaiqpet.__version__)
print(pynemaiqpet.__file__)
Run demos
If the installation was successful, the command line tool pynemaiqpet_wb_nema_iq, which allows to automatically analyze WB NEMA IQ scans from the command line, should be installed.
To list see all its command line options and the help page run
pynemaiqpet_wb_nema_iq -h
To analyze the provided demo dicom data "pet_recon_2", you e.g. run:
pynemaiqpet_wb_nema_iq pet_recon_2 --fwhm_mm 5 --output_dir pet_recon_2_results --show --verbose
which will read all files in the direcory "pet_recon_2", post-smooth with Gaussian with FWHM = 5mm, show the output and finally save the output into the directory "pet_recon_2_results".
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pynemaiqpet-0.5.4.tar.gz.
File metadata
- Download URL: pynemaiqpet-0.5.4.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d32bb123968834b440b1dc73adcfac47846319e7e507bb90019d4db66b30517
|
|
| MD5 |
b1057439aa445f9aa151555621b46395
|
|
| BLAKE2b-256 |
c60076f6343232d5948833016e9104a208a91cce066d5f7cae4d3f88d1afc76e
|
Provenance
The following attestation bundles were made for pynemaiqpet-0.5.4.tar.gz:
Publisher:
publish-to-pypi.yml on gschramm/pynemaiqpet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pynemaiqpet-0.5.4.tar.gz -
Subject digest:
6d32bb123968834b440b1dc73adcfac47846319e7e507bb90019d4db66b30517 - Sigstore transparency entry: 152312153
- Sigstore integration time:
-
Permalink:
gschramm/pynemaiqpet@401c3fbc52c632e35bdc350f9bf9d98cc3ade3a6 -
Branch / Tag:
refs/tags/v0.5.4 - Owner: https://github.com/gschramm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@401c3fbc52c632e35bdc350f9bf9d98cc3ade3a6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pynemaiqpet-0.5.4-py3-none-any.whl.
File metadata
- Download URL: pynemaiqpet-0.5.4-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78208939961d3b879d45d673818085abf451f7393dcfcb826b829a3bfa51f1ce
|
|
| MD5 |
3cf721dac8e563ed4a1331d4f8e3ed39
|
|
| BLAKE2b-256 |
d8e13bdb12335f1367661dfd147d06c3e0017715caeef17193b76ddcaebb4ce0
|
Provenance
The following attestation bundles were made for pynemaiqpet-0.5.4-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on gschramm/pynemaiqpet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pynemaiqpet-0.5.4-py3-none-any.whl -
Subject digest:
78208939961d3b879d45d673818085abf451f7393dcfcb826b829a3bfa51f1ce - Sigstore transparency entry: 152312154
- Sigstore integration time:
-
Permalink:
gschramm/pynemaiqpet@401c3fbc52c632e35bdc350f9bf9d98cc3ade3a6 -
Branch / Tag:
refs/tags/v0.5.4 - Owner: https://github.com/gschramm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@401c3fbc52c632e35bdc350f9bf9d98cc3ade3a6 -
Trigger Event:
push
-
Statement type: