Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | ·24 | 1 | ·d70624bb7127d123aa604c11b79b0a71·957056·doc·optional·python-pydicom-doc_2.3.1-1_all.deb |
2 | ·d6bdc495841cf42385005411a66cdb39·3572·oldlibs·optional·python3-dicom_2.3.1-1_all.deb | 2 | ·d6bdc495841cf42385005411a66cdb39·3572·oldlibs·optional·python3-dicom_2.3.1-1_all.deb |
3 | ·a5c55c24eef8eba1863432b0bd8af6fa·1238776·python·optional·python3-pydicom_2.3.1-1_all.deb | 3 | ·a5c55c24eef8eba1863432b0bd8af6fa·1238776·python·optional·python3-pydicom_2.3.1-1_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2022-11-28·16:58:43.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2022-11-28·16:58:43.000000·debian-binary |
2 | -rw-r--r--···0········0········0····295 | 2 | -rw-r--r--···0········0········0····29540·2022-11-28·16:58:43.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···927 | 3 | -rw-r--r--···0········0········0···927324·2022-11-28·16:58:43.000000·data.tar.xz |
Offset 1153, 15 lines modified | Offset 1153, 15 lines modified | ||
1153 | -rw-r--r--···0·root·········(0)·root·········(0)·····7228·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.4.1.html | 1153 | -rw-r--r--···0·root·········(0)·root·········(0)·····7228·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.4.1.html |
1154 | -rw-r--r--···0·root·········(0)·root·········(0)····12937·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.0.0.html | 1154 | -rw-r--r--···0·root·········(0)·root·········(0)····12937·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.0.0.html |
1155 | -rw-r--r--···0·root·········(0)·root·········(0)····30209·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.0.html | 1155 | -rw-r--r--···0·root·········(0)·root·········(0)····30209·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.0.html |
1156 | -rw-r--r--···0·root·········(0)·root·········(0)·····7061·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.1.html | 1156 | -rw-r--r--···0·root·········(0)·root·········(0)·····7061·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.1.html |
1157 | -rw-r--r--···0·root·········(0)·root·········(0)····24808·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.2.0.html | 1157 | -rw-r--r--···0·root·········(0)·root·········(0)····24808·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.2.0.html |
1158 | -rw-r--r--···0·root·········(0)·root·········(0)····14326·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.3.0.html | 1158 | -rw-r--r--···0·root·········(0)·root·········(0)····14326·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.3.0.html |
1159 | -rw-r--r--···0·root·········(0)·root·········(0)·····6418·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/search.html | 1159 | -rw-r--r--···0·root·········(0)·root·········(0)·····6418·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/search.html |
1160 | -rw-r--r--···0·root·········(0)·root·········(0)···4365 | 1160 | -rw-r--r--···0·root·········(0)·root·········(0)···436598·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/searchindex.js |
1161 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/ | 1161 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/ |
1162 | -rw-r--r--···0·root·········(0)·root·········(0)·····8733·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing.html | 1162 | -rw-r--r--···0·root·········(0)·root·········(0)·····8733·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing.html |
1163 | -rw-r--r--···0·root·········(0)·root·········(0)····28427·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_code.html | 1163 | -rw-r--r--···0·root·········(0)·root·········(0)····28427·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_code.html |
1164 | -rw-r--r--···0·root·········(0)·root·········(0)····26431·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_docs.html | 1164 | -rw-r--r--···0·root·········(0)·root·········(0)····26431·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_docs.html |
1165 | -rw-r--r--···0·root·········(0)·root·········(0)····72185·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dataset_basics.html | 1165 | -rw-r--r--···0·root·········(0)·root·········(0)····72185·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dataset_basics.html |
1166 | -rw-r--r--···0·root·········(0)·root·········(0)····22106·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dicom_json.html | 1166 | -rw-r--r--···0·root·········(0)·root·········(0)····22106·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dicom_json.html |
1167 | -rw-r--r--···0·root·········(0)·root·········(0)····63483·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/filesets.html | 1167 | -rw-r--r--···0·root·········(0)·root·········(0)····63483·2022-11-28·16:58:43.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/filesets.html |
Offset 168, 15 lines modified | Offset 168, 15 lines modified | ||
168 | ····#·print·the·image·information·given·in·the·dataset | 168 | ····#·print·the·image·information·given·in·the·dataset |
169 | ····print('The·information·of·the·data·set·after·downsampling:·\n') | 169 | ····print('The·information·of·the·data·set·after·downsampling:·\n') |
170 | ····print(ds) | 170 | ····print(ds) |
171 | ..·rst-class::·sphx-glr-timing | 171 | ..·rst-class::·sphx-glr-timing |
172 | ···**Total·running·time·of·the·script:**·(·0·minutes··0. | 172 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.160·seconds) |
173 | ..·_sphx_glr_download_auto_examples_image_processing_plot_downsize_image.py: | 173 | ..·_sphx_glr_download_auto_examples_image_processing_plot_downsize_image.py: |
174 | ..·only·::·html | 174 | ..·only·::·html |
Offset 83, 15 lines modified | Offset 83, 15 lines modified | ||
83 | ····fig.tight_layout(pad=1) | 83 | ····fig.tight_layout(pad=1) |
84 | ····plt.show() | 84 | ····plt.show() |
85 | ..·rst-class::·sphx-glr-timing | 85 | ..·rst-class::·sphx-glr-timing |
86 | ···**Total·running·time·of·the·script:**·(·0·minutes·· | 86 | ···**Total·running·time·of·the·script:**·(·0·minutes··9.559·seconds) |
87 | ..·_sphx_glr_download_auto_examples_image_processing_plot_waveforms.py: | 87 | ..·_sphx_glr_download_auto_examples_image_processing_plot_waveforms.py: |
88 | ..·only·::·html | 88 | ..·only·::·html |
Offset 1, 16 lines modified | Offset 1, 16 lines modified | ||
1 | :orphan: | 1 | :orphan: |
2 | ..·_sphx_glr_auto_examples_image_processing_sg_execution_times: | 2 | ..·_sphx_glr_auto_examples_image_processing_sg_execution_times: |
3 | Computation·times | 3 | Computation·times |
4 | ================= | 4 | ================= |
5 | **00:0 | 5 | **00:09.718**·total·execution·time·for·**auto_examples_image_processing**·files: |
6 | +----------------------------------------------------------------------------------------------------+-----------+--------+ | 6 | +----------------------------------------------------------------------------------------------------+-----------+--------+ |
7 | |·:ref:`sphx_glr_auto_examples_image_processing_plot_waveforms.py`·(``plot_waveforms.py``)···········|·00:0 | 7 | |·:ref:`sphx_glr_auto_examples_image_processing_plot_waveforms.py`·(``plot_waveforms.py``)···········|·00:09.559·|·0.0·MB·| |
8 | +----------------------------------------------------------------------------------------------------+-----------+--------+ | 8 | +----------------------------------------------------------------------------------------------------+-----------+--------+ |
9 | |·:ref:`sphx_glr_auto_examples_image_processing_plot_downsize_image.py`·(``plot_downsize_image.py``)·|·00:00. | 9 | |·:ref:`sphx_glr_auto_examples_image_processing_plot_downsize_image.py`·(``plot_downsize_image.py``)·|·00:00.160·|·0.0·MB·| |
10 | +----------------------------------------------------------------------------------------------------+-----------+--------+ | 10 | +----------------------------------------------------------------------------------------------------+-----------+--------+ |
11 | |·:ref:`sphx_glr_auto_examples_image_processing_reslice.py`·(``reslice.py``)·························|·00:00.000·|·0.0·MB·| | 11 | |·:ref:`sphx_glr_auto_examples_image_processing_reslice.py`·(``reslice.py``)·························|·00:00.000·|·0.0·MB·| |
12 | +----------------------------------------------------------------------------------------------------+-----------+--------+ | 12 | +----------------------------------------------------------------------------------------------------+-----------+--------+ |
Offset 161, 15 lines modified | Offset 161, 15 lines modified | ||
161 | ····ds·=·pydicom.dcmread(filename) | 161 | ····ds·=·pydicom.dcmread(filename) |
162 | ····myprint(ds) | 162 | ····myprint(ds) |
163 | ..·rst-class::·sphx-glr-timing | 163 | ..·rst-class::·sphx-glr-timing |
164 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.0 | 164 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.070·seconds) |
165 | ..·_sphx_glr_download_auto_examples_input_output_plot_printing_dataset.py: | 165 | ..·_sphx_glr_download_auto_examples_input_output_plot_printing_dataset.py: |
166 | ..·only·::·html | 166 | ..·only·::·html |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | ····#·plot·the·image·using·matplotlib | 94 | ····#·plot·the·image·using·matplotlib |
95 | ····plt.imshow(ds.pixel_array,·cmap=plt.cm.gray) | 95 | ····plt.imshow(ds.pixel_array,·cmap=plt.cm.gray) |
96 | ····plt.show() | 96 | ····plt.show() |
97 | ..·rst-class::·sphx-glr-timing | 97 | ..·rst-class::·sphx-glr-timing |
98 | ···**Total·running·time·of·the·script:**·(·0·minutes··0. | 98 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.565·seconds) |
99 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom.py: | 99 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom.py: |
100 | ..·only·::·html | 100 | ..·only·::·html |
Offset 172, 15 lines modified | Offset 172, 15 lines modified | ||
172 | ····················#·Optionally·read·the·corresponding·SOP·Instance | 172 | ····················#·Optionally·read·the·corresponding·SOP·Instance |
173 | ····················#·instance·=·dcmread(Path(root_dir)·/·p) | 173 | ····················#·instance·=·dcmread(Path(root_dir)·/·p) |
174 | ····················#·print(instance.PatientName) | 174 | ····················#·print(instance.PatientName) |
175 | ..·rst-class::·sphx-glr-timing | 175 | ..·rst-class::·sphx-glr-timing |
176 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.0 | 176 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.073·seconds) |
177 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom_directory.py: | 177 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom_directory.py: |
178 | ..·only·::·html | 178 | ..·only·::·html |
Offset 101, 15 lines modified | Offset 101, 15 lines modified | ||
101 | ········Modality=MR·-·3·SOP·Instances | 101 | ········Modality=MR·-·3·SOP·Instances |
102 | ········Modality=MR·-·7·SOP·Instances | 102 | ········Modality=MR·-·7·SOP·Instances |
103 | ····Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 | 103 | ····Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 |
104 | ····Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading·the·stored·instances·and·3·instances·with·loading | 104 | ····Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading·the·stored·instances·and·3·instances·with·loading |
105 | ····Original·File-set·still·at·/build/reproducible-path/pydicom-2.3.1/pydicom/data/test_files/dicomdirtests | 105 | ····Original·File-set·still·at·/build/reproducible-path/pydicom-2.3.1/pydicom/data/test_files/dicomdirtests |
106 | ····File-set·copied·to·/tmp/tmp | 106 | ····File-set·copied·to·/tmp/tmpju_k98yb·and·contains·the·following·files: |
107 | ······DICOMDIR | 107 | ······DICOMDIR |
108 | ······PT000000/ST000000/SE000000/IM000000 | 108 | ······PT000000/ST000000/SE000000/IM000000 |
109 | ······PT000000/ST000000/SE000001/IM000000 | 109 | ······PT000000/ST000000/SE000001/IM000000 |
110 | ······PT000000/ST000000/SE000002/IM000000 | 110 | ······PT000000/ST000000/SE000002/IM000000 |
111 | ······PT000000/ST000001/SE000000/IM000000 | 111 | ······PT000000/ST000001/SE000000/IM000000 |
112 | ······PT000000/ST000001/SE000000/IM000001 | 112 | ······PT000000/ST000001/SE000000/IM000001 |
113 | ······PT000000/ST000001/SE000000/IM000002 | 113 | ······PT000000/ST000001/SE000000/IM000002 |
Offset 265, 15 lines modified | Offset 265, 15 lines modified | ||
265 | ····for·p·in·sorted(root.glob('**/*')): | 265 | ····for·p·in·sorted(root.glob('**/*')): |
266 | ········if·p.is_file(): | 266 | ········if·p.is_file(): |
267 | ············print(f"··{p.relative_to(root)}") | 267 | ············print(f"··{p.relative_to(root)}") |
268 | ..·rst-class::·sphx-glr-timing | 268 | ..·rst-class::·sphx-glr-timing |
269 | ···**Total·running·time·of·the·script:**·(·0·minutes··0. | 269 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.999·seconds) |
270 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_fileset.py: | 270 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_fileset.py: |
271 | ..·only·::·html | 271 | ..·only·::·html |
Offset 75, 15 lines modified | Offset 75, 15 lines modified | ||
75 | ····filename·=·get_testdata_file('rtplan.dcm') | 75 | ····filename·=·get_testdata_file('rtplan.dcm') |
76 | ····dataset·=·pydicom.dcmread(filename) | 76 | ····dataset·=·pydicom.dcmread(filename) |
77 | ····print(list_beams(dataset)) | 77 | ····print(list_beams(dataset)) |
78 | ..·rst-class::·sphx-glr-timing | 78 | ..·rst-class::·sphx-glr-timing |
79 | ···**Total·running·time·of·the·script:**·(·0·minutes··0. | 79 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.140·seconds) |
80 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_rtplan.py: | 80 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_rtplan.py: |
81 | ..·only·::·html | 81 | ..·only·::·html |
Offset 35, 40 lines modified | Offset 35, 40 lines modified | ||
35 | ·Out: | 35 | ·Out: |
36 | ·..·code-block::·none | 36 | ·..·code-block::·none |
37 | ····Setting·file·meta·information... | 37 | ····Setting·file·meta·information... |
38 | ····Setting·dataset·values... | 38 | ····Setting·dataset·values... |
39 | ····Writing·test·file·/tmp/tmp | 39 | ····Writing·test·file·/tmp/tmp9fhqf8_w.dcm |
40 | ····File·saved. | 40 | ····File·saved. |
41 | ····Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp | 41 | ····Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp51z4273q.dcm |
42 | ····Load·file·/tmp/tmp | 42 | ····Load·file·/tmp/tmp9fhqf8_w.dcm·... |
43 | ····Dataset.file_meta·------------------------------- | 43 | ····Dataset.file_meta·------------------------------- |
44 | ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 44 | ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
45 | ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 45 | ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
46 | ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 46 | ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
47 | ····------------------------------------------------- | 47 | ····------------------------------------------------- |
48 | ····(0008,·0023)·Content·Date························DA:·'202 | 48 | ····(0008,·0023)·Content·Date························DA:·'20240110' |
49 | ····(0008,·0033)·Content·Time························TM:·' | 49 | ····(0008,·0033)·Content·Time························TM:·'184602.861925' |
50 | ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 50 | ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
51 | ····(0010,·0020)·Patient·ID··························LO:·'123456' | 51 | ····(0010,·0020)·Patient·ID··························LO:·'123456' |
52 | ····Remove·file·/tmp/tmp | 52 | ····Remove·file·/tmp/tmp9fhqf8_w.dcm·... |
53 | ····Load·file·/tmp/tmp | 53 | ····Load·file·/tmp/tmp51z4273q.dcm·... |
54 | ····Dataset.file_meta·------------------------------- | 54 | ····Dataset.file_meta·------------------------------- |
55 | ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 55 | ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
56 | ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 56 | ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
57 | ····(0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian | 57 | ····(0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian |
58 | ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 58 | ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
59 | ····------------------------------------------------- | 59 | ····------------------------------------------------- |
60 | ····(0008,·0023)·Content·Date························DA:·'202 | 60 | ····(0008,·0023)·Content·Date························DA:·'20240110' |
61 | ····(0008,·0033)·Content·Time························TM:·' | 61 | ····(0008,·0033)·Content·Time························TM:·'184602.861925' |
62 | ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 62 | ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
63 | ····(0010,·0020)·Patient·ID··························LO:·'123456' | 63 | ····(0010,·0020)·Patient·ID··························LO:·'123456' |
64 | ····Remove·file·/tmp/tmp | 64 | ····Remove·file·/tmp/tmp51z4273q.dcm·... |
65 | | | 65 | | |
Offset 142, 15 lines modified | Offset 142, 15 lines modified | ||
142 | ········#·remove·the·created·file | 142 | ········#·remove·the·created·file |
143 | ········print('Remove·file·{}·...'.format(filename)) | 143 | ········print('Remove·file·{}·...'.format(filename)) |
144 | ········os.remove(filename) | 144 | ········os.remove(filename) |
145 | ..·rst-class::·sphx-glr-timing | 145 | ..·rst-class::·sphx-glr-timing |
146 | ···**Total·running·time·of·the·script:**·(·0·minutes··0. | 146 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.343·seconds) |
147 | ..·_sphx_glr_download_auto_examples_input_output_plot_write_dicom.py: | 147 | ..·_sphx_glr_download_auto_examples_input_output_plot_write_dicom.py: |
148 | ..·only·::·html | 148 | ..·only·::·html |
Offset 1, 22 lines modified | Offset 1, 22 lines modified | ||
1 | :orphan: | 1 | :orphan: |
2 | ..·_sphx_glr_auto_examples_input_output_sg_execution_times: | 2 | ..·_sphx_glr_auto_examples_input_output_sg_execution_times: |
3 | Computation·times | 3 | Computation·times |
4 | ================= | 4 | ================= |
5 | **00:0 | 5 | **00:02.189**·total·execution·time·for·**auto_examples_input_output**·files: |
6 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ | 6 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ |
7 | |·:ref:`sphx_glr_auto_examples_input_output_plot_read_fileset.py`·(``plot_read_fileset.py``)·················|·00:00. | 7 | |·:ref:`sphx_glr_auto_examples_input_output_plot_read_fileset.py`·(``plot_read_fileset.py``)·················|·00:00.999·|·0.0·MB·| |
8 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ | 8 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ |
9 | |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom.py`·(``plot_read_dicom.py``)·····················|·00:00. | 9 | |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom.py`·(``plot_read_dicom.py``)·····················|·00:00.565·|·0.0·MB·| |
10 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ | 10 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ |
11 | |·:ref:`sphx_glr_auto_examples_input_output_plot_ | 11 | |·:ref:`sphx_glr_auto_examples_input_output_plot_write_dicom.py`·(``plot_write_dicom.py``)···················|·00:00.343·|·0.0·MB·| |
12 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ | 12 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ |
13 | |·:ref:`sphx_glr_auto_examples_input_output_plot_ | 13 | |·:ref:`sphx_glr_auto_examples_input_output_plot_read_rtplan.py`·(``plot_read_rtplan.py``)···················|·00:00.140·|·0.0·MB·| |
14 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ | 14 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ |
15 | |·:ref:`sphx_glr_auto_examples_input_output_plot_ | 15 | |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom_directory.py`·(``plot_read_dicom_directory.py``)·|·00:00.073·|·0.0·MB·| |
16 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ | 16 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ |
17 | |·:ref:`sphx_glr_auto_examples_input_output_plot_r | 17 | |·:ref:`sphx_glr_auto_examples_input_output_plot_printing_dataset.py`·(``plot_printing_dataset.py``)·········|·00:00.070·|·0.0·MB·| |
18 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ | 18 | +------------------------------------------------------------------------------------------------------------+-----------+--------+ |
Offset 91, 15 lines modified | Offset 91, 15 lines modified | ||
91 | ····ds.TestThree·=·'1.2.3.4.5' | 91 | ····ds.TestThree·=·'1.2.3.4.5' |
92 | ····print(ds.top()) | 92 | ····print(ds.top()) |
93 | ..·rst-class::·sphx-glr-timing | 93 | ..·rst-class::·sphx-glr-timing |
94 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.0 | 94 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.032·seconds) |
95 | ..·_sphx_glr_download_auto_examples_metadata_processing_plot_add_dict_entries.py: | 95 | ..·_sphx_glr_download_auto_examples_metadata_processing_plot_add_dict_entries.py: |
96 | ..·only·::·html | 96 | ..·only·::·html |
Offset 227, 15 lines modified | Offset 227, 15 lines modified | ||
227 | ..·rst-class::·sphx-glr-timing | 227 | ..·rst-class::·sphx-glr-timing |
228 | ···**Total·running·time·of·the·script:**·(·0·minutes··0. | 228 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.689·seconds) |
229 | ..·_sphx_glr_download_auto_examples_metadata_processing_plot_anonymize.py: | 229 | ..·_sphx_glr_download_auto_examples_metadata_processing_plot_anonymize.py: |
230 | ..·only·::·html | 230 | ..·only·::·html |
Offset 79, 15 lines modified | Offset 79, 15 lines modified | ||
79 | ····#·data·element | 79 | ····#·data·element |
80 | ····beam0.BlockSequence.append(block_ds3) | 80 | ····beam0.BlockSequence.append(block_ds3) |
81 | ····del·plan_ds.BeamSequence[0].BlockSequence[1] | 81 | ····del·plan_ds.BeamSequence[0].BlockSequence[1] |
82 | ..·rst-class::·sphx-glr-timing | 82 | ..·rst-class::·sphx-glr-timing |
83 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.0 | 83 | ···**Total·running·time·of·the·script:**·(·0·minutes··0.078·seconds) |
84 | ..·_sphx_glr_download_auto_examples_metadata_processing_plot_sequences.py: | 84 | ..·_sphx_glr_download_auto_examples_metadata_processing_plot_sequences.py: |
85 | ..·only·::·html | 85 | ..·only·::·html |
Offset 1, 16 lines modified | Offset 1, 16 lines modified | ||
1 | :orphan: | 1 | :orphan: |
2 | ..·_sphx_glr_auto_examples_metadata_processing_sg_execution_times: | 2 | ..·_sphx_glr_auto_examples_metadata_processing_sg_execution_times: |
3 | Computation·times | 3 | Computation·times |
4 | ================= | 4 | ================= |
5 | **00:00. | 5 | **00:00.799**·total·execution·time·for·**auto_examples_metadata_processing**·files: |
6 | +-----------------------------------------------------------------------------------------------------------+-----------+--------+ | 6 | +-----------------------------------------------------------------------------------------------------------+-----------+--------+ |
7 | |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_anonymize.py`·(``plot_anonymize.py``)···············|·00:00. | 7 | |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_anonymize.py`·(``plot_anonymize.py``)···············|·00:00.689·|·0.0·MB·| |
8 | +-----------------------------------------------------------------------------------------------------------+-----------+--------+ | 8 | +-----------------------------------------------------------------------------------------------------------+-----------+--------+ |
9 | |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_sequences.py`·(``plot_sequences.py``)···············|·00:00.0 | 9 | |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_sequences.py`·(``plot_sequences.py``)···············|·00:00.078·|·0.0·MB·| |
10 | +-----------------------------------------------------------------------------------------------------------+-----------+--------+ | 10 | +-----------------------------------------------------------------------------------------------------------+-----------+--------+ |
11 | |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_add_dict_entries.py`·(``plot_add_dict_entries.py``)·|·00:00.0 | 11 | |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_add_dict_entries.py`·(``plot_add_dict_entries.py``)·|·00:00.032·|·0.0·MB·| |
12 | +-----------------------------------------------------------------------------------------------------------+-----------+--------+ | 12 | +-----------------------------------------------------------------------------------------------------------+-----------+--------+ |
Offset 747, 15 lines modified | Offset 747, 15 lines modified | ||
747 | ····for·line·in·diff.compare(rep[0],·rep[1]): | 747 | ····for·line·in·diff.compare(rep[0],·rep[1]): |
748 | ········if·line[0]·!=·"?": | 748 | ········if·line[0]·!=·"?": |
749 | ············print(line) | 749 | ············print(line) |
750 | ..·rst-class::·sphx-glr-timing | 750 | ..·rst-class::·sphx-glr-timing |
751 | ···**Total·running·time·of·the·script:**·(·0·minutes·· | 751 | ···**Total·running·time·of·the·script:**·(·0·minutes··2.307·seconds) |
752 | ..·_sphx_glr_download_auto_examples_plot_dicom_difference.py: | 752 | ..·_sphx_glr_download_auto_examples_plot_dicom_difference.py: |
753 | ..·only·::·html | 753 | ..·only·::·html |
Offset 1, 18 lines modified | Offset 1, 18 lines modified | ||
1 | :orphan: | 1 | :orphan: |
2 | ..·_sphx_glr_auto_examples_sg_execution_times: | 2 | ..·_sphx_glr_auto_examples_sg_execution_times: |
3 | Computation·times | 3 | Computation·times |
4 | ================= | 4 | ================= |
5 | **00:0 | 5 | **00:02.307**·total·execution·time·for·**auto_examples**·files: |
6 | +---------------------------------------------------------------------------------------+-----------+--------+ | 6 | +---------------------------------------------------------------------------------------+-----------+--------+ |
7 | |·:ref:`sphx_glr_auto_examples_plot_dicom_difference.py`·(``plot_dicom_difference.py``)·|·00:0 | 7 | |·:ref:`sphx_glr_auto_examples_plot_dicom_difference.py`·(``plot_dicom_difference.py``)·|·00:02.307·|·0.0·MB·| |
8 | +---------------------------------------------------------------------------------------+-----------+--------+ | 8 | +---------------------------------------------------------------------------------------+-----------+--------+ |
9 | |·:ref:`sphx_glr_auto_examples_dicomtree.py`·(``dicomtree.py``)·························|·00:00.000·|·0.0·MB·| | 9 | |·:ref:`sphx_glr_auto_examples_dicomtree.py`·(``dicomtree.py``)·························|·00:00.000·|·0.0·MB·| |
10 | +---------------------------------------------------------------------------------------+-----------+--------+ | 10 | +---------------------------------------------------------------------------------------+-----------+--------+ |
11 | |·:ref:`sphx_glr_auto_examples_memory_dataset.py`·(``memory_dataset.py``)···············|·00:00.000·|·0.0·MB·| | 11 | |·:ref:`sphx_glr_auto_examples_memory_dataset.py`·(``memory_dataset.py``)···············|·00:00.000·|·0.0·MB·| |
12 | +---------------------------------------------------------------------------------------+-----------+--------+ | 12 | +---------------------------------------------------------------------------------------+-----------+--------+ |
13 | |·:ref:`sphx_glr_auto_examples_show_charset_name.py`·(``show_charset_name.py``)·········|·00:00.000·|·0.0·MB·| | 13 | |·:ref:`sphx_glr_auto_examples_show_charset_name.py`·(``show_charset_name.py``)·········|·00:00.000·|·0.0·MB·| |
14 | +---------------------------------------------------------------------------------------+-----------+--------+ | 14 | +---------------------------------------------------------------------------------------+-----------+--------+ |
Offset 242, 15 lines modified | Offset 242, 15 lines modified | ||
242 | <span·class="n">ds</span><span·class="o">.</span><span·class="n">Rows</span><span·class="p">,</span>·<span·class="n">ds</span><span·class="o">.</span><span·class="n">Columns</span>·<span·class="o">=</span>·<span·class="n">data_downsampling</span><span·class="o">.</span><span·class="n">shape</span> | 242 | <span·class="n">ds</span><span·class="o">.</span><span·class="n">Rows</span><span·class="p">,</span>·<span·class="n">ds</span><span·class="o">.</span><span·class="n">Columns</span>·<span·class="o">=</span>·<span·class="n">data_downsampling</span><span·class="o">.</span><span·class="n">shape</span> |
243 | <span·class="c1">#·print·the·image·information·given·in·the·dataset</span> | 243 | <span·class="c1">#·print·the·image·information·given·in·the·dataset</span> |
244 | <span·class="nb">print</span><span·class="p">(</span><span·class="s1">'The·information·of·the·data·set·after·downsampling:·</span><span·class="se">\n</span><span·class="s1">'</span><span·class="p">)</span> | 244 | <span·class="nb">print</span><span·class="p">(</span><span·class="s1">'The·information·of·the·data·set·after·downsampling:·</span><span·class="se">\n</span><span·class="s1">'</span><span·class="p">)</span> |
245 | <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span> | 245 | <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span> |
246 | </pre></div> | 246 | </pre></div> |
247 | </div> | 247 | </div> |
248 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0. | 248 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.160·seconds)</p> |
249 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-downsize-image-py"> | 249 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-downsize-image-py"> |
250 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 250 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
251 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/032a903dae32dc4e934f88d87905b561/plot_downsize_image.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_downsize_image.py</span></code></a></p> | 251 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/032a903dae32dc4e934f88d87905b561/plot_downsize_image.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_downsize_image.py</span></code></a></p> |
252 | </div> | 252 | </div> |
253 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 253 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
254 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/76360960a9af7e908b2d5e0b2453183b/plot_downsize_image.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_downsize_image.ipynb</span></code></a></p> | 254 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/76360960a9af7e908b2d5e0b2453183b/plot_downsize_image.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_downsize_image.ipynb</span></code></a></p> |
255 | </div> | 255 | </div> |
Offset 168, 15 lines modified | Offset 168, 15 lines modified | ||
168 | ds.PixelData·=·data_downsampling.tobytes() | 168 | ds.PixelData·=·data_downsampling.tobytes() |
169 | #·update·the·information·regarding·the·shape·of·the·data·array | 169 | #·update·the·information·regarding·the·shape·of·the·data·array |
170 | ds.Rows,·ds.Columns·=·data_downsampling.shape | 170 | ds.Rows,·ds.Columns·=·data_downsampling.shape |
171 | #·print·the·image·information·given·in·the·dataset | 171 | #·print·the·image·information·given·in·the·dataset |
172 | print('The·information·of·the·data·set·after·downsampling:·\n') | 172 | print('The·information·of·the·data·set·after·downsampling:·\n') |
173 | print(ds) | 173 | print(ds) |
174 | Total·running·time·of·the·script:·(·0·minutes·0. | 174 | Total·running·time·of·the·script:·(·0·minutes·0.160·seconds) |
175 | Download_Python_source_code:_plot_downsize_image.py | 175 | Download_Python_source_code:_plot_downsize_image.py |
176 | Download_Jupyter_notebook:_plot_downsize_image.ipynb | 176 | Download_Jupyter_notebook:_plot_downsize_image.ipynb |
177 | Gallery_generated_by_Sphinx-Gallery | 177 | Gallery_generated_by_Sphinx-Gallery |
178 | Previous·Next | 178 | Previous·Next |
179 | =============================================================================== | 179 | =============================================================================== |
180 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 180 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
181 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 181 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 158, 15 lines modified | Offset 158, 15 lines modified | ||
158 | ····<span·class="n">ax</span><span·class="o">.</span><span·class="n">set_xlabel</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">"(</span><span·class="si">{</span><span·class="n">x_units</span><span·class="si">}</span><span·class="s2">)"</span><span·class="p">)</span> | 158 | ····<span·class="n">ax</span><span·class="o">.</span><span·class="n">set_xlabel</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">"(</span><span·class="si">{</span><span·class="n">x_units</span><span·class="si">}</span><span·class="s2">)"</span><span·class="p">)</span> |
159 | ····<span·class="n">ax</span><span·class="o">.</span><span·class="n">set_ylabel</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">"(</span><span·class="si">{</span><span·class="n">y_units</span><span·class="si">}</span><span·class="s2">)"</span><span·class="p">)</span> | 159 | ····<span·class="n">ax</span><span·class="o">.</span><span·class="n">set_ylabel</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">"(</span><span·class="si">{</span><span·class="n">y_units</span><span·class="si">}</span><span·class="s2">)"</span><span·class="p">)</span> |
160 | <span·class="n">fig</span><span·class="o">.</span><span·class="n">tight_layout</span><span·class="p">(</span><span·class="n">pad</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span> | 160 | <span·class="n">fig</span><span·class="o">.</span><span·class="n">tight_layout</span><span·class="p">(</span><span·class="n">pad</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span> |
161 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 161 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
162 | </pre></div> | 162 | </pre></div> |
163 | </div> | 163 | </div> |
164 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes·· | 164 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··9.559·seconds)</p> |
165 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-waveforms-py"> | 165 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-waveforms-py"> |
166 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 166 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
167 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/37526ba18181b1083cb01706ece1f85f/plot_waveforms.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_waveforms.py</span></code></a></p> | 167 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/37526ba18181b1083cb01706ece1f85f/plot_waveforms.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_waveforms.py</span></code></a></p> |
168 | </div> | 168 | </div> |
169 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 169 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
170 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/e5a4893fc2534cd7549d6717555a1054/plot_waveforms.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_waveforms.ipynb</span></code></a></p> | 170 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/e5a4893fc2534cd7549d6717555a1054/plot_waveforms.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_waveforms.ipynb</span></code></a></p> |
171 | </div> | 171 | </div> |
Offset 83, 15 lines modified | Offset 83, 15 lines modified | ||
83 | ····ax.plot(x,·arr[...,·ch_idx]) | 83 | ····ax.plot(x,·arr[...,·ch_idx]) |
84 | ····ax.set_title(f"{mplx_label}:·{ch_source}") | 84 | ····ax.set_title(f"{mplx_label}:·{ch_source}") |
85 | ····ax.set_xlabel(f"({x_units})") | 85 | ····ax.set_xlabel(f"({x_units})") |
86 | ····ax.set_ylabel(f"({y_units})") | 86 | ····ax.set_ylabel(f"({y_units})") |
87 | fig.tight_layout(pad=1) | 87 | fig.tight_layout(pad=1) |
88 | plt.show() | 88 | plt.show() |
89 | Total·running·time·of·the·script:·(·0·minutes· | 89 | Total·running·time·of·the·script:·(·0·minutes·9.559·seconds) |
90 | Download_Python_source_code:_plot_waveforms.py | 90 | Download_Python_source_code:_plot_waveforms.py |
91 | Download_Jupyter_notebook:_plot_waveforms.ipynb | 91 | Download_Jupyter_notebook:_plot_waveforms.ipynb |
92 | Gallery_generated_by_Sphinx-Gallery | 92 | Gallery_generated_by_Sphinx-Gallery |
93 | Previous·Next | 93 | Previous·Next |
94 | =============================================================================== | 94 | =============================================================================== |
95 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 95 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
96 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 96 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 99, 23 lines modified | Offset 99, 23 lines modified | ||
99 | ··<hr/> | 99 | ··<hr/> |
100 | </div> | 100 | </div> |
101 | ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article"> | 101 | ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article"> |
102 | ···········<div·itemprop="articleBody"> | 102 | ···········<div·itemprop="articleBody"> |
103 | ············· | 103 | ············· |
104 | ··<section·id="computation-times"> | 104 | ··<section·id="computation-times"> |
105 | <span·id="sphx-glr-auto-examples-image-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·heading">¶</a></h1> | 105 | <span·id="sphx-glr-auto-examples-image-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·heading">¶</a></h1> |
106 | <p><strong>00:0 | 106 | <p><strong>00:09.718</strong>·total·execution·time·for·<strong>auto_examples_image_processing</strong>·files:</p> |
107 | <table·class="docutils·align-default"> | 107 | <table·class="docutils·align-default"> |
108 | <tbody> | 108 | <tbody> |
109 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_waveforms.html#sphx-glr-auto-examples-image-processing-plot-waveforms-py"><span·class="std·std-ref">Decode·and·plot·Waveform·Data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_waveforms.py</span></code>)</p></td> | 109 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_waveforms.html#sphx-glr-auto-examples-image-processing-plot-waveforms-py"><span·class="std·std-ref">Decode·and·plot·Waveform·Data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_waveforms.py</span></code>)</p></td> |
110 | <td><p>00:0 | 110 | <td><p>00:09.559</p></td> |
111 | <td><p>0.0·MB</p></td> | 111 | <td><p>0.0·MB</p></td> |
112 | </tr> | 112 | </tr> |
113 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_downsize_image.html#sphx-glr-auto-examples-image-processing-plot-downsize-image-py"><span·class="std·std-ref">Downsize·MRI·image·using·pydicom</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_downsize_image.py</span></code>)</p></td> | 113 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_downsize_image.html#sphx-glr-auto-examples-image-processing-plot-downsize-image-py"><span·class="std·std-ref">Downsize·MRI·image·using·pydicom</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_downsize_image.py</span></code>)</p></td> |
114 | <td><p>00:00. | 114 | <td><p>00:00.160</p></td> |
115 | <td><p>0.0·MB</p></td> | 115 | <td><p>0.0·MB</p></td> |
116 | </tr> | 116 | </tr> |
117 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="reslice.html#sphx-glr-auto-examples-image-processing-reslice-py"><span·class="std·std-ref">Load·CT·slices·and·plot·axial,·sagittal·and·coronal·images</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">reslice.py</span></code>)</p></td> | 117 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="reslice.html#sphx-glr-auto-examples-image-processing-reslice-py"><span·class="std·std-ref">Load·CT·slices·and·plot·axial,·sagittal·and·coronal·images</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">reslice.py</span></code>)</p></td> |
118 | <td><p>00:00.000</p></td> | 118 | <td><p>00:00.000</p></td> |
119 | <td><p>0.0·MB</p></td> | 119 | <td><p>0.0·MB</p></td> |
120 | </tr> | 120 | </tr> |
121 | </tbody> | 121 | </tbody> |
Offset 30, 16 lines modified | Offset 30, 16 lines modified | ||
30 | ····*·Contributing_to_pydicom | 30 | ····*·Contributing_to_pydicom |
31 | ····*·Frequently_asked_questions | 31 | ····*·Frequently_asked_questions |
32 | ····*·Release_notes | 32 | ····*·Release_notes |
33 | ···pydicom | 33 | ···pydicom |
34 | ····*·Computation·times | 34 | ····*·Computation·times |
35 | =============================================================================== | 35 | =============================================================================== |
36 | ******·Computation·times¶·****** | 36 | ******·Computation·times¶·****** |
37 | 00:0 | 37 | 00:09.718·total·execution·time·for·auto_examples_image_processing·files: |
38 | Decode_and_plot_Waveform_Data·(plot_waveforms.py)···········00:0 | 38 | Decode_and_plot_Waveform_Data·(plot_waveforms.py)···········00:09.559·0.0·MB |
39 | Downsize_MRI_image_using_pydicom·(plot_downsize_image.py)···00:00. | 39 | Downsize_MRI_image_using_pydicom·(plot_downsize_image.py)···00:00.160·0.0·MB |
40 | Load_CT_slices_and_plot_axial,_sagittal_and_coronal_images··00:00.000·0.0·MB | 40 | Load_CT_slices_and_plot_axial,_sagittal_and_coronal_images··00:00.000·0.0·MB |
41 | (reslice.py) | 41 | (reslice.py) |
42 | =============================================================================== | 42 | =============================================================================== |
43 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 43 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
44 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 44 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 238, 15 lines modified | Offset 238, 15 lines modified | ||
238 | <span·class="n">filename</span>·<span·class="o">=</span>·<a·href="../../reference/generated/pydicom.data.get_testdata_file.html#pydicom.data.get_testdata_file"·title="pydicom.data.get_testdata_file"·class="sphx-glr-backref-module-pydicom-data·sphx-glr-backref-type-py-function"><span·class="n">get_testdata_file</span></a><span·class="p">(</span><span·class="s1">'MR_small.dcm'</span><span·class="p">)</span> | 238 | <span·class="n">filename</span>·<span·class="o">=</span>·<a·href="../../reference/generated/pydicom.data.get_testdata_file.html#pydicom.data.get_testdata_file"·title="pydicom.data.get_testdata_file"·class="sphx-glr-backref-module-pydicom-data·sphx-glr-backref-type-py-function"><span·class="n">get_testdata_file</span></a><span·class="p">(</span><span·class="s1">'MR_small.dcm'</span><span·class="p">)</span> |
239 | <span·class="n">ds</span>·<span·class="o">=</span>·<span·class="n">pydicom</span><span·class="o">.</span><span·class="n">dcmread</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">)</span> | 239 | <span·class="n">ds</span>·<span·class="o">=</span>·<span·class="n">pydicom</span><span·class="o">.</span><span·class="n">dcmread</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">)</span> |
240 | <span·class="n">myprint</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span> | 240 | <span·class="n">myprint</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span> |
241 | </pre></div> | 241 | </pre></div> |
242 | </div> | 242 | </div> |
243 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.0 | 243 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.070·seconds)</p> |
244 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-printing-dataset-py"> | 244 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-printing-dataset-py"> |
245 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 245 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
246 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/7d5fde14cbfb9e9d3e3df4c27eff8500/plot_printing_dataset.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_printing_dataset.py</span></code></a></p> | 246 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/7d5fde14cbfb9e9d3e3df4c27eff8500/plot_printing_dataset.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_printing_dataset.py</span></code></a></p> |
247 | </div> | 247 | </div> |
248 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 248 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
249 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/9fa22b5ea7bc00014f45bd48ae63d3ca/plot_printing_dataset.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_printing_dataset.ipynb</span></code></a></p> | 249 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/9fa22b5ea7bc00014f45bd48ae63d3ca/plot_printing_dataset.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_printing_dataset.ipynb</span></code></a></p> |
250 | </div> | 250 | </div> |
Offset 159, 15 lines modified | Offset 159, 15 lines modified | ||
159 | ···················································repr_value)) | 159 | ···················································repr_value)) |
160 | filename·=·get_testdata_file('MR_small.dcm') | 160 | filename·=·get_testdata_file('MR_small.dcm') |
161 | ds·=·pydicom.dcmread(filename) | 161 | ds·=·pydicom.dcmread(filename) |
162 | myprint(ds) | 162 | myprint(ds) |
163 | Total·running·time·of·the·script:·(·0·minutes·0.0 | 163 | Total·running·time·of·the·script:·(·0·minutes·0.070·seconds) |
164 | Download_Python_source_code:_plot_printing_dataset.py | 164 | Download_Python_source_code:_plot_printing_dataset.py |
165 | Download_Jupyter_notebook:_plot_printing_dataset.ipynb | 165 | Download_Jupyter_notebook:_plot_printing_dataset.ipynb |
166 | Gallery_generated_by_Sphinx-Gallery | 166 | Gallery_generated_by_Sphinx-Gallery |
167 | Previous·Next | 167 | Previous·Next |
168 | =============================================================================== | 168 | =============================================================================== |
169 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 169 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
170 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 170 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 166, 15 lines modified | Offset 166, 15 lines modified | ||
166 | <span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">"Slice·location...:·</span><span·class="si">{</span><span·class="n">ds</span><span·class="o">.</span><span·class="n">get</span><span·class="p">(</span><span·class="s1">'SliceLocation'</span><span·class="p">,</span><span·class="w">·</span><span·class="s1">'(missing)'</span><span·class="p">)</span><span·class="si">}</span><span·class="s2">"</span><span·class="p">)</span> | 166 | <span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">"Slice·location...:·</span><span·class="si">{</span><span·class="n">ds</span><span·class="o">.</span><span·class="n">get</span><span·class="p">(</span><span·class="s1">'SliceLocation'</span><span·class="p">,</span><span·class="w">·</span><span·class="s1">'(missing)'</span><span·class="p">)</span><span·class="si">}</span><span·class="s2">"</span><span·class="p">)</span> |
167 | <span·class="c1">#·plot·the·image·using·matplotlib</span> | 167 | <span·class="c1">#·plot·the·image·using·matplotlib</span> |
168 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">imshow</span><span·class="p">(</span><span·class="n">ds</span><span·class="o">.</span><span·class="n">pixel_array</span><span·class="p">,</span>·<span·class="n">cmap</span><span·class="o">=</span><span·class="n">plt</span><span·class="o">.</span><span·class="n">cm</span><span·class="o">.</span><span·class="n">gray</span><span·class="p">)</span> | 168 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">imshow</span><span·class="p">(</span><span·class="n">ds</span><span·class="o">.</span><span·class="n">pixel_array</span><span·class="p">,</span>·<span·class="n">cmap</span><span·class="o">=</span><span·class="n">plt</span><span·class="o">.</span><span·class="n">cm</span><span·class="o">.</span><span·class="n">gray</span><span·class="p">)</span> |
169 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 169 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
170 | </pre></div> | 170 | </pre></div> |
171 | </div> | 171 | </div> |
172 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0. | 172 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.565·seconds)</p> |
173 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-py"> | 173 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-py"> |
174 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 174 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
175 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/5e2195081f5a423e984744f70649688b/plot_read_dicom.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_read_dicom.py</span></code></a></p> | 175 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/5e2195081f5a423e984744f70649688b/plot_read_dicom.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_read_dicom.py</span></code></a></p> |
176 | </div> | 176 | </div> |
177 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 177 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
178 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/596a13aa12214abf0489d3740bbada1f/plot_read_dicom.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_read_dicom.ipynb</span></code></a></p> | 178 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/596a13aa12214abf0489d3740bbada1f/plot_read_dicom.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_read_dicom.ipynb</span></code></a></p> |
179 | </div> | 179 | </div> |
Offset 88, 15 lines modified | Offset 88, 15 lines modified | ||
88 | #·use·.get()·if·not·sure·the·item·exists,·and·want·a·default·value·if·missing | 88 | #·use·.get()·if·not·sure·the·item·exists,·and·want·a·default·value·if·missing |
89 | print(f"Slice·location...:·{ds.get('SliceLocation',·'(missing)')}") | 89 | print(f"Slice·location...:·{ds.get('SliceLocation',·'(missing)')}") |
90 | #·plot·the·image·using·matplotlib | 90 | #·plot·the·image·using·matplotlib |
91 | plt.imshow(ds.pixel_array,·cmap=plt.cm.gray) | 91 | plt.imshow(ds.pixel_array,·cmap=plt.cm.gray) |
92 | plt.show() | 92 | plt.show() |
93 | Total·running·time·of·the·script:·(·0·minutes·0. | 93 | Total·running·time·of·the·script:·(·0·minutes·0.565·seconds) |
94 | Download_Python_source_code:_plot_read_dicom.py | 94 | Download_Python_source_code:_plot_read_dicom.py |
95 | Download_Jupyter_notebook:_plot_read_dicom.ipynb | 95 | Download_Jupyter_notebook:_plot_read_dicom.ipynb |
96 | Gallery_generated_by_Sphinx-Gallery | 96 | Gallery_generated_by_Sphinx-Gallery |
97 | Previous·Next | 97 | Previous·Next |
98 | =============================================================================== | 98 | =============================================================================== |
99 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 99 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
100 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 100 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 250, 15 lines modified | Offset 250, 15 lines modified | ||
250 | ················<span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">"</span><span·class="si">{</span><span·class="s1">'··'</span><span·class="w">·</span><span·class="o">*</span><span·class="w">·</span><span·class="mi">3</span><span·class="si">}</span><span·class="s2">IMAGE:·Path=</span><span·class="si">{</span><span·class="n">os</span><span·class="o">.</span><span·class="n">fspath</span><span·class="p">(</span><span·class="n">p</span><span·class="p">)</span><span·class="si">}</span><span·class="s2">"</span><span·class="p">)</span> | 250 | ················<span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">"</span><span·class="si">{</span><span·class="s1">'··'</span><span·class="w">·</span><span·class="o">*</span><span·class="w">·</span><span·class="mi">3</span><span·class="si">}</span><span·class="s2">IMAGE:·Path=</span><span·class="si">{</span><span·class="n">os</span><span·class="o">.</span><span·class="n">fspath</span><span·class="p">(</span><span·class="n">p</span><span·class="p">)</span><span·class="si">}</span><span·class="s2">"</span><span·class="p">)</span> |
251 | ················<span·class="c1">#·Optionally·read·the·corresponding·SOP·Instance</span> | 251 | ················<span·class="c1">#·Optionally·read·the·corresponding·SOP·Instance</span> |
252 | ················<span·class="c1">#·instance·=·dcmread(Path(root_dir)·/·p)</span> | 252 | ················<span·class="c1">#·instance·=·dcmread(Path(root_dir)·/·p)</span> |
253 | ················<span·class="c1">#·print(instance.PatientName)</span> | 253 | ················<span·class="c1">#·print(instance.PatientName)</span> |
254 | </pre></div> | 254 | </pre></div> |
255 | </div> | 255 | </div> |
256 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.0 | 256 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.073·seconds)</p> |
257 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-directory-py"> | 257 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-directory-py"> |
258 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 258 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
259 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/33b840573239ff057316729322f32358/plot_read_dicom_directory.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_read_dicom_directory.py</span></code></a></p> | 259 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/33b840573239ff057316729322f32358/plot_read_dicom_directory.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_read_dicom_directory.py</span></code></a></p> |
260 | </div> | 260 | </div> |
261 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 261 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
262 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/aac78b7419d1af47f86d51ba12974948/plot_read_dicom_directory.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_read_dicom_directory.ipynb</span></code></a></p> | 262 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/aac78b7419d1af47f86d51ba12974948/plot_read_dicom_directory.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_read_dicom_directory.ipynb</span></code></a></p> |
263 | </div> | 263 | </div> |
Offset 183, 15 lines modified | Offset 183, 15 lines modified | ||
183 | ············#·List·the·instance·file·paths | 183 | ············#·List·the·instance·file·paths |
184 | ············for·p·in·paths: | 184 | ············for·p·in·paths: |
185 | ················print(f"{'··'·*·3}IMAGE:·Path={os.fspath(p)}") | 185 | ················print(f"{'··'·*·3}IMAGE:·Path={os.fspath(p)}") |
186 | ················#·Optionally·read·the·corresponding·SOP·Instance | 186 | ················#·Optionally·read·the·corresponding·SOP·Instance |
187 | ················#·instance·=·dcmread(Path(root_dir)·/·p) | 187 | ················#·instance·=·dcmread(Path(root_dir)·/·p) |
188 | ················#·print(instance.PatientName) | 188 | ················#·print(instance.PatientName) |
189 | Total·running·time·of·the·script:·(·0·minutes·0.0 | 189 | Total·running·time·of·the·script:·(·0·minutes·0.073·seconds) |
190 | Download_Python_source_code:_plot_read_dicom_directory.py | 190 | Download_Python_source_code:_plot_read_dicom_directory.py |
191 | Download_Jupyter_notebook:_plot_read_dicom_directory.ipynb | 191 | Download_Jupyter_notebook:_plot_read_dicom_directory.ipynb |
192 | Gallery_generated_by_Sphinx-Gallery | 192 | Gallery_generated_by_Sphinx-Gallery |
193 | Previous·Next | 193 | Previous·Next |
194 | =============================================================================== | 194 | =============================================================================== |
195 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 195 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
196 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 196 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 187, 15 lines modified | Offset 187, 15 lines modified | ||
187 | ····Modality=MR·-·3·SOP·Instances | 187 | ····Modality=MR·-·3·SOP·Instances |
188 | ····Modality=MR·-·7·SOP·Instances | 188 | ····Modality=MR·-·7·SOP·Instances |
189 | Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 | 189 | Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 |
190 | Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading·the·stored·instances·and·3·instances·with·loading | 190 | Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading·the·stored·instances·and·3·instances·with·loading |
191 | Original·File-set·still·at·/build/reproducible-path/pydicom-2.3.1/pydicom/data/test_files/dicomdirtests | 191 | Original·File-set·still·at·/build/reproducible-path/pydicom-2.3.1/pydicom/data/test_files/dicomdirtests |
192 | File-set·copied·to·/tmp/tmp | 192 | File-set·copied·to·/tmp/tmpju_k98yb·and·contains·the·following·files: |
193 | ··DICOMDIR | 193 | ··DICOMDIR |
194 | ··PT000000/ST000000/SE000000/IM000000 | 194 | ··PT000000/ST000000/SE000000/IM000000 |
195 | ··PT000000/ST000000/SE000001/IM000000 | 195 | ··PT000000/ST000000/SE000001/IM000000 |
196 | ··PT000000/ST000000/SE000002/IM000000 | 196 | ··PT000000/ST000000/SE000002/IM000000 |
197 | ··PT000000/ST000001/SE000000/IM000000 | 197 | ··PT000000/ST000001/SE000000/IM000000 |
198 | ··PT000000/ST000001/SE000000/IM000001 | 198 | ··PT000000/ST000001/SE000000/IM000001 |
199 | ··PT000000/ST000001/SE000000/IM000002 | 199 | ··PT000000/ST000001/SE000000/IM000002 |
Offset 343, 15 lines modified | Offset 343, 15 lines modified | ||
343 | <span·class="c1">#·Note·how·the·original·File-set·directory·layout·has·been·changed·to</span> | 343 | <span·class="c1">#·Note·how·the·original·File-set·directory·layout·has·been·changed·to</span> |
344 | <span·class="c1">#···the·structure·used·by·pydicom</span> | 344 | <span·class="c1">#···the·structure·used·by·pydicom</span> |
345 | <span·class="k">for</span>·<span·class="n">p</span>·<span·class="ow">in</span>·<span·class="nb">sorted</span><span·class="p">(</span><span·class="n">root</span><span·class="o">.</span><span·class="n">glob</span><span·class="p">(</span><span·class="s1">'**/*'</span><span·class="p">)):</span> | 345 | <span·class="k">for</span>·<span·class="n">p</span>·<span·class="ow">in</span>·<span·class="nb">sorted</span><span·class="p">(</span><span·class="n">root</span><span·class="o">.</span><span·class="n">glob</span><span·class="p">(</span><span·class="s1">'**/*'</span><span·class="p">)):</span> |
346 | ····<span·class="k">if</span>·<span·class="n">p</span><span·class="o">.</span><span·class="n">is_file</span><span·class="p">():</span> | 346 | ····<span·class="k">if</span>·<span·class="n">p</span><span·class="o">.</span><span·class="n">is_file</span><span·class="p">():</span> |
347 | ········<span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">"··</span><span·class="si">{</span><span·class="n">p</span><span·class="o">.</span><span·class="n">relative_to</span><span·class="p">(</span><span·class="n">root</span><span·class="p">)</span><span·class="si">}</span><span·class="s2">"</span><span·class="p">)</span> | 347 | ········<span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">"··</span><span·class="si">{</span><span·class="n">p</span><span·class="o">.</span><span·class="n">relative_to</span><span·class="p">(</span><span·class="n">root</span><span·class="p">)</span><span·class="si">}</span><span·class="s2">"</span><span·class="p">)</span> |
348 | </pre></div> | 348 | </pre></div> |
349 | </div> | 349 | </div> |
350 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0. | 350 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.999·seconds)</p> |
351 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-fileset-py"> | 351 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-fileset-py"> |
352 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 352 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
353 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/d9277387ad11dc0847c817c16906fc77/plot_read_fileset.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_read_fileset.py</span></code></a></p> | 353 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/d9277387ad11dc0847c817c16906fc77/plot_read_fileset.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_read_fileset.py</span></code></a></p> |
354 | </div> | 354 | </div> |
355 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 355 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
356 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/047cd4e7536a54c1a4581d1eeeec2a85/plot_read_fileset.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_read_fileset.ipynb</span></code></a></p> | 356 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/047cd4e7536a54c1a4581d1eeeec2a85/plot_read_fileset.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_read_fileset.ipynb</span></code></a></p> |
357 | </div> | 357 | </div> |
Offset 119, 15 lines modified | Offset 119, 15 lines modified | ||
119 | Found·7·instances·for | 119 | Found·7·instances·for |
120 | SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 | 120 | SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 |
121 | Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading | 121 | Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading |
122 | the·stored·instances·and·3·instances·with·loading | 122 | the·stored·instances·and·3·instances·with·loading |
123 | Original·File-set·still·at·/build/reproducible-path/pydicom-2.3.1/pydicom/data/ | 123 | Original·File-set·still·at·/build/reproducible-path/pydicom-2.3.1/pydicom/data/ |
124 | test_files/dicomdirtests | 124 | test_files/dicomdirtests |
125 | File-set·copied·to·/tmp/tmp | 125 | File-set·copied·to·/tmp/tmpju_k98yb·and·contains·the·following·files: |
126 | ··DICOMDIR | 126 | ··DICOMDIR |
127 | ··PT000000/ST000000/SE000000/IM000000 | 127 | ··PT000000/ST000000/SE000000/IM000000 |
128 | ··PT000000/ST000000/SE000001/IM000000 | 128 | ··PT000000/ST000000/SE000001/IM000000 |
129 | ··PT000000/ST000000/SE000002/IM000000 | 129 | ··PT000000/ST000000/SE000002/IM000000 |
130 | ··PT000000/ST000001/SE000000/IM000000 | 130 | ··PT000000/ST000001/SE000000/IM000000 |
131 | ··PT000000/ST000001/SE000000/IM000001 | 131 | ··PT000000/ST000001/SE000000/IM000001 |
132 | ··PT000000/ST000001/SE000000/IM000002 | 132 | ··PT000000/ST000001/SE000000/IM000002 |
Offset 269, 15 lines modified | Offset 269, 15 lines modified | ||
269 | root·=·Path(new_fileset.path) | 269 | root·=·Path(new_fileset.path) |
270 | print(f"File-set·copied·to·{root}·and·contains·the·following·files:") | 270 | print(f"File-set·copied·to·{root}·and·contains·the·following·files:") |
271 | #·Note·how·the·original·File-set·directory·layout·has·been·changed·to | 271 | #·Note·how·the·original·File-set·directory·layout·has·been·changed·to |
272 | #···the·structure·used·by·pydicom | 272 | #···the·structure·used·by·pydicom |
273 | for·p·in·sorted(root.glob('**/*')): | 273 | for·p·in·sorted(root.glob('**/*')): |
274 | ····if·p.is_file(): | 274 | ····if·p.is_file(): |
275 | ········print(f"··{p.relative_to(root)}") | 275 | ········print(f"··{p.relative_to(root)}") |
276 | Total·running·time·of·the·script:·(·0·minutes·0. | 276 | Total·running·time·of·the·script:·(·0·minutes·0.999·seconds) |
277 | Download_Python_source_code:_plot_read_fileset.py | 277 | Download_Python_source_code:_plot_read_fileset.py |
278 | Download_Jupyter_notebook:_plot_read_fileset.ipynb | 278 | Download_Jupyter_notebook:_plot_read_fileset.ipynb |
279 | Gallery_generated_by_Sphinx-Gallery | 279 | Gallery_generated_by_Sphinx-Gallery |
280 | Previous·Next | 280 | Previous·Next |
281 | =============================================================================== | 281 | =============================================================================== |
282 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 282 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
283 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 283 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 152, 15 lines modified | Offset 152, 15 lines modified | ||
152 | <span·class="n">filename</span>·<span·class="o">=</span>·<a·href="../../reference/generated/pydicom.data.get_testdata_file.html#pydicom.data.get_testdata_file"·title="pydicom.data.get_testdata_file"·class="sphx-glr-backref-module-pydicom-data·sphx-glr-backref-type-py-function"><span·class="n">get_testdata_file</span></a><span·class="p">(</span><span·class="s1">'rtplan.dcm'</span><span·class="p">)</span> | 152 | <span·class="n">filename</span>·<span·class="o">=</span>·<a·href="../../reference/generated/pydicom.data.get_testdata_file.html#pydicom.data.get_testdata_file"·title="pydicom.data.get_testdata_file"·class="sphx-glr-backref-module-pydicom-data·sphx-glr-backref-type-py-function"><span·class="n">get_testdata_file</span></a><span·class="p">(</span><span·class="s1">'rtplan.dcm'</span><span·class="p">)</span> |
153 | <span·class="n">dataset</span>·<span·class="o">=</span>·<span·class="n">pydicom</span><span·class="o">.</span><span·class="n">dcmread</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">)</span> | 153 | <span·class="n">dataset</span>·<span·class="o">=</span>·<span·class="n">pydicom</span><span·class="o">.</span><span·class="n">dcmread</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">)</span> |
154 | <span·class="nb">print</span><span·class="p">(</span><span·class="n">list_beams</span><span·class="p">(</span><span·class="n">dataset</span><span·class="p">))</span> | 154 | <span·class="nb">print</span><span·class="p">(</span><span·class="n">list_beams</span><span·class="p">(</span><span·class="n">dataset</span><span·class="p">))</span> |
155 | </pre></div> | 155 | </pre></div> |
156 | </div> | 156 | </div> |
157 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0. | 157 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.140·seconds)</p> |
158 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-rtplan-py"> | 158 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-rtplan-py"> |
159 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 159 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
160 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/c01783b47dfa1aa1100193cafc705c66/plot_read_rtplan.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_read_rtplan.py</span></code></a></p> | 160 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/c01783b47dfa1aa1100193cafc705c66/plot_read_rtplan.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_read_rtplan.py</span></code></a></p> |
161 | </div> | 161 | </div> |
162 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 162 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
163 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/eab5c62f7aa13a9dba28bb72f29156aa/plot_read_rtplan.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_read_rtplan.ipynb</span></code></a></p> | 163 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/eab5c62f7aa13a9dba28bb72f29156aa/plot_read_rtplan.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_read_rtplan.ipynb</span></code></a></p> |
164 | </div> | 164 | </div> |
Offset 72, 15 lines modified | Offset 72, 15 lines modified | ||
72 | ·······················································ssd=SSD)) | 72 | ·······················································ssd=SSD)) |
73 | ····return·"\n".join(lines) | 73 | ····return·"\n".join(lines) |
74 | filename·=·get_testdata_file('rtplan.dcm') | 74 | filename·=·get_testdata_file('rtplan.dcm') |
75 | dataset·=·pydicom.dcmread(filename) | 75 | dataset·=·pydicom.dcmread(filename) |
76 | print(list_beams(dataset)) | 76 | print(list_beams(dataset)) |
77 | Total·running·time·of·the·script:·(·0·minutes·0. | 77 | Total·running·time·of·the·script:·(·0·minutes·0.140·seconds) |
78 | Download_Python_source_code:_plot_read_rtplan.py | 78 | Download_Python_source_code:_plot_read_rtplan.py |
79 | Download_Jupyter_notebook:_plot_read_rtplan.ipynb | 79 | Download_Jupyter_notebook:_plot_read_rtplan.ipynb |
80 | Gallery_generated_by_Sphinx-Gallery | 80 | Gallery_generated_by_Sphinx-Gallery |
81 | Previous·Next | 81 | Previous·Next |
82 | =============================================================================== | 82 | =============================================================================== |
83 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 83 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
84 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 84 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 121, 40 lines modified | Offset 121, 40 lines modified | ||
121 | <span·id="sphx-glr-auto-examples-input-output-plot-write-dicom-py"></span><h1>Write·DICOM·data<a·class="headerlink"·href="#write-dicom-data"·title="Permalink·to·this·heading">¶</a></h1> | 121 | <span·id="sphx-glr-auto-examples-input-output-plot-write-dicom-py"></span><h1>Write·DICOM·data<a·class="headerlink"·href="#write-dicom-data"·title="Permalink·to·this·heading">¶</a></h1> |
122 | <p>This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This | 122 | <p>This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This |
123 | example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will | 123 | example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will |
124 | have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.</p> | 124 | have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.</p> |
125 | <p·class="sphx-glr-script-out">Out:</p> | 125 | <p·class="sphx-glr-script-out">Out:</p> |
126 | <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>Setting·file·meta·information... | 126 | <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>Setting·file·meta·information... |
127 | Setting·dataset·values... | 127 | Setting·dataset·values... |
128 | Writing·test·file·/tmp/tmp | 128 | Writing·test·file·/tmp/tmp9fhqf8_w.dcm |
129 | File·saved. | 129 | File·saved. |
130 | Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp | 130 | Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp51z4273q.dcm |
131 | Load·file·/tmp/tmp | 131 | Load·file·/tmp/tmp9fhqf8_w.dcm·... |
132 | Dataset.file_meta·------------------------------- | 132 | Dataset.file_meta·------------------------------- |
133 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 133 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
134 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 134 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
135 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 135 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
136 | ------------------------------------------------- | 136 | ------------------------------------------------- |
137 | (0008,·0023)·Content·Date························DA:·'202 | 137 | (0008,·0023)·Content·Date························DA:·'20240110' |
138 | (0008,·0033)·Content·Time························TM:·' | 138 | (0008,·0033)·Content·Time························TM:·'184602.861925' |
139 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 139 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
140 | (0010,·0020)·Patient·ID··························LO:·'123456' | 140 | (0010,·0020)·Patient·ID··························LO:·'123456' |
141 | Remove·file·/tmp/tmp | 141 | Remove·file·/tmp/tmp9fhqf8_w.dcm·... |
142 | Load·file·/tmp/tmp | 142 | Load·file·/tmp/tmp51z4273q.dcm·... |
143 | Dataset.file_meta·------------------------------- | 143 | Dataset.file_meta·------------------------------- |
144 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 144 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
145 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 145 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
146 | (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian | 146 | (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian |
147 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 147 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
148 | ------------------------------------------------- | 148 | ------------------------------------------------- |
149 | (0008,·0023)·Content·Date························DA:·'202 | 149 | (0008,·0023)·Content·Date························DA:·'20240110' |
150 | (0008,·0033)·Content·Time························TM:·' | 150 | (0008,·0033)·Content·Time························TM:·'184602.861925' |
151 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 151 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
152 | (0010,·0020)·Patient·ID··························LO:·'123456' | 152 | (0010,·0020)·Patient·ID··························LO:·'123456' |
153 | Remove·file·/tmp/tmp | 153 | Remove·file·/tmp/tmp51z4273q.dcm·... |
154 | </pre></div> | 154 | </pre></div> |
155 | </div> | 155 | </div> |
156 | <div·class="line-block"> | 156 | <div·class="line-block"> |
157 | <div·class="line"><br·/></div> | 157 | <div·class="line"><br·/></div> |
158 | </div> | 158 | </div> |
159 | <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="c1">#·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com></span> | 159 | <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="c1">#·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com></span> |
160 | <span·class="c1">#·license·:·MIT</span> | 160 | <span·class="c1">#·license·:·MIT</span> |
Offset 220, 15 lines modified | Offset 220, 15 lines modified | ||
220 | ····<span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span> | 220 | ····<span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span> |
221 | ····<span·class="c1">#·remove·the·created·file</span> | 221 | ····<span·class="c1">#·remove·the·created·file</span> |
222 | ····<span·class="nb">print</span><span·class="p">(</span><span·class="s1">'Remove·file·</span><span·class="si">{}</span><span·class="s1">·...'</span><span·class="o">.</span><span·class="n">format</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">))</span> | 222 | ····<span·class="nb">print</span><span·class="p">(</span><span·class="s1">'Remove·file·</span><span·class="si">{}</span><span·class="s1">·...'</span><span·class="o">.</span><span·class="n">format</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">))</span> |
223 | ····<span·class="n">os</span><span·class="o">.</span><span·class="n">remove</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">)</span> | 223 | ····<span·class="n">os</span><span·class="o">.</span><span·class="n">remove</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">)</span> |
224 | </pre></div> | 224 | </pre></div> |
225 | </div> | 225 | </div> |
226 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0. | 226 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.343·seconds)</p> |
227 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-write-dicom-py"> | 227 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-write-dicom-py"> |
228 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 228 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
229 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/7e3f494a513e0ac1eb4963e47afed114/plot_write_dicom.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_write_dicom.py</span></code></a></p> | 229 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/7e3f494a513e0ac1eb4963e47afed114/plot_write_dicom.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_write_dicom.py</span></code></a></p> |
230 | </div> | 230 | </div> |
231 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 231 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
232 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/44c3a2647e8572357403f4dc998e2848/plot_write_dicom.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_write_dicom.ipynb</span></code></a></p> | 232 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/44c3a2647e8572357403f4dc998e2848/plot_write_dicom.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_write_dicom.ipynb</span></code></a></p> |
233 | </div> | 233 | </div> |
Offset 47, 40 lines modified | Offset 47, 40 lines modified | ||
47 | ******·Write·DICOM·data¶·****** | 47 | ******·Write·DICOM·data¶·****** |
48 | This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This | 48 | This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This |
49 | example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will | 49 | example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will |
50 | have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements. | 50 | have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements. |
51 | Out: | 51 | Out: |
52 | Setting·file·meta·information... | 52 | Setting·file·meta·information... |
53 | Setting·dataset·values... | 53 | Setting·dataset·values... |
54 | Writing·test·file·/tmp/tmp | 54 | Writing·test·file·/tmp/tmp9fhqf8_w.dcm |
55 | File·saved. | 55 | File·saved. |
56 | Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp | 56 | Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp51z4273q.dcm |
57 | Load·file·/tmp/tmp | 57 | Load·file·/tmp/tmp9fhqf8_w.dcm·... |
58 | Dataset.file_meta·------------------------------- | 58 | Dataset.file_meta·------------------------------- |
59 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 59 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
60 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 60 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
61 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 61 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
62 | ------------------------------------------------- | 62 | ------------------------------------------------- |
63 | (0008,·0023)·Content·Date························DA:·'202 | 63 | (0008,·0023)·Content·Date························DA:·'20240110' |
64 | (0008,·0033)·Content·Time························TM:·' | 64 | (0008,·0033)·Content·Time························TM:·'184602.861925' |
65 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 65 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
66 | (0010,·0020)·Patient·ID··························LO:·'123456' | 66 | (0010,·0020)·Patient·ID··························LO:·'123456' |
67 | Remove·file·/tmp/tmp | 67 | Remove·file·/tmp/tmp9fhqf8_w.dcm·... |
68 | Load·file·/tmp/tmp | 68 | Load·file·/tmp/tmp51z4273q.dcm·... |
69 | Dataset.file_meta·------------------------------- | 69 | Dataset.file_meta·------------------------------- |
70 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 70 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
71 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 71 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
72 | (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian | 72 | (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian |
73 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 73 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
74 | ------------------------------------------------- | 74 | ------------------------------------------------- |
75 | (0008,·0023)·Content·Date························DA:·'202 | 75 | (0008,·0023)·Content·Date························DA:·'20240110' |
76 | (0008,·0033)·Content·Time························TM:·' | 76 | (0008,·0033)·Content·Time························TM:·'184602.861925' |
77 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 77 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
78 | (0010,·0020)·Patient·ID··························LO:·'123456' | 78 | (0010,·0020)·Patient·ID··························LO:·'123456' |
79 | Remove·file·/tmp/tmp | 79 | Remove·file·/tmp/tmp51z4273q.dcm·... |
80 | #·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com> | 80 | #·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com> |
81 | #·license·:·MIT | 81 | #·license·:·MIT |
82 | import·datetime | 82 | import·datetime |
83 | import·os | 83 | import·os |
84 | import·tempfile | 84 | import·tempfile |
Offset 140, 15 lines modified | Offset 140, 15 lines modified | ||
140 | ····print('Load·file·{}·...'.format(filename)) | 140 | ····print('Load·file·{}·...'.format(filename)) |
141 | ····ds·=·pydicom.dcmread(filename) | 141 | ····ds·=·pydicom.dcmread(filename) |
142 | ····print(ds) | 142 | ····print(ds) |
143 | ····#·remove·the·created·file | 143 | ····#·remove·the·created·file |
144 | ····print('Remove·file·{}·...'.format(filename)) | 144 | ····print('Remove·file·{}·...'.format(filename)) |
145 | ····os.remove(filename) | 145 | ····os.remove(filename) |
146 | Total·running·time·of·the·script:·(·0·minutes·0. | 146 | Total·running·time·of·the·script:·(·0·minutes·0.343·seconds) |
147 | Download_Python_source_code:_plot_write_dicom.py | 147 | Download_Python_source_code:_plot_write_dicom.py |
148 | Download_Jupyter_notebook:_plot_write_dicom.ipynb | 148 | Download_Jupyter_notebook:_plot_write_dicom.ipynb |
149 | Gallery_generated_by_Sphinx-Gallery | 149 | Gallery_generated_by_Sphinx-Gallery |
150 | Previous·Next | 150 | Previous·Next |
151 | =============================================================================== | 151 | =============================================================================== |
152 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 152 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
153 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 153 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 99, 39 lines modified | Offset 99, 39 lines modified | ||
99 | ··<hr/> | 99 | ··<hr/> |
100 | </div> | 100 | </div> |
101 | ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article"> | 101 | ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article"> |
102 | ···········<div·itemprop="articleBody"> | 102 | ···········<div·itemprop="articleBody"> |
103 | ············· | 103 | ············· |
104 | ··<section·id="computation-times"> | 104 | ··<section·id="computation-times"> |
105 | <span·id="sphx-glr-auto-examples-input-output-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·heading">¶</a></h1> | 105 | <span·id="sphx-glr-auto-examples-input-output-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·heading">¶</a></h1> |
106 | <p><strong>00:0 | 106 | <p><strong>00:02.189</strong>·total·execution·time·for·<strong>auto_examples_input_output</strong>·files:</p> |
107 | <table·class="docutils·align-default"> | 107 | <table·class="docutils·align-default"> |
108 | <tbody> | 108 | <tbody> |
109 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_read_fileset.html#sphx-glr-auto-examples-input-output-plot-read-fileset-py"><span·class="std·std-ref">Read·a·DICOM·File-set</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_fileset.py</span></code>)</p></td> | 109 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_read_fileset.html#sphx-glr-auto-examples-input-output-plot-read-fileset-py"><span·class="std·std-ref">Read·a·DICOM·File-set</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_fileset.py</span></code>)</p></td> |
110 | <td><p>00:00. | 110 | <td><p>00:00.999</p></td> |
111 | <td><p>0.0·MB</p></td> | 111 | <td><p>0.0·MB</p></td> |
112 | </tr> | 112 | </tr> |
113 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_read_dicom.html#sphx-glr-auto-examples-input-output-plot-read-dicom-py"><span·class="std·std-ref">Read·a·Dataset·and·plot·Pixel·Data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom.py</span></code>)</p></td> | 113 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_read_dicom.html#sphx-glr-auto-examples-input-output-plot-read-dicom-py"><span·class="std·std-ref">Read·a·Dataset·and·plot·Pixel·Data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom.py</span></code>)</p></td> |
114 | <td><p>00:00. | 114 | <td><p>00:00.565</p></td> |
115 | <td><p>0.0·MB</p></td> | 115 | <td><p>0.0·MB</p></td> |
116 | </tr> | 116 | </tr> |
117 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_ | 117 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_write_dicom.html#sphx-glr-auto-examples-input-output-plot-write-dicom-py"><span·class="std·std-ref">Write·DICOM·data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_write_dicom.py</span></code>)</p></td> |
118 | <td><p>00:00. | 118 | <td><p>00:00.343</p></td> |
119 | <td><p>0.0·MB</p></td> | 119 | <td><p>0.0·MB</p></td> |
120 | </tr> | 120 | </tr> |
121 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_ | 121 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_read_rtplan.html#sphx-glr-auto-examples-input-output-plot-read-rtplan-py"><span·class="std·std-ref">Read·RTPLAN·DICOM·and·list·information</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_rtplan.py</span></code>)</p></td> |
122 | <td><p>00:00. | 122 | <td><p>00:00.140</p></td> |
123 | <td><p>0.0·MB</p></td> | 123 | <td><p>0.0·MB</p></td> |
124 | </tr> | 124 | </tr> |
125 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_ | 125 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_read_dicom_directory.html#sphx-glr-auto-examples-input-output-plot-read-dicom-directory-py"><span·class="std·std-ref">Read·a·DICOMDIR·dataset</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom_directory.py</span></code>)</p></td> |
126 | <td><p>00:00.0 | 126 | <td><p>00:00.073</p></td> |
127 | <td><p>0.0·MB</p></td> | 127 | <td><p>0.0·MB</p></td> |
128 | </tr> | 128 | </tr> |
129 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_r | 129 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_printing_dataset.html#sphx-glr-auto-examples-input-output-plot-printing-dataset-py"><span·class="std·std-ref">Format·the·output·of·the·data·set·printing</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_printing_dataset.py</span></code>)</p></td> |
130 | <td><p>00:00.0 | 130 | <td><p>00:00.070</p></td> |
131 | <td><p>0.0·MB</p></td> | 131 | <td><p>0.0·MB</p></td> |
132 | </tr> | 132 | </tr> |
133 | </tbody> | 133 | </tbody> |
134 | </table> | 134 | </table> |
135 | </section> | 135 | </section> |
Offset 30, 19 lines modified | Offset 30, 19 lines modified | ||
30 | ····*·Contributing_to_pydicom | 30 | ····*·Contributing_to_pydicom |
31 | ····*·Frequently_asked_questions | 31 | ····*·Frequently_asked_questions |
32 | ····*·Release_notes | 32 | ····*·Release_notes |
33 | ···pydicom | 33 | ···pydicom |
34 | ····*·Computation·times | 34 | ····*·Computation·times |
35 | =============================================================================== | 35 | =============================================================================== |
36 | ******·Computation·times¶·****** | 36 | ******·Computation·times¶·****** |
37 | 00:0 | 37 | 00:02.189·total·execution·time·for·auto_examples_input_output·files: |
38 | Read_a_DICOM_File-set·(plot_read_fileset.py)·················00:00. | 38 | Read_a_DICOM_File-set·(plot_read_fileset.py)·················00:00.999·0.0·MB |
39 | Read_a_Dataset_and_plot_Pixel_Data·(plot_read_dicom.py)······00:00. | 39 | Read_a_Dataset_and_plot_Pixel_Data·(plot_read_dicom.py)······00:00.565·0.0·MB |
40 | Write_DICOM_data·(plot_write_dicom.py)·······················00:00.343·0.0·MB | ||
41 | Read_RTPLAN_DICOM_and_list_information·(plot_read_rtplan.py)·00:00.140·0.0·MB | ||
40 | Read_a_DICOMDIR_dataset·(plot_read_dicom_directory.py)·······00:00.0 | 42 | Read_a_DICOMDIR_dataset·(plot_read_dicom_directory.py)·······00:00.073·0.0·MB |
41 | Format_the_output_of_the_data_set_printing···················00:00.0 | 43 | Format_the_output_of_the_data_set_printing···················00:00.070·0.0·MB |
42 | (plot_printing_dataset.py) | 44 | (plot_printing_dataset.py) |
43 | Write_DICOM_data·(plot_write_dicom.py)·······················00:00.014·0.0·MB | ||
44 | Read_RTPLAN_DICOM_and_list_information·(plot_read_rtplan.py)·00:00.006·0.0·MB | ||
45 | =============================================================================== | 45 | =============================================================================== |
46 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 46 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
47 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 47 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 165, 15 lines modified | Offset 165, 15 lines modified | ||
165 | <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestOne</span>·<span·class="o">=</span>·<span·class="mi">42</span> | 165 | <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestOne</span>·<span·class="o">=</span>·<span·class="mi">42</span> |
166 | <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestTwo</span>·<span·class="o">=</span>·<span·class="s1">'12345'</span> | 166 | <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestTwo</span>·<span·class="o">=</span>·<span·class="s1">'12345'</span> |
167 | <a·href="../../reference/generated/pydicom.uid.UID.html#pydicom.uid.UID"·title="pydicom.uid.UID"·class="sphx-glr-backref-module-pydicom-uid·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">ds</span><span·class="o">.</span><span·class="n">TestThree</span></a>·<span·class="o">=</span>·<span·class="s1">'1.2.3.4.5'</span> | 167 | <a·href="../../reference/generated/pydicom.uid.UID.html#pydicom.uid.UID"·title="pydicom.uid.UID"·class="sphx-glr-backref-module-pydicom-uid·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">ds</span><span·class="o">.</span><span·class="n">TestThree</span></a>·<span·class="o">=</span>·<span·class="s1">'1.2.3.4.5'</span> |
168 | <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="o">.</span><span·class="n">top</span><span·class="p">())</span> | 168 | <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="o">.</span><span·class="n">top</span><span·class="p">())</span> |
169 | </pre></div> | 169 | </pre></div> |
170 | </div> | 170 | </div> |
171 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.0 | 171 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.032·seconds)</p> |
172 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-add-dict-entries-py"> | 172 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-add-dict-entries-py"> |
173 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 173 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
174 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/b09c4a9ac1947f91877d5cbf389a2b2e/plot_add_dict_entries.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_add_dict_entries.py</span></code></a></p> | 174 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/b09c4a9ac1947f91877d5cbf389a2b2e/plot_add_dict_entries.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_add_dict_entries.py</span></code></a></p> |
175 | </div> | 175 | </div> |
176 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 176 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
177 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/54be3151aaa6e43d8757c4eaeb691675/plot_add_dict_entries.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_add_dict_entries.ipynb</span></code></a></p> | 177 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/54be3151aaa6e43d8757c4eaeb691675/plot_add_dict_entries.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_add_dict_entries.ipynb</span></code></a></p> |
178 | </div> | 178 | </div> |
Offset 83, 15 lines modified | Offset 83, 15 lines modified | ||
83 | ds·=·Dataset()··#·or·could·get·one·from·dcmread,·etc | 83 | ds·=·Dataset()··#·or·could·get·one·from·dcmread,·etc |
84 | ds.TestOne·=·42 | 84 | ds.TestOne·=·42 |
85 | ds.TestTwo·=·'12345' | 85 | ds.TestTwo·=·'12345' |
86 | ds.TestThree·=·'1.2.3.4.5' | 86 | ds.TestThree·=·'1.2.3.4.5' |
87 | print(ds.top()) | 87 | print(ds.top()) |
88 | Total·running·time·of·the·script:·(·0·minutes·0.0 | 88 | Total·running·time·of·the·script:·(·0·minutes·0.032·seconds) |
89 | Download_Python_source_code:_plot_add_dict_entries.py | 89 | Download_Python_source_code:_plot_add_dict_entries.py |
90 | Download_Jupyter_notebook:_plot_add_dict_entries.ipynb | 90 | Download_Jupyter_notebook:_plot_add_dict_entries.ipynb |
91 | Gallery_generated_by_Sphinx-Gallery | 91 | Gallery_generated_by_Sphinx-Gallery |
92 | Previous·Next | 92 | Previous·Next |
93 | =============================================================================== | 93 | =============================================================================== |
94 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 94 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
95 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 95 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 201, 15 lines modified | Offset 201, 15 lines modified | ||
201 | </pre></div> | 201 | </pre></div> |
202 | </div> | 202 | </div> |
203 | <p·class="sphx-glr-script-out">Out:</p> | 203 | <p·class="sphx-glr-script-out">Out:</p> |
204 | <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>(0010,·0020)·Patient·ID··························LO:·'id' | 204 | <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>(0010,·0020)·Patient·ID··························LO:·'id' |
205 | (0010,·0030)·Patient's·Birth·Date················DA:·'19000101' | 205 | (0010,·0030)·Patient's·Birth·Date················DA:·'19000101' |
206 | </pre></div> | 206 | </pre></div> |
207 | </div> | 207 | </div> |
208 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0. | 208 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.689·seconds)</p> |
209 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-anonymize-py"> | 209 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-anonymize-py"> |
210 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 210 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
211 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/cdbc1bcbae90b5ff13fdc9b19581006e/plot_anonymize.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_anonymize.py</span></code></a></p> | 211 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/cdbc1bcbae90b5ff13fdc9b19581006e/plot_anonymize.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_anonymize.py</span></code></a></p> |
212 | </div> | 212 | </div> |
213 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 213 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
214 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/de1da3fdb216bd623a5999980785f16d/plot_anonymize.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_anonymize.ipynb</span></code></a></p> | 214 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/de1da3fdb216bd623a5999980785f16d/plot_anonymize.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_anonymize.ipynb</span></code></a></p> |
215 | </div> | 215 | </div> |
Offset 103, 15 lines modified | Offset 103, 15 lines modified | ||
103 | ····print(dataset.data_element(de)) | 103 | ····print(dataset.data_element(de)) |
104 | output_filename·=·tempfile.NamedTemporaryFile().name | 104 | output_filename·=·tempfile.NamedTemporaryFile().name |
105 | dataset.save_as(output_filename) | 105 | dataset.save_as(output_filename) |
106 | Out: | 106 | Out: |
107 | (0010,·0020)·Patient·ID··························LO:·'id' | 107 | (0010,·0020)·Patient·ID··························LO:·'id' |
108 | (0010,·0030)·Patient's·Birth·Date················DA:·'19000101' | 108 | (0010,·0030)·Patient's·Birth·Date················DA:·'19000101' |
109 | Total·running·time·of·the·script:·(·0·minutes·0. | 109 | Total·running·time·of·the·script:·(·0·minutes·0.689·seconds) |
110 | Download_Python_source_code:_plot_anonymize.py | 110 | Download_Python_source_code:_plot_anonymize.py |
111 | Download_Jupyter_notebook:_plot_anonymize.ipynb | 111 | Download_Jupyter_notebook:_plot_anonymize.ipynb |
112 | Gallery_generated_by_Sphinx-Gallery | 112 | Gallery_generated_by_Sphinx-Gallery |
113 | Previous·Next | 113 | Previous·Next |
114 | =============================================================================== | 114 | =============================================================================== |
115 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 115 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
Offset 154, 15 lines modified | Offset 154, 15 lines modified | ||
154 | <span·class="n">block_ds3</span>·<span·class="o">=</span>·<span·class="n">Dataset</span><span·class="p">()</span> | 154 | <span·class="n">block_ds3</span>·<span·class="o">=</span>·<span·class="n">Dataset</span><span·class="p">()</span> |
155 | <span·class="c1">#·add·data·elements·to·it·as·above·and·don't·forget·to·update·Number·of·Blocks</span> | 155 | <span·class="c1">#·add·data·elements·to·it·as·above·and·don't·forget·to·update·Number·of·Blocks</span> |
156 | <span·class="c1">#·data·element</span> | 156 | <span·class="c1">#·data·element</span> |
157 | <a·href="../../reference/generated/pydicom.multival.MultiValue.html#pydicom.multival.MultiValue.append"·title="pydicom.multival.MultiValue.append"·class="sphx-glr-backref-module-pydicom-multival·sphx-glr-backref-type-py-method"><span·class="n">beam0</span><span·class="o">.</span><span·class="n">BlockSequence</span><span·class="o">.</span><span·class="n">append</span></a><span·class="p">(</span><span·class="n">block_ds3</span><span·class="p">)</span> | 157 | <a·href="../../reference/generated/pydicom.multival.MultiValue.html#pydicom.multival.MultiValue.append"·title="pydicom.multival.MultiValue.append"·class="sphx-glr-backref-module-pydicom-multival·sphx-glr-backref-type-py-method"><span·class="n">beam0</span><span·class="o">.</span><span·class="n">BlockSequence</span><span·class="o">.</span><span·class="n">append</span></a><span·class="p">(</span><span·class="n">block_ds3</span><span·class="p">)</span> |
158 | <span·class="k">del</span>·<span·class="n">plan_ds</span><span·class="o">.</span><span·class="n">BeamSequence</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">]</span><span·class="o">.</span><span·class="n">BlockSequence</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span> | 158 | <span·class="k">del</span>·<span·class="n">plan_ds</span><span·class="o">.</span><span·class="n">BeamSequence</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">]</span><span·class="o">.</span><span·class="n">BlockSequence</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span> |
159 | </pre></div> | 159 | </pre></div> |
160 | </div> | 160 | </div> |
161 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.0 | 161 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.078·seconds)</p> |
162 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-sequences-py"> | 162 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-sequences-py"> |
163 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 163 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
164 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/03374c3fd4f2559d0f640a6dc7cdb0f1/plot_sequences.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_sequences.py</span></code></a></p> | 164 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/03374c3fd4f2559d0f640a6dc7cdb0f1/plot_sequences.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_sequences.py</span></code></a></p> |
165 | </div> | 165 | </div> |
166 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 166 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
167 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/c91ebf577cb200394bfdaa77257bd52d/plot_sequences.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_sequences.ipynb</span></code></a></p> | 167 | <p><a·class="reference·download·internal"·download=""·href="../../_downloads/c91ebf577cb200394bfdaa77257bd52d/plot_sequences.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_sequences.ipynb</span></code></a></p> |
168 | </div> | 168 | </div> |
Offset 76, 15 lines modified | Offset 76, 15 lines modified | ||
76 | #·create·a·new·data·set | 76 | #·create·a·new·data·set |
77 | block_ds3·=·Dataset() | 77 | block_ds3·=·Dataset() |
78 | #·add·data·elements·to·it·as·above·and·don't·forget·to·update·Number·of·Blocks | 78 | #·add·data·elements·to·it·as·above·and·don't·forget·to·update·Number·of·Blocks |
79 | #·data·element | 79 | #·data·element |
80 | beam0.BlockSequence.append(block_ds3) | 80 | beam0.BlockSequence.append(block_ds3) |
81 | del·plan_ds.BeamSequence[0].BlockSequence[1] | 81 | del·plan_ds.BeamSequence[0].BlockSequence[1] |
82 | Total·running·time·of·the·script:·(·0·minutes·0.0 | 82 | Total·running·time·of·the·script:·(·0·minutes·0.078·seconds) |
83 | Download_Python_source_code:_plot_sequences.py | 83 | Download_Python_source_code:_plot_sequences.py |
84 | Download_Jupyter_notebook:_plot_sequences.ipynb | 84 | Download_Jupyter_notebook:_plot_sequences.ipynb |
85 | Gallery_generated_by_Sphinx-Gallery | 85 | Gallery_generated_by_Sphinx-Gallery |
86 | Previous·Next | 86 | Previous·Next |
87 | =============================================================================== | 87 | =============================================================================== |
88 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 88 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
89 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 89 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 99, 27 lines modified | Offset 99, 27 lines modified | ||
99 | ··<hr/> | 99 | ··<hr/> |
100 | </div> | 100 | </div> |
101 | ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article"> | 101 | ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article"> |
102 | ···········<div·itemprop="articleBody"> | 102 | ···········<div·itemprop="articleBody"> |
103 | ············· | 103 | ············· |
104 | ··<section·id="computation-times"> | 104 | ··<section·id="computation-times"> |
105 | <span·id="sphx-glr-auto-examples-metadata-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·heading">¶</a></h1> | 105 | <span·id="sphx-glr-auto-examples-metadata-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·heading">¶</a></h1> |
106 | <p><strong>00:00. | 106 | <p><strong>00:00.799</strong>·total·execution·time·for·<strong>auto_examples_metadata_processing</strong>·files:</p> |
107 | <table·class="docutils·align-default"> | 107 | <table·class="docutils·align-default"> |
108 | <tbody> | 108 | <tbody> |
109 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_anonymize.html#sphx-glr-auto-examples-metadata-processing-plot-anonymize-py"><span·class="std·std-ref">Anonymize·DICOM·data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_anonymize.py</span></code>)</p></td> | 109 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_anonymize.html#sphx-glr-auto-examples-metadata-processing-plot-anonymize-py"><span·class="std·std-ref">Anonymize·DICOM·data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_anonymize.py</span></code>)</p></td> |
110 | <td><p>00:00. | 110 | <td><p>00:00.689</p></td> |
111 | <td><p>0.0·MB</p></td> | 111 | <td><p>0.0·MB</p></td> |
112 | </tr> | 112 | </tr> |
113 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_sequences.html#sphx-glr-auto-examples-metadata-processing-plot-sequences-py"><span·class="std·std-ref">Working·with·sequences</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_sequences.py</span></code>)</p></td> | 113 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_sequences.html#sphx-glr-auto-examples-metadata-processing-plot-sequences-py"><span·class="std·std-ref">Working·with·sequences</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_sequences.py</span></code>)</p></td> |
114 | <td><p>00:00.0 | 114 | <td><p>00:00.078</p></td> |
115 | <td><p>0.0·MB</p></td> | 115 | <td><p>0.0·MB</p></td> |
116 | </tr> | 116 | </tr> |
117 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_add_dict_entries.html#sphx-glr-auto-examples-metadata-processing-plot-add-dict-entries-py"><span·class="std·std-ref">Add·dictionary·items·in·the·standard·DICOM·dictionary</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_add_dict_entries.py</span></code>)</p></td> | 117 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_add_dict_entries.html#sphx-glr-auto-examples-metadata-processing-plot-add-dict-entries-py"><span·class="std·std-ref">Add·dictionary·items·in·the·standard·DICOM·dictionary</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_add_dict_entries.py</span></code>)</p></td> |
118 | <td><p>00:00.0 | 118 | <td><p>00:00.032</p></td> |
119 | <td><p>0.0·MB</p></td> | 119 | <td><p>0.0·MB</p></td> |
120 | </tr> | 120 | </tr> |
121 | </tbody> | 121 | </tbody> |
122 | </table> | 122 | </table> |
123 | </section> | 123 | </section> |
Offset 30, 16 lines modified | Offset 30, 16 lines modified | ||
30 | ····*·Contributing_to_pydicom | 30 | ····*·Contributing_to_pydicom |
31 | ····*·Frequently_asked_questions | 31 | ····*·Frequently_asked_questions |
32 | ····*·Release_notes | 32 | ····*·Release_notes |
33 | ···pydicom | 33 | ···pydicom |
34 | ····*·Computation·times | 34 | ····*·Computation·times |
35 | =============================================================================== | 35 | =============================================================================== |
36 | ******·Computation·times¶·****** | 36 | ******·Computation·times¶·****** |
37 | 00:00. | 37 | 00:00.799·total·execution·time·for·auto_examples_metadata_processing·files: |
38 | Anonymize_DICOM_data·(plot_anonymize.py)···············00:00. | 38 | Anonymize_DICOM_data·(plot_anonymize.py)···············00:00.689·0.0·MB |
39 | Working_with_sequences·(plot_sequences.py)·············00:00.0 | 39 | Working_with_sequences·(plot_sequences.py)·············00:00.078·0.0·MB |
40 | Add_dictionary_items_in_the_standard_DICOM_dictionary··00:00.0 | 40 | Add_dictionary_items_in_the_standard_DICOM_dictionary··00:00.032·0.0·MB |
41 | (plot_add_dict_entries.py) | 41 | (plot_add_dict_entries.py) |
42 | =============================================================================== | 42 | =============================================================================== |
43 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 43 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
44 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 44 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 821, 15 lines modified | Offset 821, 15 lines modified | ||
821 | <span·class="n">diff</span>·<span·class="o">=</span>·<span·class="n">difflib</span><span·class="o">.</span><span·class="n">Differ</span><span·class="p">()</span> | 821 | <span·class="n">diff</span>·<span·class="o">=</span>·<span·class="n">difflib</span><span·class="o">.</span><span·class="n">Differ</span><span·class="p">()</span> |
822 | <span·class="k">for</span>·<span·class="n">line</span>·<span·class="ow">in</span>·<span·class="n">diff</span><span·class="o">.</span><span·class="n">compare</span><span·class="p">(</span><span·class="n">rep</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">],</span>·<span·class="n">rep</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]):</span> | 822 | <span·class="k">for</span>·<span·class="n">line</span>·<span·class="ow">in</span>·<span·class="n">diff</span><span·class="o">.</span><span·class="n">compare</span><span·class="p">(</span><span·class="n">rep</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">],</span>·<span·class="n">rep</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]):</span> |
823 | ····<span·class="k">if</span>·<span·class="n">line</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">]</span>·<span·class="o">!=</span>·<span·class="s2">"?"</span><span·class="p">:</span> | 823 | ····<span·class="k">if</span>·<span·class="n">line</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">]</span>·<span·class="o">!=</span>·<span·class="s2">"?"</span><span·class="p">:</span> |
824 | ········<span·class="nb">print</span><span·class="p">(</span><span·class="n">line</span><span·class="p">)</span> | 824 | ········<span·class="nb">print</span><span·class="p">(</span><span·class="n">line</span><span·class="p">)</span> |
825 | </pre></div> | 825 | </pre></div> |
826 | </div> | 826 | </div> |
827 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes·· | 827 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··2.307·seconds)</p> |
828 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-plot-dicom-difference-py"> | 828 | <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-plot-dicom-difference-py"> |
829 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 829 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
830 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/a3b4852d291f27302d2926716393406e/plot_dicom_difference.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_dicom_difference.py</span></code></a></p> | 830 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/a3b4852d291f27302d2926716393406e/plot_dicom_difference.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_dicom_difference.py</span></code></a></p> |
831 | </div> | 831 | </div> |
832 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 832 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
833 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/41ba38a2ae2d88170db68a78dcabe080/plot_dicom_difference.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_dicom_difference.ipynb</span></code></a></p> | 833 | <p><a·class="reference·download·internal"·download=""·href="../_downloads/41ba38a2ae2d88170db68a78dcabe080/plot_dicom_difference.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_dicom_difference.ipynb</span></code></a></p> |
834 | </div> | 834 | </div> |
Offset 759, 15 lines modified | Offset 759, 15 lines modified | ||
759 | ····rep.append(lines) | 759 | ····rep.append(lines) |
760 | diff·=·difflib.Differ() | 760 | diff·=·difflib.Differ() |
761 | for·line·in·diff.compare(rep[0],·rep[1]): | 761 | for·line·in·diff.compare(rep[0],·rep[1]): |
762 | ····if·line[0]·!=·"?": | 762 | ····if·line[0]·!=·"?": |
763 | ········print(line) | 763 | ········print(line) |
764 | Total·running·time·of·the·script:·(·0·minutes· | 764 | Total·running·time·of·the·script:·(·0·minutes·2.307·seconds) |
765 | Download_Python_source_code:_plot_dicom_difference.py | 765 | Download_Python_source_code:_plot_dicom_difference.py |
766 | Download_Jupyter_notebook:_plot_dicom_difference.ipynb | 766 | Download_Jupyter_notebook:_plot_dicom_difference.ipynb |
767 | Gallery_generated_by_Sphinx-Gallery | 767 | Gallery_generated_by_Sphinx-Gallery |
768 | Previous·Next | 768 | Previous·Next |
769 | =============================================================================== | 769 | =============================================================================== |
770 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 770 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
771 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. | 771 | Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs. |
Offset 99, 19 lines modified | Offset 99, 19 lines modified | ||
99 | ··<hr/> | 99 | ··<hr/> |
100 | </div> | 100 | </div> |
101 | ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article"> | 101 | ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article"> |
102 | ···········<div·itemprop="articleBody"> | 102 | ···········<div·itemprop="articleBody"> |
103 | ············· | 103 | ············· |
104 | ··<section·id="computation-times"> | 104 | ··<section·id="computation-times"> |
105 | <span·id="sphx-glr-auto-examples-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·heading">¶</a></h1> | 105 | <span·id="sphx-glr-auto-examples-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·heading">¶</a></h1> |
106 | <p><strong>00:0 | 106 | <p><strong>00:02.307</strong>·total·execution·time·for·<strong>auto_examples</strong>·files:</p> |
107 | <table·class="docutils·align-default"> | 107 | <table·class="docutils·align-default"> |
108 | <tbody> | 108 | <tbody> |
109 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_dicom_difference.html#sphx-glr-auto-examples-plot-dicom-difference-py"><span·class="std·std-ref">Analyse·differences·between·DICOM·files</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_dicom_difference.py</span></code>)</p></td> | 109 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_dicom_difference.html#sphx-glr-auto-examples-plot-dicom-difference-py"><span·class="std·std-ref">Analyse·differences·between·DICOM·files</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_dicom_difference.py</span></code>)</p></td> |
110 | <td><p>00:0 | 110 | <td><p>00:02.307</p></td> |
111 | <td><p>0.0·MB</p></td> | 111 | <td><p>0.0·MB</p></td> |
112 | </tr> | 112 | </tr> |
113 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="dicomtree.html#sphx-glr-auto-examples-dicomtree-py"><span·class="std·std-ref">Show·a·dicom·file·using·hierarchical·tree</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">dicomtree.py</span></code>)</p></td> | 113 | <tr·class="row-even"><td><p><a·class="reference·internal"·href="dicomtree.html#sphx-glr-auto-examples-dicomtree-py"><span·class="std·std-ref">Show·a·dicom·file·using·hierarchical·tree</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">dicomtree.py</span></code>)</p></td> |
114 | <td><p>00:00.000</p></td> | 114 | <td><p>00:00.000</p></td> |
115 | <td><p>0.0·MB</p></td> | 115 | <td><p>0.0·MB</p></td> |
116 | </tr> | 116 | </tr> |
117 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="memory_dataset.html#sphx-glr-auto-examples-memory-dataset-py"><span·class="std·std-ref">Show·working·with·memory-based·dataset</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">memory_dataset.py</span></code>)</p></td> | 117 | <tr·class="row-odd"><td><p><a·class="reference·internal"·href="memory_dataset.html#sphx-glr-auto-examples-memory-dataset-py"><span·class="std·std-ref">Show·working·with·memory-based·dataset</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">memory_dataset.py</span></code>)</p></td> |
Offset 30, 16 lines modified | Offset 30, 16 lines modified | ||
30 | ····*·Contributing_to_pydicom | 30 | ····*·Contributing_to_pydicom |
31 | ····*·Frequently_asked_questions | 31 | ····*·Frequently_asked_questions |
32 | ····*·Release_notes | 32 | ····*·Release_notes |
33 | ···pydicom | 33 | ···pydicom |
34 | ····*·Computation·times | 34 | ····*·Computation·times |
35 | =============================================================================== | 35 | =============================================================================== |
36 | ******·Computation·times¶·****** | 36 | ******·Computation·times¶·****** |
37 | 00:0 | 37 | 00:02.307·total·execution·time·for·auto_examples·files: |
38 | Analyse_differences_between_DICOM_files····················00:0 | 38 | Analyse_differences_between_DICOM_files····················00:02.307·0.0·MB |
39 | (plot_dicom_difference.py) | 39 | (plot_dicom_difference.py) |
40 | Show_a_dicom_file_using_hierarchical_tree·(dicomtree.py)···00:00.000·0.0·MB | 40 | Show_a_dicom_file_using_hierarchical_tree·(dicomtree.py)···00:00.000·0.0·MB |
41 | Show_working_with_memory-based_dataset·(memory_dataset.py)·00:00.000·0.0·MB | 41 | Show_working_with_memory-based_dataset·(memory_dataset.py)·00:00.000·0.0·MB |
42 | Display_unicode_person_names·(show_charset_name.py)········00:00.000·0.0·MB | 42 | Display_unicode_person_names·(show_charset_name.py)········00:00.000·0.0·MB |
43 | =============================================================================== | 43 | =============================================================================== |
44 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. | 44 | ©·Copyright·2008-2022,·Darcy·Mason·and·pydicom·contributors. |
Offset 447, 15 lines modified | Offset 447, 15 lines modified | ||
447 | ········"back":·[1,·13,·18,·31,·34,·38,·47,·48,·50,·497,·498,·499,·501], | 447 | ········"back":·[1,·13,·18,·31,·34,·38,·47,·48,·50,·497,·498,·499,·501], |
448 | ········"origin":·[1,·9,·18,·22,·24,·26,·32,·39,·40,·41,·47,·50,·86,·129,·159,·168,·179,·212,·434,·437,·438,·440,·442,·497,·498,·499,·504,·507], | 448 | ········"origin":·[1,·9,·18,·22,·24,·26,·32,·39,·40,·41,·47,·50,·86,·129,·159,·168,·179,·212,·434,·437,·438,·440,·442,·497,·498,·499,·504,·507], |
449 | ········"pixeldata":·[1,·31,·36,·39,·48,·50,·135,·137,·138,·216,·476,·488,·489,·504], | 449 | ········"pixeldata":·[1,·31,·36,·39,·48,·50,·135,·137,·138,·216,·476,·488,·489,·504], |
450 | ········"tobyt":·[1,·48,·507], | 450 | ········"tobyt":·[1,·48,·507], |
451 | ········"updat":·[1,·9,·14,·16,·18,·24,·25,·31,·45,·47,·106,·107,·108,·109,·129,·166,·168,·177,·178,·179,·192,·476,·478,·479,·481,·482,·484,·485,·486,·487,·489,·491,·492,·494,·495,·497,·498,·501,·503,·504,·506], | 451 | ········"updat":·[1,·9,·14,·16,·18,·24,·25,·31,·45,·47,·106,·107,·108,·109,·129,·166,·168,·177,·178,·179,·192,·476,·478,·479,·481,·482,·484,·485,·486,·487,·489,·491,·492,·494,·495,·497,·498,·501,·503,·504,·506], |
452 | ········"regard":·1, | 452 | ········"regard":·1, |
453 | ········"given":·[1,·10,·22,·24,·25,·26,·27,·40,·48,·49,·74,·76,·126,·127,·129,·132,·134,·157,·159,·166,·168,·179,·202,·212,·214,·215,·216,·437,·438,·442,·462,·468,·476,·491,·494,·499,·501,·503,·504,·506,·507], | 453 | ········"given":·[1,·10,·22,·24,·25,·26,·27,·40,·48,·49,·74,·76,·126,·127,·129,·132,·134,·157,·159,·166,·168,·179,·202,·212,·214,·215,·216,·437,·438,·442,·462,·468,·476,·491,·494,·499,·501,·503,·504,·506,·507], |
454 | ········" | 454 | ········"160":·[1,·4], |
455 | ········"plot_downsize_imag":·[1,·4], | 455 | ········"plot_downsize_imag":·[1,·4], |
456 | ········"illustr":·[2,·3,·5,·6,·7,·14,·16,·18,·35,·36], | 456 | ········"illustr":·[2,·3,·5,·6,·7,·14,·16,·18,·35,·36], |
457 | ········"us":·[2,·4,·5,·7,·9,·11,·14,·15,·18,·19,·22,·23,·24,·25,·26,·27,·29,·31,·32,·34,·35,·36,·37,·40,·41,·42,·44,·45,·47,·48,·49,·65,·74,·75,·76,·77,·81,·82,·85,·91,·92,·93,·94,·95,·99,·100,·104,·107,·109,·126,·127,·129,·130,·134,·137,·138,·140,·148,·150,·153,·155,·157,·158,·160,·161,·162,·166,·168,·169,·170,·176,·177,·178,·179,·194,·195,·196,·201,·202,·203,·204,·205,·210,·211,·212,·213,·214,·215,·216,·217,·220,·222,·434,·437,·442,·446,·448,·449,·450,·451,·452,·453,·456,·457,·458,·459,·461,·462,·463,·464,·466,·467,·468,·476,·477,·478,·479,·480,·482,·483,·484,·485,·486,·487,·488,·489,·491,·492,·494,·495,·496,·497,·498,·499,·500,·501,·505,·507], | 457 | ········"us":·[2,·4,·5,·7,·9,·11,·14,·15,·18,·19,·22,·23,·24,·25,·26,·27,·29,·31,·32,·34,·35,·36,·37,·40,·41,·42,·44,·45,·47,·48,·49,·65,·74,·75,·76,·77,·81,·82,·85,·91,·92,·93,·94,·95,·99,·100,·104,·107,·109,·126,·127,·129,·130,·134,·137,·138,·140,·148,·150,·153,·155,·157,·158,·160,·161,·162,·166,·168,·169,·170,·176,·177,·178,·179,·194,·195,·196,·201,·202,·203,·204,·205,·210,·211,·212,·213,·214,·215,·216,·217,·220,·222,·434,·437,·442,·446,·448,·449,·450,·451,·452,·453,·456,·457,·458,·459,·461,·462,·463,·464,·466,·467,·468,·476,·477,·478,·479,·480,·482,·483,·484,·485,·486,·487,·488,·489,·491,·492,·494,·495,·496,·497,·498,·499,·500,·501,·505,·507], |
458 | ········"matplotlib":·[2,·3,·7,·42,·507], | 458 | ········"matplotlib":·[2,·3,·7,·42,·507], |
459 | ········"np":·[2,·3,·202,·203,·204,·205,·206,·207,·208,·212,·214,·215,·216,·468,·504,·507], | 459 | ········"np":·[2,·3,·202,·203,·204,·205,·206,·207,·208,·212,·214,·215,·216,·468,·504,·507], |
460 | ········"pyplot":·[2,·3,·7,·46,·507], | 460 | ········"pyplot":·[2,·3,·7,·46,·507], |
461 | ········"plt":·[2,·3,·7,·46,·507], | 461 | ········"plt":·[2,·3,·7,·46,·507], |
Offset 502, 15 lines modified | Offset 502, 16 lines modified | ||
502 | ········"descript":·[2,·14,·18,·23,·24,·25,·28,·35,·36,·38,·41,·106,·107,·108,·109,·112,·122,·126,·132,·476,·477,·478,·491,·495], | 502 | ········"descript":·[2,·14,·18,·23,·24,·25,·28,·35,·36,·38,·41,·106,·107,·108,·109,·112,·122,·126,·132,·476,·477,·478,·491,·495], |
503 | ········"ch_sourc":·2, | 503 | ········"ch_sourc":·2, |
504 | ········"channelsourcesequ":·[2,·507], | 504 | ········"channelsourcesequ":·[2,·507], |
505 | ········"set_titl":·2, | 505 | ········"set_titl":·2, |
506 | ········"set_xlabel":·2, | 506 | ········"set_xlabel":·2, |
507 | ········"set_ylabel":·[2,·507], | 507 | ········"set_ylabel":·[2,·507], |
508 | ········"tight_layout":·2, | 508 | ········"tight_layout":·2, |
509 | ········"9":·[2,·11,·18,·21,·24,·25,·31,·36,·45,·48,·49,·78,·170,·171,·202,·226,·227,·231,·233,·242,·271,·272,·290,·291,·298,·343,·364,·365,·374,·389,·392,·397,·409,·423,·486,·489,·492,·507], | ||
509 | ········" | 510 | ········"559":·[2,·4], |
510 | ········"plot_waveform":·[2,·4], | 511 | ········"plot_waveform":·[2,·4], |
511 | ········"multipl":·[3,·27,·29,·32,·36,·47,·48,·75,·107,·109,·110,·120,·126,·129,·140,·142,·143,·148,·206,·207,·208,·209,·216,·217,·442,·462,·476,·489,·495,·499], | 512 | ········"multipl":·[3,·27,·29,·32,·36,·47,·48,·75,·107,·109,·110,·120,·126,·129,·140,·142,·143,·148,·206,·207,·208,·209,·216,·217,·442,·462,·476,·489,·495,·499], |
512 | ········"sort":·[3,·9,·129,·501], | 513 | ········"sort":·[3,·9,·129,·501], |
513 | ········"them":·[3,·6,·22,·24,·25,·26,·29,·34,·35,·36,·40,·41,·47,·50,·129,·179,·451,·453,·476,·484,·488,·492,·498,·499,·501,·506], | 514 | ········"them":·[3,·6,·22,·24,·25,·26,·29,·34,·35,·36,·40,·41,·47,·50,·129,·179,·451,·453,·476,·484,·488,·492,·498,·499,·501,·506], |
514 | ········"build":·[3,·7,·8,·9,·94,·95,·134,·476,·485,·497], | 515 | ········"build":·[3,·7,·8,·9,·94,·95,·134,·476,·485,·497], |
515 | ········"reslic":·[3,·4], | 516 | ········"reslic":·[3,·4], |
516 | ········"differ":·[3,·5,·11,·15,·19,·23,·24,·26,·27,·31,·35,·41,·45,·48,·476,·479,·491,·497,·498,·499,·500,·501,·506], | 517 | ········"differ":·[3,·5,·11,·15,·19,·23,·24,·26,·27,·31,·35,·41,·45,·48,·476,·479,·491,·497,·498,·499,·500,·501,·506], |
Offset 551, 15 lines modified | Offset 552, 16 lines modified | ||
551 | ········"a1":·3, | 552 | ········"a1":·3, |
552 | ········"imshow":·[3,·7,·46], | 553 | ········"imshow":·[3,·7,·46], |
553 | ········"set_aspect":·3, | 554 | ········"set_aspect":·3, |
554 | ········"a2":·3, | 555 | ········"a2":·3, |
555 | ········"a3":·3, | 556 | ········"a3":·3, |
556 | ········"t":·[3,·6,·9,·11,·16,·18,·24,·25,·26,·27,·32,·34,·36,·45,·47,·50,·81,·129,·140,·148,·158,·168,·202,·209,·212,·215,·216,·410,·434,·476,·488,·491,·492,·497,·498,·499,·500,·501,·504], | 557 | ········"t":·[3,·6,·9,·11,·16,·18,·24,·25,·26,·27,·32,·34,·36,·45,·47,·50,·81,·129,·140,·148,·158,·168,·202,·209,·212,·215,·216,·410,·434,·476,·488,·491,·492,·497,·498,·499,·500,·501,·504], |
557 | ········"00":·[4,·12,·17,·19,·143], | 558 | ········"00":·[4,·12,·17,·19,·143], |
558 | ········" | 559 | ········"09":·4, |
560 | ········"718":·[4,·18], | ||
559 | ········"execut":·[4,·12,·17,·19,·442,·497,·506], | 561 | ········"execut":·[4,·12,·17,·19,·442,·497,·506], |
560 | ········"auto_examples_image_process":·4, | 562 | ········"auto_examples_image_process":·4, |
561 | ········"plot":·[4,·5,·12,·476,·488,·507], | 563 | ········"plot":·[4,·5,·12,·476,·488,·507], |
562 | ········"waveform":·[4,·5,·35,·42,·129,·166,·469,·473,·476,·492,·502], | 564 | ········"waveform":·[4,·5,·35,·42,·129,·166,·469,·473,·476,·492,·502], |
563 | ········"mb":·[4,·12,·17,·19,·157,·468], | 565 | ········"mb":·[4,·12,·17,·19,·157,·468], |
564 | ········"downsiz":·[4,·5,·48], | 566 | ········"downsiz":·[4,·5,·48], |
565 | ········"mri":·[4,·5,·48], | 567 | ········"mri":·[4,·5,·48], |
Offset 608, 15 lines modified | Offset 610, 15 lines modified | ||
608 | ········"dont_print":·6, | 610 | ········"dont_print":·6, |
609 | ········"indent_str":·6, | 611 | ········"indent_str":·6, |
610 | ········"next_indent_str":·6, | 612 | ········"next_indent_str":·6, |
611 | ········"sequence_item":·6, | 613 | ········"sequence_item":·6, |
612 | ········"repr_valu":·6, | 614 | ········"repr_valu":·6, |
613 | ········"repr":·[6,·36,·98,·476,·491], | 615 | ········"repr":·[6,·36,·98,·476,·491], |
614 | ········"50":·[6,·40,·48,·49,·140,·216,·225,·311,·318,·336,·410], | 616 | ········"50":·[6,·40,·48,·49,·140,·216,·225,·311,·318,·336,·410], |
615 | ········"0 | 617 | ········"070":·[6,·12], |
616 | ········"plot_printing_dataset":·[6,·12], | 618 | ········"plot_printing_dataset":·[6,·12], |
617 | ········"some":·[7,·11,·13,·15,·24,·26,·34,·36,·37,·41,·43,·45,·46,·47,·48,·49,·50,·52,·73,·86,·97,·129,·130,·134,·148,·162,·179,·437,·438,·446,·476,·477,·478,·480,·482,·485,·486,·498,·499,·500,·501,·503,·505,·506], | 619 | ········"some":·[7,·11,·13,·15,·24,·26,·34,·36,·37,·41,·43,·45,·46,·47,·48,·49,·50,·52,·73,·86,·97,·129,·130,·134,·148,·162,·179,·437,·438,·446,·476,·477,·478,·480,·482,·485,·486,·498,·499,·500,·501,·503,·505,·506], |
618 | ········"path":·[7,·8,·9,·22,·24,·25,·26,·29,·34,·39,·40,·44,·94,·95,·102,·103,·104,·105,·130,·134,·148,·157,·160,·167,·168,·171,·199,·476,·492,·497,·498,·499,·501,·504,·506], | 620 | ········"path":·[7,·8,·9,·22,·24,·25,·26,·29,·34,·39,·40,·44,·94,·95,·102,·103,·104,·105,·130,·134,·148,·157,·160,·167,·168,·171,·199,·476,·492,·497,·498,·499,·501,·504,·506], |
619 | ········"reproduc":·[7,·8,·9,·94,·95,·497], | 621 | ········"reproduc":·[7,·8,·9,·94,·95,·497], |
620 | ········"test_fil":·[7,·8,·9,·22,·24,·498,·499,·501], | 622 | ········"test_fil":·[7,·8,·9,·22,·24,·498,·499,·501], |
621 | ········"ct_small":·[7,·9,·18,·24,·26,·31,·36,·39,·41,·46,·48,·129,·157,·168,·498,·499,·500,·501,·504], | 623 | ········"ct_small":·[7,·9,·18,·24,·26,·31,·36,·39,·41,·46,·48,·129,·157,·168,·498,·499,·500,·501,·504], |
622 | ········"ct1":·[7,·18,·24,·26,·498,·499], | 624 | ········"ct1":·[7,·18,·24,·26,·498,·499], |
Offset 639, 15 lines modified | Offset 641, 15 lines modified | ||
639 | ········"exist":·[7,·29,·31,·34,·36,·37,·45,·50,·107,·129,·159,·168,·179,·192,·496,·497,·498,·504], | 641 | ········"exist":·[7,·29,·31,·34,·36,·37,·45,·50,·107,·129,·159,·168,·179,·192,·496,·497,·498,·504], |
640 | ········"want":·[7,·9,·13,·22,·23,·24,·37,·50,·170,·497,·498,·499,·500,·501,·503,·506], | 642 | ········"want":·[7,·9,·13,·22,·23,·24,·37,·50,·170,·497,·498,·499,·500,·501,·503,·506], |
641 | ········"default":·[7,·22,·24,·27,·29,·37,·40,·46,·47,·48,·52,·73,·77,·78,·79,·81,·82,·85,·86,·87,·88,·89,·90,·91,·93,·96,·98,·99,·100,·101,·102,·103,·104,·105,·107,·126,·129,·130,·133,·134,·137,·139,·145,·148,·155,·157,·158,·160,·168,·170,·179,·192,·202,·206,·207,·208,·209,·212,·214,·215,·216,·434,·441,·442,·451,·453,·457,·468,·476,·480,·482,·483,·485,·487,·488,·489,·490,·491,·492,·494,·498,·499,·500,·501,·504,·506], | 643 | ········"default":·[7,·22,·24,·27,·29,·37,·40,·46,·47,·48,·52,·73,·77,·78,·79,·81,·82,·85,·86,·87,·88,·89,·90,·91,·93,·96,·98,·99,·100,·101,·102,·103,·104,·105,·107,·126,·129,·130,·133,·134,·137,·139,·145,·148,·155,·157,·158,·160,·168,·170,·179,·192,·202,·206,·207,·208,·209,·212,·214,·215,·216,·434,·441,·442,·451,·453,·457,·468,·476,·480,·482,·483,·485,·487,·488,·489,·490,·491,·492,·494,·498,·499,·500,·501,·504,·506], |
642 | ········"miss":·[7,·14,·29,·45,·104,·129,·133,·148,·157,·163,·177,·179,·192,·202,·203,·212,·214,·215,·216,·476,·484,·485,·488,·489,·495,·497,·499,·501,·503], | 644 | ········"miss":·[7,·14,·29,·45,·104,·129,·133,·148,·157,·163,·177,·179,·192,·202,·203,·212,·214,·215,·216,·476,·484,·485,·488,·489,·495,·497,·499,·501,·503], |
643 | ········"cmap":·[7,·46], | 645 | ········"cmap":·[7,·46], |
644 | ········"cm":·[7,·10,·46], | 646 | ········"cm":·[7,·10,·46], |
645 | ········"grai":·7, | 647 | ········"grai":·7, |
646 | ········" | 648 | ········"565":·[7,·12], |
647 | ········"plot_read_dicom":·[7,·12], | 649 | ········"plot_read_dicom":·[7,·12], |
648 | ········"fileset":·[8,·9,·134,·157,·473,·476,·492,·494,·495], | 650 | ········"fileset":·[8,·9,·134,·157,·473,·476,·492,·494,·495], |
649 | ········"much":·[8,·36,·45,·446,·476,·479,·482,·483,·491], | 651 | ········"much":·[8,·36,·45,·446,·476,·479,·482,·483,·491], |
650 | ········"better":·[8,·34,·476,·480,·482,·486], | 652 | ········"better":·[8,·34,·476,·480,·482,·486], |
651 | ········"wai":·[8,·36,·37,·38,·44,·45,·47,·48,·50,·129,·476,·482,·496,·499,·500,·501,·503,·505], | 653 | ········"wai":·[8,·36,·37,·38,·44,·45,·47,·48,·50,·129,·476,·482,·496,·499,·500,·501,·503,·505], |
652 | ········"allow":·[8,·15,·22,·24,·25,·29,·32,·36,·37,·41,·45,·47,·52,·85,·129,·131,·166,·168,·216,·476,·478,·479,·488,·491,·492,·494,·495,·497,·503,·506], | 654 | ········"allow":·[8,·15,·22,·24,·25,·29,·32,·36,·37,·41,·45,·47,·52,·85,·129,·131,·166,·168,·216,·476,·478,·479,·488,·491,·492,·494,·495,·497,·503,·506], |
653 | ········"modif":·[8,·130,·497,·499,·501], | 655 | ········"modif":·[8,·130,·497,·499,·501], |
Offset 744, 15 lines modified | Offset 746, 15 lines modified | ||
744 | ········"referencedfileid":·8, | 746 | ········"referencedfileid":·8, |
745 | ········"make":·[8,·21,·32,·36,·37,·38,·41,·43,·45,·50,·129,·130,·434,·446,·476,·479,·488,·494,·499,·501,·503,·506], | 747 | ········"make":·[8,·21,·32,·36,·37,·38,·41,·43,·45,·50,·129,·130,·434,·446,·476,·479,·488,·494,·499,·501,·503,·506], |
746 | ········"alwai":·[8,·24,·26,·40,·48,·118,·126,·132,·157,·212,·216,·476,·488,·492,·494], | 748 | ········"alwai":·[8,·24,·26,·40,·48,·118,·126,·132,·157,·212,·216,·476,·488,·492,·494], |
747 | ········"ee":·8, | 749 | ········"ee":·8, |
748 | ········"vm":·[8,·14,·27,·36,·59,·106,·107,·108,·109,·110,·116,·117,·120,·126,·476,·480,·488,·491,·499], | 750 | ········"vm":·[8,·14,·27,·36,·59,·106,·107,·108,·109,·110,·116,·117,·120,·126,·476,·480,·488,·491,·499], |
749 | ········"fspath":·8, | 751 | ········"fspath":·8, |
750 | ········"correspond":·[8,·9,·15,·29,·31,·34,·36,·47,·48,·49,·73,·104,·110,·111,·112,·113,·114,·115,·117,·118,·119,·120,·121,·122,·123,·125,·126,·129,·132,·137,·138,·148,·149,·159,·167,·168,·169,·202,·203,·216,·220,·468,·476,·494,·497,·498,·501,·504,·507], | 752 | ········"correspond":·[8,·9,·15,·29,·31,·34,·36,·47,·48,·49,·73,·104,·110,·111,·112,·113,·114,·115,·117,·118,·119,·120,·121,·122,·123,·125,·126,·129,·132,·137,·138,·148,·149,·159,·167,·168,·169,·202,·203,·216,·220,·468,·476,·494,·497,·498,·501,·504,·507], |
751 | ········"0 | 753 | ········"073":·[8,·12], |
752 | ········"plot_read_dicom_directori":·[8,·12], | 754 | ········"plot_read_dicom_directori":·[8,·12], |
753 | ········"interact":·[9,·36,·38,·41,·129,·501], | 755 | ········"interact":·[9,·36,·38,·41,·129,·501], |
754 | ········"pydicom_test":·[9,·501], | 756 | ········"pydicom_test":·[9,·501], |
755 | ········"276":·[9,·501], | 757 | ········"276":·[9,·501], |
756 | ········"7230010":·[9,·501], | 758 | ········"7230010":·[9,·501], |
757 | ········"31906":·[9,·501], | 759 | ········"31906":·[9,·501], |
758 | ········"1359940846":·[9,·501], | 760 | ········"1359940846":·[9,·501], |
Offset 774, 15 lines modified | Offset 776, 15 lines modified | ||
774 | ········"18148":·9, | 776 | ········"18148":·9, |
775 | ········"118":·9, | 777 | ········"118":·9, |
776 | ········"photometricinterpret":·[9,·31,·39,·212,·214,·216,·501,·504], | 778 | ········"photometricinterpret":·[9,·31,·39,·212,·214,·216,·501,·504], |
777 | ········"monochrome1":·[9,·31,·32,·212,·214,·501], | 779 | ········"monochrome1":·[9,·31,·32,·212,·214,·501], |
778 | ········"without":·[9,·36,·40,·49,·104,·129,·150,·161,·174,·216,·448,·459,·461,·462,·476,·478,·486,·488,·492,·495,·499,·501,·503,·506], | 780 | ········"without":·[9,·36,·40,·49,·104,·129,·150,·161,·174,·216,·448,·459,·461,·462,·476,·478,·486,·488,·492,·495,·499,·501,·503,·506], |
779 | ········"still":·[9,·39,·41,·476,·482,·483,·485,·486,·487,·489,·497,·499,·500,·501,·504], | 781 | ········"still":·[9,·39,·41,·476,·482,·483,·485,·486,·487,·489,·497,·499,·500,·501,·504], |
780 | ········"tmp":·[9,·11,·501], | 782 | ········"tmp":·[9,·11,·501], |
781 | ········"tmp | 783 | ········"tmpju_k98yb":·9, |
782 | ········"follow":·[9,·23,·24,·25,·26,·29,·32,·34,·36,·37,·39,·40,·43,·45,·48,·126,·129,·133,·140,·141,·143,·148,·168,·176,·179,·192,·215,·442,·476,·489,·492,·494,·497,·498,·499,·501,·505,·506,·507], | 784 | ········"follow":·[9,·23,·24,·25,·26,·29,·32,·34,·36,·37,·39,·40,·43,·45,·48,·126,·129,·133,·140,·141,·143,·148,·168,·176,·179,·192,·215,·442,·476,·489,·492,·494,·497,·498,·499,·501,·505,·506,·507], |
783 | ········"pt000000":·[9,·501], | 785 | ········"pt000000":·[9,·501], |
784 | ········"st000000":·[9,·501], | 786 | ········"st000000":·[9,·501], |
785 | ········"se000000":·[9,·501], | 787 | ········"se000000":·[9,·501], |
786 | ········"im000000":·[9,·501], | 788 | ········"im000000":·[9,·501], |
787 | ········"se000001":·[9,·501], | 789 | ········"se000001":·[9,·501], |
788 | ········"se000002":·[9,·501], | 790 | ········"se000002":·[9,·501], |
Offset 881, 15 lines modified | Offset 883, 15 lines modified | ||
881 | ········"new_fileset":·9, | 883 | ········"new_fileset":·9, |
882 | ········"norigin":·9, | 884 | ········"norigin":·9, |
883 | ········"note":·[9,·14,·16,·22,·24,·25,·26,·34,·37,·39,·40,·46,·79,·90,·107,·109,·129,·132,·139,·140,·144,·145,·157,·162,·163,·175,·185,·201,·204,·205,·207,·208,·216,·435,·437,·438,·439,·442,·444,·446,·479,·498,·499,·500,·504,·505,·507], | 885 | ········"note":·[9,·14,·16,·22,·24,·25,·26,·34,·37,·39,·40,·46,·79,·90,·107,·109,·129,·132,·139,·140,·144,·145,·157,·162,·163,·175,·185,·201,·204,·205,·207,·208,·216,·435,·437,·438,·439,·442,·444,·446,·479,·498,·499,·500,·504,·505,·507], |
884 | ········"layout":·[9,·168], | 886 | ········"layout":·[9,·168], |
885 | ········"been":·[9,·23,·24,·32,·39,·40,·41,·45,·48,·79,·86,·88,·129,·137,·138,·140,·141,·159,·167,·168,·179,·192,·216,·436,·476,·479,·486,·491,·494,·495,·497,·498,·499,·500], | 887 | ········"been":·[9,·23,·24,·32,·39,·40,·41,·45,·48,·79,·86,·88,·129,·137,·138,·140,·141,·159,·167,·168,·179,·192,·216,·436,·476,·479,·486,·491,·494,·495,·497,·498,·499,·500], |
886 | ········"is_fil":·[9,·501], | 888 | ········"is_fil":·[9,·501], |
887 | ········"relative_to":·9, | 889 | ········"relative_to":·9, |
888 | ········" | 890 | ········"999":·[9,·12,·24,·25,·36,·476,·489], |
889 | ········"plot_read_fileset":·[9,·12], | 891 | ········"plot_read_fileset":·[9,·12], |
890 | ········"basic":·[10,·24,·25,·26,·35,·39,·46,·49,·50,·68,·129,·137,·138,·140,·141,·142,·143,·476,·489,·501,·502,·504,·507], | 892 | ········"basic":·[10,·24,·25,·26,·35,·39,·46,·49,·50,·68,·129,·137,·138,·140,·141,·142,·143,·476,·489,·501,·502,·504,·507], |
891 | ········"info":·[10,·18,·129,·154,·155,·158,·162,·174,·175,·176,·410,·476,·479,·480,·482,·484], | 893 | ········"info":·[10,·18,·129,·154,·155,·158,·162,·174,·175,·176,·410,·476,·479,·480,·482,·484], |
892 | ········"beam":·[10,·16,·22,·24,·25,·26,·45,·476,·482], | 894 | ········"beam":·[10,·16,·22,·24,·25,·26,·45,·476,·482], |
893 | ········"gantri":·[10,·18,·24,·26], | 895 | ········"gantri":·[10,·18,·24,·26], |
Max diff block lines reached; 9627/18613 bytes (51.72%) of diff not shown. |