Skip to main content

Uploads exported DICOM and raw data to XNAT, parsing metadata from DICOMs

Project description

XNAT Ingest

CI/CD codecov PyPI Documentation Status

XNAT-Ingest is a toolkit used for sorting data into project/subject/sessions, de-identifying images before uploading them to an XNAT instance. Support for various file formats is provided through the FileFormats package and its extensions (e.g. FileFormats MedImage, FileFormats Siemens,...).

flowchart LR
    Scanner(["Scanner / instrument"]) --> Group["group"]
    Group --> Assign["assign"]
    Assign --> Deidentify["deidentify (optional)"]
    Deidentify --> Upload["upload"]
    Upload --> XNAT[("XNAT")]
    Upload -.-> CheckUpload["check-upload"]

    Extra(["files without\nsorting metadata"]) -.-> Associate["associate (optional)"]
    Assign -.-> Associate
    Associate -.-> Deidentify

Installation

XNAT ingest can be installed as a Python package from PyPI with pip:

$ python3 -m pip install xnat-ingest

Alternatively, a Docker image containing the toolkit can be pulled from docker pull ghcr.io/australian-imaging-service/xnat-ingest:latest

Running

XNAT Ingest has a public API and a command-line interface (CLI), with sub-commands to group, assign, associate, de-identify, and upload imaging sessions to XNAT — either as a one-off run or as a continuously-running service (e.g. via Docker Compose or Kubernetes).

See the full documentation for a hands-on quick start, how-to guides for each part of the pipeline, and the complete CLI/API reference.

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

xnat_ingest-0.12.1.tar.gz (85.2 kB view details)

Uploaded Source

Built Distribution

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

xnat_ingest-0.12.1-py3-none-any.whl (114.5 kB view details)

Uploaded Python 3

File details

Details for the file xnat_ingest-0.12.1.tar.gz.

File metadata

  • Download URL: xnat_ingest-0.12.1.tar.gz
  • Upload date:
  • Size: 85.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xnat_ingest-0.12.1.tar.gz
Algorithm Hash digest
SHA256 58b352220cbc563b3591a2a8512dd7b0ca43a87836fa0068a045be58a4b18256
MD5 3de3a2a99636a3fce611e63a534d65c4
BLAKE2b-256 e644447ba09751f5f49fee254178c83a69605bb5c9fab61d8d85e95017b5ce4c

See more details on using hashes here.

File details

Details for the file xnat_ingest-0.12.1-py3-none-any.whl.

File metadata

  • Download URL: xnat_ingest-0.12.1-py3-none-any.whl
  • Upload date:
  • Size: 114.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xnat_ingest-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c04f8da56528deb421c6c9a488490736a7e1eabcf9492d133ce55aa3e31e3e1a
MD5 135cf78ea99c011d88d55c9fcf58602b
BLAKE2b-256 9f12723c19ed80a420f865c80c6e407a135aae0ef95416b860a12d80ac1dc63c

See more details on using hashes here.

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