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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a0496b8efe508130a244c9379593ae76e169276640b96ca566e549398a2b569
|
|
| MD5 |
b02d0c21e36dda90835befe2831a5425
|
|
| BLAKE2b-256 |
3aef32ae5817ed7913d62a7975f3a61352ee6a0e7138fa7bbe8b399f412e69e0
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b630a4cf05dc9f5f2558a1e30fa761e2619032deb230a601405743e1fb28fe54
|
|
| MD5 |
5c412e6d29845d272729a436f27dd4be
|
|
| BLAKE2b-256 |
63711c1626ccf5bce5d4db71b30e268f1985fa0144b552106c3a6d5a88943c8f
|