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".
Release files for pynemaiqpet 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pynemaiqpet-0.5.4.tar.gz | 20.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pynemaiqpet-0.5.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.2 kB
Release files / pynemaiqpet-0.5.4.tar.gz
| Download URL | pynemaiqpet-0.5.4.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d32bb123968834b440b1dc73adcfac47846319e7e507bb90019d4db66b30517
|
|
BLAKE2b-256 checksum How to use checksums |
c60076f6343232d5948833016e9104a208a91cce066d5f7cae4d3f88d1afc76e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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 Nov 28, 2024.
Transparency logRelease files / pynemaiqpet-0.5.4-py3-none-any.whl
| Download URL | pynemaiqpet-0.5.4-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78208939961d3b879d45d673818085abf451f7393dcfcb826b829a3bfa51f1ce
|
|
BLAKE2b-256 checksum How to use checksums |
d8e13bdb12335f1367661dfd147d06c3e0017715caeef17193b76ddcaebb4ce0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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 Nov 28, 2024.
Transparency log