Skip to main content

PyConveRT

Convert radiotherapy treatment data between clinical conventions (DICOM / NIfTI) and machine-learning-ready formats.

Early release (0.0.1, pre-alpha). This version ships a small, working subset of the conversion helpers; the full DICOM/NIfTI preprocessing pipeline is under active development. Developed alongside the companion project PyDoseRT.

Installed and working now

import pyconvert

pyconvert.lps_to_ras((10.0, 20.0, 30.0))   # -> (-10.0, -20.0, 30.0)   DICOM LPS -> NIfTI RAS
pyconvert.ras_to_lps((-10.0, -20.0, 30.0)) # -> (10.0, 20.0, 30.0)     NIfTI RAS -> DICOM LPS
pyconvert.gy_to_cgy(2.0)                    # -> 200.0                  gray -> centigray
pyconvert.cgy_to_gy(200.0)                  # -> 2.0                    centigray -> gray

Homepage: https://github.com/muw-airo/rt_ai_preprocessing

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyconvert-0.0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

pyconvert-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file pyconvert-0.0.1.tar.gz.

File metadata

  • Download URL: pyconvert-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.0

File hashes

Hashes for pyconvert-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5a0496b8efe508130a244c9379593ae76e169276640b96ca566e549398a2b569
MD5 b02d0c21e36dda90835befe2831a5425
BLAKE2b-256 3aef32ae5817ed7913d62a7975f3a61352ee6a0e7138fa7bbe8b399f412e69e0

See more details on using hashes here.

File details

Details for the file pyconvert-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyconvert-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.0

File hashes

Hashes for pyconvert-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b630a4cf05dc9f5f2558a1e30fa761e2619032deb230a601405743e1fb28fe54
MD5 5c412e6d29845d272729a436f27dd4be
BLAKE2b-256 63711c1626ccf5bce5d4db71b30e268f1985fa0144b552106c3a6d5a88943c8f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page