Sorts and Anonymises Dicoms
Project description
Sort Dicom
A very simple script that sorts DICOM files bassed on their series description and time of acquisition.
That is DICOMs with the following series descriptions:
ACR_T1
:: Acquired at 12:00:00ACR_T2
:: Acquired at 12:05:00RF_NOISE
:: Acquired at 12:10:00RF_NOISE
:: Acquired at 12:15:00ACR_T2
:: Acquired at 12:20:00
would be grouped into the directory structure:
ACR/
ACR_T1_120000.dcm
ACR_T2_120500.dcm
ACR_T2_122000.dcm
RF/
RF_NOISE_121000.dcm
RF_NOISE_121500.dcm
Installation
pip install sortdicom
Usage
usage: sortdicom.cmd [-h] [-o OUT] data_path
Sorts DICOMs into directories based on their series description.
positional arguments:
data_path Path to the data directory containing DICOM files.
options:
-h, --help show this help message and exit
-o OUT, --out OUT Path to stored the grouped DICOM files.
License
This project is licensed under the GNU GPL v3 license which can be found here
Contributing
Contributions welcome - please open an issue and/or pull request.
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
sortdicom-0.5.0.tar.gz
(20.6 kB
view details)
Built Distribution
sortdicom-0.5.0-py3-none-any.whl
(17.4 kB
view details)
File details
Details for the file sortdicom-0.5.0.tar.gz
.
File metadata
- Download URL: sortdicom-0.5.0.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 240dc5baaa183b26537100ecf8be76810b6bae3fd5d583a3a250e7c6b540f565 |
|
MD5 | 98c87d8f4ff2f70b815ea2818627a14f |
|
BLAKE2b-256 | 5188b7e89ad6dd2f7416c9b224f780cf9c1e3d8e8e89f39c90b6ffc0a47fd19c |
File details
Details for the file sortdicom-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: sortdicom-0.5.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 853b3a7d05c910479d40331ac26d72847418768396c057821bd252e5be61f1b0 |
|
MD5 | bfe838221058b06be8a2fb37ce83a607 |
|
BLAKE2b-256 | 57f395eb0553ba0b5f5241cdc61625ec915005ac20b2891a581fc7ffa757a9a5 |