Dicom ECG plot
A python tool to plot Dicom ECG.
The DICOM file can also be specified as studyUID seriesUID objectUID and
retrieved from your WADO server.
Github repository: here
THE PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY OF ANY KIND.
Online demo
demo site You can convert your own DICOM files or use preloaded sample files from different modality models.
Install
python3 -m venv ecg
. ecg/bin/activate
pip install dicom-ecg-plot
Usage of dicom-ecg-plot tool
dicom-ecg-plot <inputfile> [--layout=LAYOUT] [--output=FILE|--format=FMT] --minor-grid
dicom-ecg-plot <stu> <ser> <obj> [--layout=LAYOUT] [--output=FILE|--format=FMT] --minor-grid
dicom-ecg-plot --help
Examples:
dicom-ecg-plot anonymous_ecg.dcm -o anonymous_ecg.pdf
dicom-ecg-plot anonymous_ecg.dcm --layout 6x2 --output anonymous_ecg.png
dicom-ecg-plot anonymous_ecg.dcm --format svg > anonymous_ecg.svg
The input can be a (dicom ecg) file or the triplet studyUID, seriesUID, objectUID. In the latter case dicom file is downloaded via
WADO.
If --output is given the ouput format is deduced from the extension of the FILE.
If the output file is not given --format must be defined.
Supported output formats are: eps, jpeg, jpg, pdf, pgf, png, ps, raw, rgba, svg, svgz, tif, tiff.
By default the 5mm grid is drawn, --minor-grid add the minor grid (1mm).
The signals are filtered using a lowpass (40 Hz) butterworth filter of order 2.
LAYOUT can be one of: 3x4_1 (that is 3 rows for 4 columns plus 1 row), 3x4, 6x2, 12x1 (default: 3x4_1).
New layouts can be defined adding the corresponding matrix in LAYOUT dictionary in config.py.
References
Metadata
Release files for dicom-ecg-plot 1.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dicom_ecg_plot-1.3.5.tar.gz | 15.3 kB | Without provenance | Details for dicom_ecg_plot-1.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dicom_ecg_plot-1.3.5-py3-none-any.whl | Python 3 | none | any | Details for dicom_ecg_plot-1.3.5-py3-none-any.whl |
Total release size: 33.8 kB
Release files / dicom_ecg_plot-1.3.5.tar.gz
| Download URL | dicom_ecg_plot-1.3.5.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
663354ac9dd1f9c349c74e72b4fea700f1a0fc3b1cfddbdd7123249f9957d91e
|
|
BLAKE2b-256 checksum How to use checksums |
512f83bd297261952b82d05a078cb1262b50361b7208af6be269cdb0e6465258
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.6
|
Release files / dicom_ecg_plot-1.3.5-py3-none-any.whl
| Download URL | dicom_ecg_plot-1.3.5-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f7ade21947da327361c282d3593dede56e7b0d997d085bd458e2669ee5fab6b
|
|
BLAKE2b-256 checksum How to use checksums |
20338e7b0d4c17dc56dbde92cc41fb8f63f0a1bc7724904715bc83c68c107af5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.6
|
Security for dicom-ecg-plot 1.3.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.