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.2.0.tar.gz
(15.2 kB
view hashes)
Built Distribution
sortdicom-0.2.0-py3-none-any.whl
(16.1 kB
view hashes)
Close
Hashes for sortdicom-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7752e4ab5da5df738344f0a3d8245f63221c9c447752122697b30a7acc0a5d25 |
|
MD5 | 7ef0b63b053ab1d2c61a17b79ca9fd4f |
|
BLAKE2b-256 | dc1eda9efa35778708d06191259a7389e885f14f495f5d1deeef8c2009440418 |