{"id":24198980,"url":"https://github.com/niftypet/nimpa","last_synced_at":"2025-09-21T22:31:16.784Z","repository":{"id":29400200,"uuid":"120807281","full_name":"NiftyPET/NIMPA","owner":"NiftyPET","description":"NiftyPET: Neuro-Image Manipulation, Processing and Analysis","archived":false,"fork":false,"pushed_at":"2025-06-09T09:13:06.000Z","size":2503,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-05T01:39:17.999Z","etag":null,"topics":["analysis","cuda","gpu","medical-imaging","mr","pet","processing","python"],"latest_commit_sha":null,"homepage":"https://niftypet.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NiftyPET.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":".zenodo.json"}},"created_at":"2018-02-08T19:29:09.000Z","updated_at":"2025-06-09T09:13:10.000Z","dependencies_parsed_at":"2023-09-27T19:15:22.567Z","dependency_job_id":"29ad7c3b-4fe0-4b70-8741-e3e6b9b906ca","html_url":"https://github.com/NiftyPET/NIMPA","commit_stats":{"total_commits":390,"total_committers":5,"mean_commits":78.0,"dds":0.5102564102564102,"last_synced_commit":"3171d7a5aa1f3cbfb3f758c074d5fcd07eddcbdf"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/NiftyPET/NIMPA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiftyPET%2FNIMPA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiftyPET%2FNIMPA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiftyPET%2FNIMPA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiftyPET%2FNIMPA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NiftyPET","download_url":"https://codeload.github.com/NiftyPET/NIMPA/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiftyPET%2FNIMPA/sbom","scorecard":{"id":101424,"data":{"date":"2025-08-11","repo":{"name":"github.com/NiftyPET/NIMPA","commit":"46827d5388c733f0a4f898a4344e710228ac0048"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/comment-bot.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/comment-bot.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/comment-bot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/comment-bot.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/comment-bot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/comment-bot.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/comment-bot.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/NiftyPET/NIMPA/test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:21","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:53","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENCE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENCE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":8,"reason":"5 out of the last 5 releases have a total of 5 signed artifacts.","details":["Info: signed release artifact: nimpa-2.6.3.tar.gz.asc: https://github.com/NiftyPET/NIMPA/releases/tag/v2.6.3","Info: signed release artifact: nimpa-2.6.2.tar.gz.asc: https://github.com/NiftyPET/NIMPA/releases/tag/v2.6.2","Info: signed release artifact: nimpa-2.6.1.tar.gz.asc: https://github.com/NiftyPET/NIMPA/releases/tag/v2.6.1","Info: signed release artifact: nimpa-2.6.0.tar.gz.asc: https://github.com/NiftyPET/NIMPA/releases/tag/v2.6.0","Info: signed release artifact: nimpa-2.5.1.tar.gz.asc: https://github.com/NiftyPET/NIMPA/releases/tag/v2.5.1","Warn: release artifact v2.6.3 does not have provenance: https://api.github.com/repos/NiftyPET/NIMPA/releases/115982437","Warn: release artifact v2.6.2 does not have provenance: https://api.github.com/repos/NiftyPET/NIMPA/releases/115975132","Warn: release artifact v2.6.1 does not have provenance: https://api.github.com/repos/NiftyPET/NIMPA/releases/110378598","Warn: release artifact v2.6.0 does not have provenance: https://api.github.com/repos/NiftyPET/NIMPA/releases/109292748","Warn: release artifact v2.5.1 does not have provenance: https://api.github.com/repos/NiftyPET/NIMPA/releases/77284334"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T10:12:32.127Z","repository_id":29400200,"created_at":"2025-08-15T10:12:32.127Z","updated_at":"2025-08-15T10:12:32.127Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276318278,"owners_count":25621648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","cuda","gpu","medical-imaging","mr","pet","processing","python"],"created_at":"2025-01-13T20:19:32.502Z","updated_at":"2025-09-21T22:31:16.411Z","avatar_url":"https://github.com/NiftyPET.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======================================================\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\u003e=2\"\n\nFor optional `dcm2niix \u003chttps://github.com/rordenlab/dcm2niix\u003e`_ (image conversion from DICOM to NIfTI) and/or `niftyreg \u003chttps://github.com/KCL-BMEIS/niftyreg\u003e`_ (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 \u0026 install directly with cmake\n    mkdir build \u0026\u0026 cd build\n    cmake ../niftypet \u0026\u0026 cmake --build . \u0026\u0026 cmake --install . --prefix /my/install/dir\n\nAt this point any external project may include NIMPA as follows\n(Once setting ``-DCMAKE_PREFIX_DIR=\u003cinstallation prefix from above\u003e``):\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 \u003chttps://github.com/pjmark\u003e`__ @ University College London\n- `Casper O. da Costa-Luis \u003chttps://github.com/casperdcl\u003e`__ @ University College London/King's College London\n- `Contributors \u003chttps://github.com/NiftyPET/NIMPA/graphs/contributors\u003e`__\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\u0026logo=GitHub\n   :target: https://github.com/NiftyPET/NIMPA/actions\n.. |Downloads| image:: https://img.shields.io/pypi/dm/nimpa.svg?logo=pypi\u0026logoColor=white\u0026label=PyPI%20downloads\n   :target: https://pypi.org/project/nimpa\n.. |Version| image:: https://img.shields.io/pypi/v/nimpa.svg?logo=python\u0026logoColor=white\n   :target: https://github.com/NiftyPET/NIMPA/releases\n.. |Py-Versions| image:: https://img.shields.io/pypi/pyversions/nimpa.svg?logo=python\u0026logoColor=white\n   :target: https://pypi.org/project/nimpa\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniftypet%2Fnimpa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniftypet%2Fnimpa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniftypet%2Fnimpa/lists"}