Skip to main content

Dataset validation toolkit for neurology brain imaging (NIfTI)

Project description

DOI

NeuroTK: Dataset Validation for Neurology Brain Imaging

Motivation

Neurology brain imaging datasets are heterogeneous and frequently contain inconsistencies. Geometry, spacing, orientation, and annotation issues occur commonly across CT and MRI collections. These problems often surface late in modeling, when remediation is costly and compromises reproducibility. NeuroTK surfaces issues early, explicitly, and reproducibly to support dataset hygiene prior to analysis.

Scope

NeuroTK focuses on dataset quality assurance prior to downstream analysis. It provides dataset-level and file-level validation with structural and geometric consistency checks, and assessment of annotation presence and integrity.

  • Dataset-level and file-level validation
  • Structural and geometric consistency checks
  • Annotation presence and integrity assessment

NeuroTK does not modify scientific data.

Installation

pip install neurotk

Quickstart

neurotk validate --images imagesTr --labels labelsTr --out report.json

Inputs are expected as flat directories of NIfTI files, and filenames must match exactly for image–label pairing.

dataset/
  imagesTr/
    case_001.nii.gz
    case_002.nii.gz
  labelsTr/
    case_001.nii.gz
    case_002.nii.gz

Output

NeuroTK emits a JSON report containing a dataset-level summary, per-file diagnostics, and explicit listings of detected issues.

{
  "summary": {"num_images": 100, "files_with_issues": 7},
  "files": {"case_001.nii.gz": {"issues": ["label_missing"]}}
}

Citation

If you use NeuroTK in your research, please cite it as follows:

@software{neurotk,
  title  = {NeuroTK: Dataset Validation for Neurology Brain Imaging},
  author = {Sakshi Rathi},
  year   = {2026},
  doi    = {10.5281/zenodo.18252017},
  url    = {https://github.com/SakshiRa/neurotk},
  note   = {Open-source toolkit for dataset validation and quality assurance in neurology brain imaging}
}

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

neurotk-0.1.1.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neurotk-0.1.1-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file neurotk-0.1.1.tar.gz.

File metadata

  • Download URL: neurotk-0.1.1.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neurotk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 00fb481ef2f6f10f5c774833760745435430db0ce6dc568e6d2732544dad3766
MD5 07ca7a4f251646fd4eae36d010e8971a
BLAKE2b-256 683dbc3ac8cb6f83b829ceb8fb40f1eac2ab01d96208ac254edc9d5817057a08

See more details on using hashes here.

Provenance

The following attestation bundles were made for neurotk-0.1.1.tar.gz:

Publisher: python-publish.yml on SakshiRa/neurotk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file neurotk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: neurotk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neurotk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47d29804274522d054e87cb5acda633397b48c8439bbbf7533abbd254a7d2d97
MD5 50cd7c8b6c63da3066427c567687e564
BLAKE2b-256 b6229ed6133c0b90b6259de9b352832dacde4f361e388f41f3dfc52fdc306cda

See more details on using hashes here.

Provenance

The following attestation bundles were made for neurotk-0.1.1-py3-none-any.whl:

Publisher: python-publish.yml on SakshiRa/neurotk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page