A Quick Tool For Sorting Dicom Files
Project description
pydicomsorter
Testing the pydicom library to sort dicom files by patient name and study date.
WARNING: This is a work in progress and is not implemented.
Designing should look like:
Usage: dicomsort [OPTIONS] SOURCEDIR DESTINATION_DIR
╭─ Advanced options ───────────────────────────────────────────────────────────────╮
│ --delete_source -d Delete the source files after sorting. │
│ --keep_going -k Keep going when an error occurs. │
│ --symlink -s Create symbolic links instead of moving files. │
│ --dry_run -n Do not move or copy files, just print what would be done. │
╰──────────────────────────────────────────────────────────────────────────────────╯
╭─ Basic options ──────────────────────────────────────────────────────────────────╮
│ --verbose Print verbose output. │
│ --debug Print debug output. │
│ --help -h Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────╯
DICOM data model
A Patient has one or more Studies, a Study has one or more Series, and a Series has one or more Instances.
graph TD
A[Patient] --> B(Study)
B --> C(Series)
C --> D(Instance)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydicomsorter-0.9.2.tar.gz
(72.1 kB
view hashes)
Built Distribution
Close
Hashes for pydicomsorter-0.9.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0cd1b1861e325a57696586b34169b3daa4ccbb7beabc43a759e0dcd03f53366 |
|
MD5 | 99d31d50872a755afd64b3891fc5d379 |
|
BLAKE2b-256 | 629bbd2bd985e26a1b1b0650d4749bc4229f47a38fe2d7fb4c424b672d4dd9c7 |