Name | nimpa JSON |
Version |
2.6.3
JSON |
| download |
home_page | |
Summary | CUDA-accelerated Python utilities for high-throughput neuroimage processing and analysis |
upload_time | 2023-08-10 19:55:34 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | Apache-2.0 |
keywords |
pet
mr
processing
analysis
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
=======================================================
NIMPA: Neuro and NiftyPET Image Processing and Analysis
=======================================================
|Docs| |Version| |Downloads| |Py-Versions| |DOI| |Licence| |Tests|
NIMPA is a stand-alone Python sub-package of NiftyPET_, dedicated to high-throughput processing and analysis of brain images, particularly those, which are acquired using positron emission tomography (PET) and magnetic resonance (MR). Although, it is an essential part of the NiftyPET_ package for seamless PET image reconstruction, NIMPA is equally well suited for independent image processing, including image trimming, upsampling and partial volume correction (PVC).
.. _NiftyPET: https://github.com/NiftyPET/NiftyPET
Trimming is performed in order to reduce the unused image voxels in brain imaging, when using whole body PET scanners, for which only some part of the field of view (FOV) is used.
The upsampling is needed for more accurate extraction (sampling) of PET data using regions of interest (ROI), obtained using parcellation of the corresponding T1w MR image, usually of higher image resolution.
PVC is needed to correct for the spill-in and spill-out of PET signal from defined ROIs (specific for any given application).
**Documentation with installation manual and tutorials**: https://niftypet.readthedocs.io/
Quick Install
~~~~~~~~~~~~~
Note that it's recommended (but not required) to use `conda`.
.. code:: sh
# cross-platform install
conda install -c conda-forge python=3 \
ipykernel numpy scipy scikit-image matplotlib ipywidgets dipy nibabel pydicom
pip install "nimpa>=2"
For optional `dcm2niix <https://github.com/rordenlab/dcm2niix>`_ (image conversion from DICOM to NIfTI) and/or `niftyreg <https://github.com/KCL-BMEIS/niftyreg>`_ (image registration) support, simply install them separately (``pip install dcm2niix niftyreg``).
External CMake Projects
~~~~~~~~~~~~~~~~~~~~~~~
The raw C/CUDA libraries may be included in external projects using ``cmake``.
Simply build the project and use ``find_package(NiftyPETnimpa)``.
.. code:: sh
# print installation directory (after `pip install nimpa`)...
python -c "from niftypet.nimpa import cmake_prefix; print(cmake_prefix)"
# ... or build & install directly with cmake
mkdir build && cd build
cmake ../niftypet && cmake --build . && cmake --install . --prefix /my/install/dir
At this point any external project may include NIMPA as follows
(Once setting ``-DCMAKE_PREFIX_DIR=<installation prefix from above>``):
.. code:: cmake
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
project(myproj)
find_package(NiftyPETnimpa COMPONENTS improc REQUIRED)
add_executable(myexe ...)
target_link_libraries(myexe PRIVATE NiftyPET::improc)
Licence
~~~~~~~
|Licence| |DOI|
Copyright 2018-21
- `Pawel J. Markiewicz <https://github.com/pjmark>`__ @ University College London
- `Casper O. da Costa-Luis <https://github.com/casperdcl>`__ @ University College London/King's College London
- `Contributors <https://github.com/NiftyPET/NIMPA/graphs/contributors>`__
.. |Docs| image:: https://readthedocs.org/projects/niftypet/badge/?version=latest
:target: https://niftypet.readthedocs.io/en/latest/?badge=latest
.. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4417633.svg
:target: https://doi.org/10.5281/zenodo.4417633
.. |Licence| image:: https://img.shields.io/pypi/l/nimpa.svg?label=licence
:target: https://github.com/NiftyPET/NIMPA/blob/master/LICENCE
.. |Tests| image:: https://img.shields.io/github/actions/workflow/status/NiftyPET/NIMPA/test.yml?branch=master&logo=GitHub
:target: https://github.com/NiftyPET/NIMPA/actions
.. |Downloads| image:: https://img.shields.io/pypi/dm/nimpa.svg?logo=pypi&logoColor=white&label=PyPI%20downloads
:target: https://pypi.org/project/nimpa
.. |Version| image:: https://img.shields.io/pypi/v/nimpa.svg?logo=python&logoColor=white
:target: https://github.com/NiftyPET/NIMPA/releases
.. |Py-Versions| image:: https://img.shields.io/pypi/pyversions/nimpa.svg?logo=python&logoColor=white
:target: https://pypi.org/project/nimpa
Raw data
{
"_id": null,
"home_page": "",
"name": "nimpa",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "Casper da Costa-Luis <casper.dcl@physics.org>",
"keywords": "PET,MR,processing,analysis",
"author": "",
"author_email": "Pawel Markiewicz <p.markiewicz@ucl.ac.uk>",
"download_url": "https://files.pythonhosted.org/packages/a4/9d/2ecdc3645e029ce759f69163a4b2d97ea1a7836a81690228da648386b2aa/nimpa-2.6.3.tar.gz",
"platform": null,
"description": "=======================================================\nNIMPA: Neuro and NiftyPET Image Processing and Analysis\n=======================================================\n\n|Docs| |Version| |Downloads| |Py-Versions| |DOI| |Licence| |Tests|\n\nNIMPA is a stand-alone Python sub-package of NiftyPET_, dedicated to high-throughput processing and analysis of brain images, particularly those, which are acquired using positron emission tomography (PET) and magnetic resonance (MR). Although, it is an essential part of the NiftyPET_ package for seamless PET image reconstruction, NIMPA is equally well suited for independent image processing, including image trimming, upsampling and partial volume correction (PVC).\n\n.. _NiftyPET: https://github.com/NiftyPET/NiftyPET\n\nTrimming is performed in order to reduce the unused image voxels in brain imaging, when using whole body PET scanners, for which only some part of the field of view (FOV) is used.\n\nThe upsampling is needed for more accurate extraction (sampling) of PET data using regions of interest (ROI), obtained using parcellation of the corresponding T1w MR image, usually of higher image resolution.\n\nPVC is needed to correct for the spill-in and spill-out of PET signal from defined ROIs (specific for any given application).\n\n**Documentation with installation manual and tutorials**: https://niftypet.readthedocs.io/\n\nQuick Install\n~~~~~~~~~~~~~\n\nNote that it's recommended (but not required) to use `conda`.\n\n.. code:: sh\n\n # cross-platform install\n conda install -c conda-forge python=3 \\\n ipykernel numpy scipy scikit-image matplotlib ipywidgets dipy nibabel pydicom\n pip install \"nimpa>=2\"\n\nFor optional `dcm2niix <https://github.com/rordenlab/dcm2niix>`_ (image conversion from DICOM to NIfTI) and/or `niftyreg <https://github.com/KCL-BMEIS/niftyreg>`_ (image registration) support, simply install them separately (``pip install dcm2niix niftyreg``).\n\nExternal CMake Projects\n~~~~~~~~~~~~~~~~~~~~~~~\n\nThe raw C/CUDA libraries may be included in external projects using ``cmake``.\nSimply build the project and use ``find_package(NiftyPETnimpa)``.\n\n.. code:: sh\n\n # print installation directory (after `pip install nimpa`)...\n python -c \"from niftypet.nimpa import cmake_prefix; print(cmake_prefix)\"\n\n # ... or build & install directly with cmake\n mkdir build && cd build\n cmake ../niftypet && cmake --build . && cmake --install . --prefix /my/install/dir\n\nAt this point any external project may include NIMPA as follows\n(Once setting ``-DCMAKE_PREFIX_DIR=<installation prefix from above>``):\n\n.. code:: cmake\n\n cmake_minimum_required(VERSION 3.3 FATAL_ERROR)\n project(myproj)\n find_package(NiftyPETnimpa COMPONENTS improc REQUIRED)\n add_executable(myexe ...)\n target_link_libraries(myexe PRIVATE NiftyPET::improc)\n\nLicence\n~~~~~~~\n\n|Licence| |DOI|\n\nCopyright 2018-21\n\n- `Pawel J. Markiewicz <https://github.com/pjmark>`__ @ University College London\n- `Casper O. da Costa-Luis <https://github.com/casperdcl>`__ @ University College London/King's College London\n- `Contributors <https://github.com/NiftyPET/NIMPA/graphs/contributors>`__\n\n.. |Docs| image:: https://readthedocs.org/projects/niftypet/badge/?version=latest\n :target: https://niftypet.readthedocs.io/en/latest/?badge=latest\n.. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4417633.svg\n :target: https://doi.org/10.5281/zenodo.4417633\n.. |Licence| image:: https://img.shields.io/pypi/l/nimpa.svg?label=licence\n :target: https://github.com/NiftyPET/NIMPA/blob/master/LICENCE\n.. |Tests| image:: https://img.shields.io/github/actions/workflow/status/NiftyPET/NIMPA/test.yml?branch=master&logo=GitHub\n :target: https://github.com/NiftyPET/NIMPA/actions\n.. |Downloads| image:: https://img.shields.io/pypi/dm/nimpa.svg?logo=pypi&logoColor=white&label=PyPI%20downloads\n :target: https://pypi.org/project/nimpa\n.. |Version| image:: https://img.shields.io/pypi/v/nimpa.svg?logo=python&logoColor=white\n :target: https://github.com/NiftyPET/NIMPA/releases\n.. |Py-Versions| image:: https://img.shields.io/pypi/pyversions/nimpa.svg?logo=python&logoColor=white\n :target: https://pypi.org/project/nimpa\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "CUDA-accelerated Python utilities for high-throughput neuroimage processing and analysis",
"version": "2.6.3",
"project_urls": {
"changelog": "https://github.com/NiftyPET/NIMPA/releases",
"documentation": "https://niftypet.readthedocs.io",
"repository": "https://github.com/NiftyPET/NIMPA"
},
"split_keywords": [
"pet",
"mr",
"processing",
"analysis"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a49d2ecdc3645e029ce759f69163a4b2d97ea1a7836a81690228da648386b2aa",
"md5": "018d65b31da3ecce3f5005773a7b896f",
"sha256": "7fd06f1bb246131ff8a3a872902bd007a737e8ac1b62c74b800443173769ec41"
},
"downloads": -1,
"filename": "nimpa-2.6.3.tar.gz",
"has_sig": false,
"md5_digest": "018d65b31da3ecce3f5005773a7b896f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 1711080,
"upload_time": "2023-08-10T19:55:34",
"upload_time_iso_8601": "2023-08-10T19:55:34.075279Z",
"url": "https://files.pythonhosted.org/packages/a4/9d/2ecdc3645e029ce759f69163a4b2d97ea1a7836a81690228da648386b2aa/nimpa-2.6.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-10 19:55:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "NiftyPET",
"github_project": "NIMPA",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nimpa"
}