Dataset validation and preprocessing toolkit for neurology brain imaging (NIfTI)
Project description
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neurotk-0.2.1.tar.gz.
File metadata
- Download URL: neurotk-0.2.1.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
159c974d6364e200767539a2ff082938b60fd2ef06ea42bfe214a17b6ae4b069
|
|
| MD5 |
d7ccf7b5710d85dd7242668d85399bd9
|
|
| BLAKE2b-256 |
cbcf59fd65a5b35b8b16d4ff26e907b7a66102487dae097c0911630e00cc4584
|
Provenance
The following attestation bundles were made for neurotk-0.2.1.tar.gz:
Publisher:
python-publish.yml on SakshiRa/neurotk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neurotk-0.2.1.tar.gz -
Subject digest:
159c974d6364e200767539a2ff082938b60fd2ef06ea42bfe214a17b6ae4b069 - Sigstore transparency entry: 832571211
- Sigstore integration time:
-
Permalink:
SakshiRa/neurotk@6847f28bd8312ec3cb9a832da621f1e095d683dc -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/SakshiRa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6847f28bd8312ec3cb9a832da621f1e095d683dc -
Trigger Event:
release
-
Statement type:
File details
Details for the file neurotk-0.2.1-py3-none-any.whl.
File metadata
- Download URL: neurotk-0.2.1-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5add3d61309c23145e82d04075f8a6054d3a40a29aad6a00f49e9377489f32c2
|
|
| MD5 |
e4c6b058702c04724105502fd01482e8
|
|
| BLAKE2b-256 |
3d6a866c805a9e6511423436b8d616b8ef1d493ad09a8082301b6a91bff26396
|
Provenance
The following attestation bundles were made for neurotk-0.2.1-py3-none-any.whl:
Publisher:
python-publish.yml on SakshiRa/neurotk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neurotk-0.2.1-py3-none-any.whl -
Subject digest:
5add3d61309c23145e82d04075f8a6054d3a40a29aad6a00f49e9377489f32c2 - Sigstore transparency entry: 832571213
- Sigstore integration time:
-
Permalink:
SakshiRa/neurotk@6847f28bd8312ec3cb9a832da621f1e095d683dc -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/SakshiRa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6847f28bd8312ec3cb9a832da621f1e095d683dc -
Trigger Event:
release
-
Statement type: