nimpa

NiftyPET: Neuro-Image Manipulation, Processing and Analysis

https://github.com/niftypet/nimpa

Science Score: 59.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 5 committers (20.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.2%) to scientific vocabulary

Keywords

analysis cuda gpu medical-imaging mr pet processing python
Last synced: 6 months ago · JSON representation

Repository

NiftyPET: Neuro-Image Manipulation, Processing and Analysis

Basic Info
Statistics
  • Stars: 17
  • Watchers: 2
  • Forks: 3
  • Open Issues: 0
  • Releases: 12
Topics
analysis cuda gpu medical-imaging mr pet processing python
Created about 8 years ago · Last pushed 9 months ago
Metadata Files
Readme Zenodo

README.rst

=======================================================
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 `_ (image conversion from DICOM to NIfTI) and/or `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=``):

.. 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 `__ @ University College London
- `Casper O. da Costa-Luis `__ @ University College London/King's College London
- `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

Owner

  • Name: NiftyPET
  • Login: NiftyPET
  • Kind: organization
  • Location: London, UK

High-throughput image reconstruction and analysis

GitHub Events

Total
  • Push event: 4
  • Fork event: 2
Last Year
  • Push event: 4
  • Fork event: 2

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 390
  • Total Committers: 5
  • Avg Commits per committer: 78.0
  • Development Distribution Score (DDS): 0.51
Top Committers
Name Email Commits
Pawel Markiewicz p****z@u****k 191
Casper da Costa-Luis c****l@p****g 184
Casper da Costa-Luis i****g@c****l 11
github-actions[bot] 4****]@u****m 2
Casper da Costa-Luis t****m@c****o 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 2
  • Total pull requests: 29
  • Average time to close issues: 5 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 1.03
  • Merged pull requests: 27
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • casperdcl (2)
Pull Request Authors
  • casperdcl (28)
  • jjleewustledu (1)
Top Labels
Issue Labels
enhancement (2) framework (2)
Pull Request Labels
enhancement (19) framework (13) bug (9)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 77 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 32
  • Total maintainers: 2
pypi.org: nimpa

CUDA-accelerated Python utilities for high-throughput neuroimage processing and analysis

  • Versions: 32
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 77 Last month
Rankings
Dependent packages count: 10.1%
Average: 16.0%
Downloads: 16.3%
Dependent repos count: 21.5%
Maintainers (2)
Last synced: 6 months ago

Dependencies

.github/workflows/comment-bot.yml actions
  • actions/checkout v3 composite
  • actions/github-script v6 composite
.github/workflows/test.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • casperdcl/deploy-pypi v2 composite
  • codecov/codecov-action v1 composite
  • reviewdog/action-setup v1 composite
  • softprops/action-gh-release v1 composite
pyproject.toml pypi
setup.py pypi