Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·8 | 1 | ·86b14ea434ea830cb4537fa7ed8d9fa7·965760·doc·optional·python-pydicom-doc_2.4.3-2_all.deb |
2 | ·42afc9c9828e12132c03052800d20d1e·1122044·python·optional·python3-pydicom_2.4.3-2_all.deb | 2 | ·42afc9c9828e12132c03052800d20d1e·1122044·python·optional·python3-pydicom_2.4.3-2_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2025-04-14·21:30:28.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2025-04-14·21:30:28.000000·debian-binary |
2 | -rw-r--r--···0········0········0····303 | 2 | -rw-r--r--···0········0········0····30376·2025-04-14·21:30:28.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···935 | 3 | -rw-r--r--···0········0········0···935192·2025-04-14·21:30:28.000000·data.tar.xz |
Offset 166, 15 lines modified | Offset 166, 15 lines modified | ||
166 | ····#·print·the·image·information·given·in·the·dataset | 166 | ····#·print·the·image·information·given·in·the·dataset |
167 | ····print('The·information·of·the·data·set·after·downsampling:·\n') | 167 | ····print('The·information·of·the·data·set·after·downsampling:·\n') |
168 | ····print(ds) | 168 | ····print(ds) |
169 | ..·rst-class::·sphx-glr-timing | 169 | ..·rst-class::·sphx-glr-timing |
170 | ···**Total·running·time·of·the·script:**·(0·minutes·0.00 | 170 | ···**Total·running·time·of·the·script:**·(0·minutes·0.009·seconds) |
171 | ..·_sphx_glr_download_auto_examples_image_processing_plot_downsize_image.py: | 171 | ..·_sphx_glr_download_auto_examples_image_processing_plot_downsize_image.py: |
172 | ..·only::·html | 172 | ..·only::·html |
173 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 173 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
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·0. | 86 | ···**Total·running·time·of·the·script:**·(0·minutes·0.483·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 |
89 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 89 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 99, 15 lines modified | Offset 99, 15 lines modified | ||
99 | ········Modality=MR·-·3·SOP·Instances | 99 | ········Modality=MR·-·3·SOP·Instances |
100 | ········Modality=MR·-·7·SOP·Instances | 100 | ········Modality=MR·-·7·SOP·Instances |
101 | ····Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 | 101 | ····Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 |
102 | ····Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading·the·stored·instances·and·3·instances·with·loading | 102 | ····Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading·the·stored·instances·and·3·instances·with·loading |
103 | ····Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/test_files/dicomdirtests | 103 | ····Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/test_files/dicomdirtests |
104 | ····File-set·copied·to·/tmp/tmp | 104 | ····File-set·copied·to·/tmp/tmprubrwawj·and·contains·the·following·files: |
105 | ······DICOMDIR | 105 | ······DICOMDIR |
106 | ······PT000000/ST000000/SE000000/IM000000 | 106 | ······PT000000/ST000000/SE000000/IM000000 |
107 | ······PT000000/ST000000/SE000001/IM000000 | 107 | ······PT000000/ST000000/SE000001/IM000000 |
108 | ······PT000000/ST000000/SE000002/IM000000 | 108 | ······PT000000/ST000000/SE000002/IM000000 |
109 | ······PT000000/ST000001/SE000000/IM000000 | 109 | ······PT000000/ST000001/SE000000/IM000000 |
110 | ······PT000000/ST000001/SE000000/IM000001 | 110 | ······PT000000/ST000001/SE000000/IM000001 |
111 | ······PT000000/ST000001/SE000000/IM000002 | 111 | ······PT000000/ST000001/SE000000/IM000002 |
Offset 263, 15 lines modified | Offset 263, 15 lines modified | ||
263 | ····for·p·in·sorted(root.glob('**/*')): | 263 | ····for·p·in·sorted(root.glob('**/*')): |
264 | ········if·p.is_file(): | 264 | ········if·p.is_file(): |
265 | ············print(f"··{p.relative_to(root)}") | 265 | ············print(f"··{p.relative_to(root)}") |
266 | ..·rst-class::·sphx-glr-timing | 266 | ..·rst-class::·sphx-glr-timing |
267 | ···**Total·running·time·of·the·script:**·(0·minutes·0.1 | 267 | ···**Total·running·time·of·the·script:**·(0·minutes·0.181·seconds) |
268 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_fileset.py: | 268 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_fileset.py: |
269 | ..·only::·html | 269 | ..·only::·html |
270 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 270 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ····filename·=·get_testdata_file('rtplan.dcm') | 73 | ····filename·=·get_testdata_file('rtplan.dcm') |
74 | ····dataset·=·pydicom.dcmread(filename) | 74 | ····dataset·=·pydicom.dcmread(filename) |
75 | ····print(list_beams(dataset)) | 75 | ····print(list_beams(dataset)) |
76 | ..·rst-class::·sphx-glr-timing | 76 | ..·rst-class::·sphx-glr-timing |
77 | ···**Total·running·time·of·the·script:**·(0·minutes·0.00 | 77 | ···**Total·running·time·of·the·script:**·(0·minutes·0.003·seconds) |
78 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_rtplan.py: | 78 | ..·_sphx_glr_download_auto_examples_input_output_plot_read_rtplan.py: |
79 | ..·only::·html | 79 | ..·only::·html |
80 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 80 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 33, 40 lines modified | Offset 33, 40 lines modified | ||
33 | ..·rst-class::·sphx-glr-script-out | 33 | ..·rst-class::·sphx-glr-script-out |
34 | ·..·code-block::·none | 34 | ·..·code-block::·none |
35 | ····Setting·file·meta·information... | 35 | ····Setting·file·meta·information... |
36 | ····Setting·dataset·values... | 36 | ····Setting·dataset·values... |
37 | ····Writing·test·file·/tmp/tmp | 37 | ····Writing·test·file·/tmp/tmpli6msh3q.dcm |
38 | ····File·saved. | 38 | ····File·saved. |
39 | ····Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp | 39 | ····Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpyrypxtg3.dcm |
40 | ····Load·file·/tmp/tmp | 40 | ····Load·file·/tmp/tmpli6msh3q.dcm·... |
41 | ····Dataset.file_meta·------------------------------- | 41 | ····Dataset.file_meta·------------------------------- |
42 | ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 42 | ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
43 | ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 43 | ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
44 | ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 44 | ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
45 | ····------------------------------------------------- | 45 | ····------------------------------------------------- |
46 | ····(0008,·0023)·Content·Date························DA:·'202 | 46 | ····(0008,·0023)·Content·Date························DA:·'20260812' |
47 | ····(0008,·0033)·Content·Time························TM:·' | 47 | ····(0008,·0033)·Content·Time························TM:·'104629.132382' |
48 | ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 48 | ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
49 | ····(0010,·0020)·Patient·ID··························LO:·'123456' | 49 | ····(0010,·0020)·Patient·ID··························LO:·'123456' |
50 | ····Remove·file·/tmp/tmp | 50 | ····Remove·file·/tmp/tmpli6msh3q.dcm·... |
51 | ····Load·file·/tmp/tmp | 51 | ····Load·file·/tmp/tmpyrypxtg3.dcm·... |
52 | ····Dataset.file_meta·------------------------------- | 52 | ····Dataset.file_meta·------------------------------- |
53 | ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 53 | ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
54 | ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 54 | ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
55 | ····(0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian | 55 | ····(0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian |
56 | ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 56 | ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
57 | ····------------------------------------------------- | 57 | ····------------------------------------------------- |
58 | ····(0008,·0023)·Content·Date························DA:·'202 | 58 | ····(0008,·0023)·Content·Date························DA:·'20260812' |
59 | ····(0008,·0033)·Content·Time························TM:·' | 59 | ····(0008,·0033)·Content·Time························TM:·'104629.132382' |
60 | ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 60 | ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
61 | ····(0010,·0020)·Patient·ID··························LO:·'123456' | 61 | ····(0010,·0020)·Patient·ID··························LO:·'123456' |
62 | ····Remove·file·/tmp/tmp | 62 | ····Remove·file·/tmp/tmpyrypxtg3.dcm·... |
63 | | | 63 | | |
Offset 140, 15 lines modified | Offset 140, 15 lines modified | ||
140 | ········#·remove·the·created·file | 140 | ········#·remove·the·created·file |
141 | ········print('Remove·file·{}·...'.format(filename)) | 141 | ········print('Remove·file·{}·...'.format(filename)) |
142 | ········os.remove(filename) | 142 | ········os.remove(filename) |
143 | ..·rst-class::·sphx-glr-timing | 143 | ..·rst-class::·sphx-glr-timing |
144 | ···**Total·running·time·of·the·script:**·(0·minutes·0.00 | 144 | ···**Total·running·time·of·the·script:**·(0·minutes·0.006·seconds) |
145 | ..·_sphx_glr_download_auto_examples_input_output_plot_write_dicom.py: | 145 | ..·_sphx_glr_download_auto_examples_input_output_plot_write_dicom.py: |
146 | ..·only::·html | 146 | ..·only::·html |
147 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 147 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 745, 15 lines modified | Offset 745, 15 lines modified | ||
745 | ····for·line·in·diff.compare(rep[0],·rep[1]): | 745 | ····for·line·in·diff.compare(rep[0],·rep[1]): |
746 | ········if·line[0]·!=·"?": | 746 | ········if·line[0]·!=·"?": |
747 | ············print(line) | 747 | ············print(line) |
748 | ..·rst-class::·sphx-glr-timing | 748 | ..·rst-class::·sphx-glr-timing |
749 | ···**Total·running·time·of·the·script:**·(0·minutes·0. | 749 | ···**Total·running·time·of·the·script:**·(0·minutes·0.174·seconds) |
750 | ..·_sphx_glr_download_auto_examples_plot_dicom_difference.py: | 750 | ..·_sphx_glr_download_auto_examples_plot_dicom_difference.py: |
751 | ..·only::·html | 751 | ..·only::·html |
752 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example | 752 | ··..·container::·sphx-glr-footer·sphx-glr-footer-example |
Offset 244, 15 lines modified | Offset 244, 15 lines modified | ||
244 | <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> | 244 | <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> |
245 | <span·class="c1">#·print·the·image·information·given·in·the·dataset</span> | 245 | <span·class="c1">#·print·the·image·information·given·in·the·dataset</span> |
246 | <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> | 246 | <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> |
247 | <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span> | 247 | <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span> |
248 | </pre></div> | 248 | </pre></div> |
249 | </div> | 249 | </div> |
250 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.00 | 250 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.009·seconds)</p> |
251 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-downsize-image-py"> | 251 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-downsize-image-py"> |
252 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 252 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
253 | <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> | 253 | <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 | </div> | 254 | </div> |
255 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 255 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
256 | <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> | 256 | <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> |
257 | </div> | 257 | </div> |
Offset 157, 15 lines modified | Offset 157, 15 lines modified | ||
157 | ds.PixelData·=·data_downsampling.tobytes() | 157 | ds.PixelData·=·data_downsampling.tobytes() |
158 | #·update·the·information·regarding·the·shape·of·the·data·array | 158 | #·update·the·information·regarding·the·shape·of·the·data·array |
159 | ds.Rows,·ds.Columns·=·data_downsampling.shape | 159 | ds.Rows,·ds.Columns·=·data_downsampling.shape |
160 | #·print·the·image·information·given·in·the·dataset | 160 | #·print·the·image·information·given·in·the·dataset |
161 | print('The·information·of·the·data·set·after·downsampling:·\n') | 161 | print('The·information·of·the·data·set·after·downsampling:·\n') |
162 | print(ds) | 162 | print(ds) |
163 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.00 | 163 | T\x8To\x8ot\x8ta\x8al\x8l·r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x8e_\x8x_\x8t |
169 | =============================================================================== | 169 | =============================================================================== |
170 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. | 170 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. |
Offset 161, 15 lines modified | Offset 161, 15 lines modified | ||
161 | ····<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> | 161 | ····<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> |
162 | ····<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> | 162 | ····<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> |
163 | <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> | 163 | <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> |
164 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> | 164 | <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span> |
165 | </pre></div> | 165 | </pre></div> |
166 | </div> | 166 | </div> |
167 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 167 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.483·seconds)</p> |
168 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-waveforms-py"> | 168 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-waveforms-py"> |
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> |
172 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 172 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
173 | <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> | 173 | <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> |
174 | </div> | 174 | </div> |
Offset 73, 15 lines modified | Offset 73, 15 lines modified | ||
73 | ····ax.plot(x,·arr[...,·ch_idx]) | 73 | ····ax.plot(x,·arr[...,·ch_idx]) |
74 | ····ax.set_title(f"{mplx_label}:·{ch_source}") | 74 | ····ax.set_title(f"{mplx_label}:·{ch_source}") |
75 | ····ax.set_xlabel(f"({x_units})") | 75 | ····ax.set_xlabel(f"({x_units})") |
76 | ····ax.set_ylabel(f"({y_units})") | 76 | ····ax.set_ylabel(f"({y_units})") |
77 | fig.tight_layout(pad=1) | 77 | fig.tight_layout(pad=1) |
78 | plt.show() | 78 | plt.show() |
79 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0. | 79 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.483·seconds) |
80 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8w_\x8a_\x8v_\x8e_\x8f_\x8o_\x8r_\x8m_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 80 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x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x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 83 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
84 | _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t | 84 | _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t |
85 | =============================================================================== | 85 | =============================================================================== |
86 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. | 86 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. |
Offset 189, 15 lines modified | Offset 189, 15 lines modified | ||
189 | ····Modality=MR·-·3·SOP·Instances | 189 | ····Modality=MR·-·3·SOP·Instances |
190 | ····Modality=MR·-·7·SOP·Instances | 190 | ····Modality=MR·-·7·SOP·Instances |
191 | Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 | 191 | Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 |
192 | Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading·the·stored·instances·and·3·instances·with·loading | 192 | Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading·the·stored·instances·and·3·instances·with·loading |
193 | Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/test_files/dicomdirtests | 193 | Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/test_files/dicomdirtests |
194 | File-set·copied·to·/tmp/tmp | 194 | File-set·copied·to·/tmp/tmprubrwawj·and·contains·the·following·files: |
195 | ··DICOMDIR | 195 | ··DICOMDIR |
196 | ··PT000000/ST000000/SE000000/IM000000 | 196 | ··PT000000/ST000000/SE000000/IM000000 |
197 | ··PT000000/ST000000/SE000001/IM000000 | 197 | ··PT000000/ST000000/SE000001/IM000000 |
198 | ··PT000000/ST000000/SE000002/IM000000 | 198 | ··PT000000/ST000000/SE000002/IM000000 |
199 | ··PT000000/ST000001/SE000000/IM000000 | 199 | ··PT000000/ST000001/SE000000/IM000000 |
200 | ··PT000000/ST000001/SE000000/IM000001 | 200 | ··PT000000/ST000001/SE000000/IM000001 |
201 | ··PT000000/ST000001/SE000000/IM000002 | 201 | ··PT000000/ST000001/SE000000/IM000002 |
Offset 345, 15 lines modified | Offset 345, 15 lines modified | ||
345 | <span·class="c1">#·Note·how·the·original·File-set·directory·layout·has·been·changed·to</span> | 345 | <span·class="c1">#·Note·how·the·original·File-set·directory·layout·has·been·changed·to</span> |
346 | <span·class="c1">#···the·structure·used·by·pydicom</span> | 346 | <span·class="c1">#···the·structure·used·by·pydicom</span> |
347 | <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> | 347 | <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> |
348 | ····<span·class="k">if</span>·<span·class="n">p</span><span·class="o">.</span><span·class="n">is_file</span><span·class="p">():</span> | 348 | ····<span·class="k">if</span>·<span·class="n">p</span><span·class="o">.</span><span·class="n">is_file</span><span·class="p">():</span> |
349 | ········<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> | 349 | ········<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> |
350 | </pre></div> | 350 | </pre></div> |
351 | </div> | 351 | </div> |
352 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.1 | 352 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.181·seconds)</p> |
353 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-fileset-py"> | 353 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-fileset-py"> |
354 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 354 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
355 | <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> | 355 | <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 | </div> | 356 | </div> |
357 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 357 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
358 | <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> | 358 | <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> |
359 | </div> | 359 | </div> |
Offset 108, 15 lines modified | Offset 108, 15 lines modified | ||
108 | Found·7·instances·for | 108 | Found·7·instances·for |
109 | SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 | 109 | SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118 |
110 | Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading | 110 | Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading |
111 | the·stored·instances·and·3·instances·with·loading | 111 | the·stored·instances·and·3·instances·with·loading |
112 | Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/ | 112 | Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/ |
113 | test_files/dicomdirtests | 113 | test_files/dicomdirtests |
114 | File-set·copied·to·/tmp/tmp | 114 | File-set·copied·to·/tmp/tmprubrwawj·and·contains·the·following·files: |
115 | ··DICOMDIR | 115 | ··DICOMDIR |
116 | ··PT000000/ST000000/SE000000/IM000000 | 116 | ··PT000000/ST000000/SE000000/IM000000 |
117 | ··PT000000/ST000000/SE000001/IM000000 | 117 | ··PT000000/ST000000/SE000001/IM000000 |
118 | ··PT000000/ST000000/SE000002/IM000000 | 118 | ··PT000000/ST000000/SE000002/IM000000 |
119 | ··PT000000/ST000001/SE000000/IM000000 | 119 | ··PT000000/ST000001/SE000000/IM000000 |
120 | ··PT000000/ST000001/SE000000/IM000001 | 120 | ··PT000000/ST000001/SE000000/IM000001 |
121 | ··PT000000/ST000001/SE000000/IM000002 | 121 | ··PT000000/ST000001/SE000000/IM000002 |
Offset 258, 15 lines modified | Offset 258, 15 lines modified | ||
258 | root·=·Path(_\x8n_\x8e_\x8w_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8e_\x8t_\x8._\x8p_\x8a_\x8t_\x8h) | 258 | root·=·Path(_\x8n_\x8e_\x8w_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8e_\x8t_\x8._\x8p_\x8a_\x8t_\x8h) |
259 | print(f"File-set·copied·to·{root}·and·contains·the·following·files:") | 259 | print(f"File-set·copied·to·{root}·and·contains·the·following·files:") |
260 | #·Note·how·the·original·File-set·directory·layout·has·been·changed·to | 260 | #·Note·how·the·original·File-set·directory·layout·has·been·changed·to |
261 | #···the·structure·used·by·pydicom | 261 | #···the·structure·used·by·pydicom |
262 | for·p·in·sorted(root.glob('**/*')): | 262 | for·p·in·sorted(root.glob('**/*')): |
263 | ····if·p.is_file(): | 263 | ····if·p.is_file(): |
264 | ········print(f"··{p.relative_to(root)}") | 264 | ········print(f"··{p.relative_to(root)}") |
265 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.1 | 265 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.181·seconds) |
266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l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8e_\x8t_\x8._\x8z_\x8i_\x8p | 268 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8e_\x8t_\x8._\x8z_\x8i_\x8p |
269 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 269 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
270 | _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t | 270 | _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t |
271 | =============================================================================== | 271 | =============================================================================== |
272 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. | 272 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. |
Offset 154, 15 lines modified | Offset 154, 15 lines modified | ||
154 | <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> | 154 | <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> |
155 | <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> | 155 | <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> |
156 | <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> | 156 | <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> |
157 | </pre></div> | 157 | </pre></div> |
158 | </div> | 158 | </div> |
159 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.00 | 159 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.003·seconds)</p> |
160 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-rtplan-py"> | 160 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-rtplan-py"> |
161 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 161 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
162 | <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> | 162 | <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 | </div> | 163 | </div> |
164 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 164 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
165 | <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> | 165 | <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> |
166 | </div> | 166 | </div> |
Offset 61, 15 lines modified | Offset 61, 15 lines modified | ||
61 | ·······················································ssd=SSD)) | 61 | ·······················································ssd=SSD)) |
62 | ····return·"\n".join(lines) | 62 | ····return·"\n".join(lines) |
63 | filename·=·_\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8s_\x8t_\x8d_\x8a_\x8t_\x8a_\x8__\x8f_\x8i_\x8l_\x8e('rtplan.dcm') | 63 | filename·=·_\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8s_\x8t_\x8d_\x8a_\x8t_\x8a_\x8__\x8f_\x8i_\x8l_\x8e('rtplan.dcm') |
64 | dataset·=·pydicom.dcmread(filename) | 64 | dataset·=·pydicom.dcmread(filename) |
65 | print(list_beams(dataset)) | 65 | print(list_beams(dataset)) |
66 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.00 | 66 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.003·seconds) |
67 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8t_\x8p_\x8l_\x8a_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 67 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8t_\x8p_\x8l_\x8a_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b |
68 | _\x8D_\x8o_\x8w_\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8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
71 | _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t | 71 | _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t |
72 | =============================================================================== | 72 | =============================================================================== |
73 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. | 73 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. |
Offset 123, 40 lines modified | Offset 123, 40 lines modified | ||
123 | <section·class="sphx-glr-example-title"·id="write-dicom-data"> | 123 | <section·class="sphx-glr-example-title"·id="write-dicom-data"> |
124 | <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="Link·to·this·heading">¶</a></h1> | 124 | <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="Link·to·this·heading">¶</a></h1> |
125 | <p>This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This | 125 | <p>This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This |
126 | example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will | 126 | example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will |
127 | have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.</p> | 127 | have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.</p> |
128 | <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>Setting·file·meta·information... | 128 | <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>Setting·file·meta·information... |
129 | Setting·dataset·values... | 129 | Setting·dataset·values... |
130 | Writing·test·file·/tmp/tmp | 130 | Writing·test·file·/tmp/tmpli6msh3q.dcm |
131 | File·saved. | 131 | File·saved. |
132 | Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp | 132 | Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpyrypxtg3.dcm |
133 | Load·file·/tmp/tmp | 133 | Load·file·/tmp/tmpli6msh3q.dcm·... |
134 | Dataset.file_meta·------------------------------- | 134 | Dataset.file_meta·------------------------------- |
135 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 135 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
136 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 136 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
137 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 137 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
138 | ------------------------------------------------- | 138 | ------------------------------------------------- |
139 | (0008,·0023)·Content·Date························DA:·'202 | 139 | (0008,·0023)·Content·Date························DA:·'20260812' |
140 | (0008,·0033)·Content·Time························TM:·' | 140 | (0008,·0033)·Content·Time························TM:·'104629.132382' |
141 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 141 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
142 | (0010,·0020)·Patient·ID··························LO:·'123456' | 142 | (0010,·0020)·Patient·ID··························LO:·'123456' |
143 | Remove·file·/tmp/tmp | 143 | Remove·file·/tmp/tmpli6msh3q.dcm·... |
144 | Load·file·/tmp/tmp | 144 | Load·file·/tmp/tmpyrypxtg3.dcm·... |
145 | Dataset.file_meta·------------------------------- | 145 | Dataset.file_meta·------------------------------- |
146 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 146 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
147 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 147 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
148 | (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian | 148 | (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian |
149 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 149 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
150 | ------------------------------------------------- | 150 | ------------------------------------------------- |
151 | (0008,·0023)·Content·Date························DA:·'202 | 151 | (0008,·0023)·Content·Date························DA:·'20260812' |
152 | (0008,·0033)·Content·Time························TM:·' | 152 | (0008,·0033)·Content·Time························TM:·'104629.132382' |
153 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 153 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
154 | (0010,·0020)·Patient·ID··························LO:·'123456' | 154 | (0010,·0020)·Patient·ID··························LO:·'123456' |
155 | Remove·file·/tmp/tmp | 155 | Remove·file·/tmp/tmpyrypxtg3.dcm·... |
156 | </pre></div> | 156 | </pre></div> |
157 | </div> | 157 | </div> |
158 | <div·class="line-block"> | 158 | <div·class="line-block"> |
159 | <div·class="line"><br·/></div> | 159 | <div·class="line"><br·/></div> |
160 | </div> | 160 | </div> |
161 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="c1">#·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com></span> | 161 | <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="c1">#·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com></span> |
162 | <span·class="c1">#·license·:·MIT</span> | 162 | <span·class="c1">#·license·:·MIT</span> |
Offset 222, 15 lines modified | Offset 222, 15 lines modified | ||
222 | ····<span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span> | 222 | ····<span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span> |
223 | ····<span·class="c1">#·remove·the·created·file</span> | 223 | ····<span·class="c1">#·remove·the·created·file</span> |
224 | ····<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> | 224 | ····<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> |
225 | ····<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> | 225 | ····<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> |
226 | </pre></div> | 226 | </pre></div> |
227 | </div> | 227 | </div> |
228 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.00 | 228 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.006·seconds)</p> |
229 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-write-dicom-py"> | 229 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-write-dicom-py"> |
230 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 230 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
231 | <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> | 231 | <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 | </div> | 232 | </div> |
233 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 233 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
234 | <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> | 234 | <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> |
235 | </div> | 235 | </div> |
Offset 36, 40 lines modified | Offset 36, 40 lines modified | ||
36 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8e_\x8n_\x8d·to·download·the·full·example·code. | 36 | _\x8G_\x8o_\x8·_\x8t_\x8o_\x8·_\x8t_\x8h_\x8e_\x8·_\x8e_\x8n_\x8d·to·download·the·full·example·code. |
37 | *\x8**\x8**\x8**\x8**\x8**\x8*·W\x8Wr\x8ri\x8it\x8te\x8e·D\x8DI\x8IC\x8CO\x8OM\x8M·d\x8da\x8at\x8ta\x8a_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8**\x8* | 37 | *\x8**\x8**\x8**\x8**\x8**\x8*·W\x8Wr\x8ri\x8it\x8te\x8e·D\x8DI\x8IC\x8CO\x8OM\x8M·d\x8da\x8at\x8ta\x8a_\x8?\x8¶·*\x8**\x8**\x8**\x8**\x8**\x8* |
38 | This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This | 38 | This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This |
39 | example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will | 39 | example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will |
40 | have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements. | 40 | have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements. |
41 | Setting·file·meta·information... | 41 | Setting·file·meta·information... |
42 | Setting·dataset·values... | 42 | Setting·dataset·values... |
43 | Writing·test·file·/tmp/tmp | 43 | Writing·test·file·/tmp/tmpli6msh3q.dcm |
44 | File·saved. | 44 | File·saved. |
45 | Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp | 45 | Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpyrypxtg3.dcm |
46 | Load·file·/tmp/tmp | 46 | Load·file·/tmp/tmpli6msh3q.dcm·... |
47 | Dataset.file_meta·------------------------------- | 47 | Dataset.file_meta·------------------------------- |
48 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage | 48 | (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage |
49 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 | 49 | (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3 |
50 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 50 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
51 | ------------------------------------------------- | 51 | ------------------------------------------------- |
52 | (0008,·0023)·Content·Date························DA:·'202 | 52 | (0008,·0023)·Content·Date························DA:·'20260812' |
53 | (0008,·0033)·Content·Time························TM:·' | 53 | (0008,·0033)·Content·Time························TM:·'104629.132382' |
54 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 54 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
55 | (0010,·0020)·Patient·ID··························LO:·'123456' | 55 | (0010,·0020)·Patient·ID··························LO:·'123456' |
56 | Remove·file·/tmp/tmp | 56 | Remove·file·/tmp/tmpli6msh3q.dcm·... |
57 | Load·file·/tmp/tmp | 57 | Load·file·/tmp/tmpyrypxtg3.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,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian | 61 | (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian |
62 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 | 62 | (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4 |
63 | ------------------------------------------------- | 63 | ------------------------------------------------- |
64 | (0008,·0023)·Content·Date························DA:·'202 | 64 | (0008,·0023)·Content·Date························DA:·'20260812' |
65 | (0008,·0033)·Content·Time························TM:·' | 65 | (0008,·0033)·Content·Time························TM:·'104629.132382' |
66 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' | 66 | (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname' |
67 | (0010,·0020)·Patient·ID··························LO:·'123456' | 67 | (0010,·0020)·Patient·ID··························LO:·'123456' |
68 | Remove·file·/tmp/tmp | 68 | Remove·file·/tmp/tmpyrypxtg3.dcm·... |
69 | #·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com> | 69 | #·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com> |
70 | #·license·:·MIT | 70 | #·license·:·MIT |
71 | import·datetime | 71 | import·datetime |
72 | import·os | 72 | import·os |
73 | import·tempfile | 73 | import·tempfile |
Offset 129, 15 lines modified | Offset 129, 15 lines modified | ||
129 | ····print('Load·file·{}·...'.format(filename)) | 129 | ····print('Load·file·{}·...'.format(filename)) |
130 | ····ds·=·pydicom.dcmread(filename) | 130 | ····ds·=·pydicom.dcmread(filename) |
131 | ····print(ds) | 131 | ····print(ds) |
132 | ····#·remove·the·created·file | 132 | ····#·remove·the·created·file |
133 | ····print('Remove·file·{}·...'.format(filename)) | 133 | ····print('Remove·file·{}·...'.format(filename)) |
134 | ····os.remove(filename) | 134 | ····os.remove(filename) |
135 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.00 | 135 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.006·seconds) |
136 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8d_\x8i_\x8c_\x8o_\x8m_\x8._\x8i_\x8p_\x8y_\x8n_\x8b | 136 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x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x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 139 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
140 | _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t | 140 | _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t |
141 | =============================================================================== | 141 | =============================================================================== |
142 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. | 142 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. |
Offset 817, 15 lines modified | Offset 817, 15 lines modified | ||
817 | <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> | 817 | <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> |
818 | <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> | 818 | <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> |
819 | ····<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> | 819 | ····<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> |
820 | ········<span·class="nb">print</span><span·class="p">(</span><span·class="n">line</span><span·class="p">)</span> | 820 | ········<span·class="nb">print</span><span·class="p">(</span><span·class="n">line</span><span·class="p">)</span> |
821 | </pre></div> | 821 | </pre></div> |
822 | </div> | 822 | </div> |
823 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0. | 823 | <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.174·seconds)</p> |
824 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-plot-dicom-difference-py"> | 824 | <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-plot-dicom-difference-py"> |
825 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> | 825 | <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container"> |
826 | <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> | 826 | <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> |
827 | </div> | 827 | </div> |
828 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> | 828 | <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container"> |
829 | <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> | 829 | <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 | </div> | 830 | </div> |
Offset 744, 15 lines modified | Offset 744, 15 lines modified | ||
744 | ····rep.append(lines) | 744 | ····rep.append(lines) |
745 | diff·=·difflib.Differ() | 745 | diff·=·difflib.Differ() |
746 | for·line·in·diff.compare(rep[0],·rep[1]): | 746 | for·line·in·diff.compare(rep[0],·rep[1]): |
747 | ····if·line[0]·!=·"?": | 747 | ····if·line[0]·!=·"?": |
748 | ········print(line) | 748 | ········print(line) |
749 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0. | 749 | T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.174·secon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8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8p_\x8y |
752 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8d_\x8i_\x8c_\x8o_\x8m_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8z_\x8i_\x8p | 752 | _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8d_\x8i_\x8c_\x8o_\x8m_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8z_\x8i_\x8p |
753 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y | 753 | _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y |
754 | _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t | 754 | _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t |
755 | =============================================================================== | 755 | =============================================================================== |
756 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. | 756 | ©·Copyright·2008-2025,·Darcy·Mason·and·pydicom·contributors. |
Offset 5239, 55 lines modified | Offset 5239, 55 lines modified | ||
5239 | ········"0015":·201, | 5239 | ········"0015":·201, |
5240 | ········"0016":·[2,·18,·23,·24,·25,·35,·40,·191,·501], | 5240 | ········"0016":·[2,·18,·23,·24,·25,·35,·40,·191,·501], |
5241 | ········"0017":·191, | 5241 | ········"0017":·191, |
5242 | ········"0018":·[2,·18,·23,·24,·25,·35,·37,·191,·202,·215], | 5242 | ········"0018":·[2,·18,·23,·24,·25,·35,·37,·191,·202,·215], |
5243 | ········"0019":·18, | 5243 | ········"0019":·18, |
5244 | ········"0019xx43":·[476,·495], | 5244 | ········"0019xx43":·[476,·495], |
5245 | ········"001a":·48, | 5245 | ········"001a":·48, |
5246 | ········"002":·11, | ||
5247 | ········"0020":·[2,·12,·16,·18,·23,·24,·25,·35,·501,·503], | 5246 | ········"0020":·[2,·12,·16,·18,·23,·24,·25,·35,·501,·503], |
5248 | ········"0021":·[2,·18], | 5247 | ········"0021":·[2,·18], |
5249 | ········"0022":·[2,·18,·501], | 5248 | ········"0022":·[2,·18,·501], |
5250 | ········"0023":·[2,·12,·18,·23,·24], | 5249 | ········"0023":·[2,·12,·18,·23,·24], |
5251 | ········"0025":·18, | 5250 | ········"0025":·18, |
5252 | ········"0026":·[23,·24], | 5251 | ········"0026":·[23,·24], |
5253 | ········"0027":·18, | 5252 | ········"0027":·18, |
5254 | ········"0028":·[2,·18,·31,·39,·47,·128,·139,·141,·202,·203,·204,·205,·206,·207,·208,·211,·213,·214,·215,·476,·489,·491,·501], | 5253 | ········"0028":·[2,·18,·31,·39,·47,·128,·139,·141,·202,·203,·204,·205,·206,·207,·208,·211,·213,·214,·215,·476,·489,·491,·501], |
5255 | ········"0029":·18, | 5254 | ········"0029":·18, |
5256 | ········"002c":·[23,·24], | 5255 | ········"002c":·[23,·24], |
5256 | ········"003":·11, | ||
5257 | ········"0030":·[2,·16,·18,·35], | 5257 | ········"0030":·[2,·16,·18,·35], |
5258 | ········"0031":·[2,·18], | 5258 | ········"0031":·[2,·18], |
5259 | ········"0032":·[2,·18], | 5259 | ········"0032":·[2,·18], |
5260 | ········"0033":·[12,·18], | 5260 | ········"0033":·[12,·18], |
5261 | ········"0036697":·[23,·24,·25], | 5261 | ········"0036697":·[23,·24,·25], |
5262 | ········"003669700000":·[23,·25], | 5262 | ········"003669700000":·[23,·25], |
5263 | ········"0037":·[2,·18], | 5263 | ········"0037":·[2,·18], |
5264 | ········"003a":·[48,·128,·468,·509], | 5264 | ········"003a":·[48,·128,·468,·509], |
5265 | ········"004":· | 5265 | ········"004":·7, |
5266 | ········"0040":·[2,·18], | 5266 | ········"0040":·[2,·18], |
5267 | ········"0041":·128, | 5267 | ········"0041":·128, |
5268 | ········"0043":·[18,·23,·25,·501], | 5268 | ········"0043":·[18,·23,·25,·501], |
5269 | ········"005":·2, | ||
5270 | ········"0050":·[2,·18,·23,·24,·35,·46], | 5269 | ········"0050":·[2,·18,·23,·24,·35,·46], |
5271 | ········"0051":·[23,·24], | 5270 | ········"0051":·[23,·24], |
5272 | ········"0052":·[2,·18], | 5271 | ········"0052":·[2,·18], |
5272 | ········"006":·12, | ||
5273 | ········"0060":·[2,·18,·23,·24,·35], | 5273 | ········"0060":·[2,·18,·23,·24,·35], |
5274 | ········"007":·[13,·16], | 5274 | ········"007":·[13,·16], |
5275 | ········"0070":·[2,·18,·23,·24], | 5275 | ········"0070":·[2,·18,·23,·24], |
5276 | ········"0071":·[23,·24,·25], | 5276 | ········"0071":·[23,·24,·25], |
5277 | ········"0078":·[23,·24,·25], | 5277 | ········"0078":·[23,·24,·25], |
5278 | ········"0080":·[2,·18,·23,·24,·25], | 5278 | ········"0080":·[2,·18,·23,·24,·25], |
5279 | ········"0081":·[2,·18], | 5279 | ········"0081":·[2,·18], |
5280 | ········"0082":·[23,·24,·25], | 5280 | ········"0082":·[23,·24,·25], |
5281 | ········"0083":·[2,·18], | 5281 | ········"0083":·[2,·18], |
5282 | ········"0084":·[2,·18,·23,·24,·25], | 5282 | ········"0084":·[2,·18,·23,·24,·25], |
5283 | ········"0085":·[2,·18], | 5283 | ········"0085":·[2,·18], |
5284 | ········"0086":·[2,·18,·23,·24,·25], | 5284 | ········"0086":·[2,·18,·23,·24,·25], |
5285 | ········"0088":·18, | 5285 | ········"0088":·18, |
5286 | ········"009":·9, | 5286 | ········"009":·[2,·9], |
5287 | ········"0090":·[2,·18], | 5287 | ········"0090":·[2,·18], |
5288 | ········"0091":·[2,·18], | 5288 | ········"0091":·[2,·18], |
5289 | ········"00a0":·[23,·24,·25], | 5289 | ········"00a0":·[23,·24,·25], |
5290 | ········"00b0":·[23,·24], | 5290 | ········"00b0":·[23,·24], |
5291 | ········"00b6":·[23,·24], | 5291 | ········"00b6":·[23,·24], |
5292 | ········"00f8":·17, | 5292 | ········"00f8":·17, |
5293 | ········"00fe":·17, | 5293 | ········"00fe":·17, |
Offset 5307, 30 lines modified | Offset 5307, 28 lines modified | ||
5307 | ········"0182":·37, | 5307 | ········"0182":·37, |
5308 | ········"0197b5846bb5":·[476,·483], | 5308 | ········"0197b5846bb5":·[476,·483], |
5309 | ········"01b2":·37, | 5309 | ········"01b2":·37, |
5310 | ········"0200":·509, | 5310 | ········"0200":·509, |
5311 | ········"0201":·[2,·18,·476,·488], | 5311 | ········"0201":·[2,·18,·476,·488], |
5312 | ········"0210":·[128,·468,·509], | 5312 | ········"0210":·[128,·468,·509], |
5313 | ········"0211":·128, | 5313 | ········"0211":·128, |
5314 | ········"021346":·12, | ||
5315 | ········"025109":·[10,·503], | 5314 | ········"025109":·[10,·503], |
5316 | ········"0275401":·[23,·24,·25], | 5315 | ········"0275401":·[23,·24,·25], |
5317 | ········"02754010000000":·[23,·25], | 5316 | ········"02754010000000":·[23,·25], |
5318 | ········"033":·19, | 5317 | ········"033":·19, |
5319 | ········"035797":·18, | 5318 | ········"035797":·18, |
5320 | ········"03579711914062":·18, | 5319 | ········"03579711914062":·18, |
5321 | ········"0400":·[2,·7,·18], | 5320 | ········"0400":·[2,·7,·18], |
5322 | ········"0411bab7c985":·[476,·483], | 5321 | ········"0411bab7c985":·[476,·483], |
5323 | ········"045357":·[10,·503], | 5322 | ········"045357":·[10,·503], |
5324 | ········"05":·[18,·500], | 5323 | ········"05":·[18,·500], |
5325 | ········"0500":·18, | 5324 | ········"0500":·18, |
5326 | ········"050743":·[10,·503], | 5325 | ········"050743":·[10,·503], |
5327 | ········"072730":·[18,·23,·25], | 5326 | ········"072730":·[18,·23,·25], |
5328 | ········"072731":·[18,·23,·25,·501], | 5327 | ········"072731":·[18,·23,·25,·501], |
5329 | ········"073":·18, | ||
5330 | ········"07992553710938":·18, | 5328 | ········"07992553710938":·18, |
5331 | ········"079926":·18, | 5329 | ········"079926":·18, |
5332 | ········"079956":·18, | 5330 | ········"079956":·18, |
5333 | ········"08":·142, | 5331 | ········"08":·142, |
5334 | ········"085000":·18, | 5332 | ········"085000":·18, |
5335 | ········"091":·8, | 5333 | ········"091":·8, |
5336 | ········"095":·18, | 5334 | ········"095":·18, |
Offset 5452, 14 lines modified | Offset 5450, 15 lines modified | ||
5452 | ········"1041":·[2,·18], | 5450 | ········"1041":·[2,·18], |
5453 | ········"1042":·[18,·476,·491], | 5451 | ········"1042":·[18,·476,·491], |
5454 | ········"1043":·18, | 5452 | ········"1043":·18, |
5455 | ········"10431":·18, | 5453 | ········"10431":·18, |
5456 | ········"1044":·18, | 5454 | ········"1044":·18, |
5457 | ········"1045":·18, | 5455 | ········"1045":·18, |
5458 | ········"1046":·18, | 5456 | ········"1046":·18, |
5457 | ········"104629":·12, | ||
5459 | ········"1047":·[18,·476,·491], | 5458 | ········"1047":·[18,·476,·491], |
5460 | ········"1048":·18, | 5459 | ········"1048":·18, |
5461 | ········"1049":·[18,·476,·491], | 5460 | ········"1049":·[18,·476,·491], |
5462 | ········"104a":·18, | 5461 | ········"104a":·18, |
5463 | ········"104b":·[18,·23,·25], | 5462 | ········"104b":·[18,·23,·25], |
5464 | ········"104c":·[18,·23,·25], | 5463 | ········"104c":·[18,·23,·25], |
5465 | ········"104d":·[18,·23,·25], | 5464 | ········"104d":·[18,·23,·25], |
Offset 5593, 14 lines modified | Offset 5592, 15 lines modified | ||
5593 | ········"129":·[18,·506], | 5592 | ········"129":·[18,·506], |
5594 | ········"13":·[11,·233,·234,·235,·237,·428,·429], | 5593 | ········"13":·[11,·233,·234,·235,·237,·428,·429], |
5595 | ········"130":·280, | 5594 | ········"130":·280, |
5596 | ········"131":·[48,·228], | 5595 | ········"131":·[48,·228], |
5597 | ········"1312":·[476,·494], | 5596 | ········"1312":·[476,·494], |
5598 | ········"1314":·[2,·18], | 5597 | ········"1314":·[2,·18], |
5599 | ········"1318":·47, | 5598 | ········"1318":·47, |
5599 | ········"132382":·12, | ||
5600 | ········"1327":·[476,·494], | 5600 | ········"1327":·[476,·494], |
5601 | ········"133":·[18,·162], | 5601 | ········"133":·[18,·162], |
5602 | ········"1332":·[476,·494], | 5602 | ········"1332":·[476,·494], |
5603 | ········"1336":·47, | 5603 | ········"1336":·47, |
5604 | ········"1338":·[476,·494], | 5604 | ········"1338":·[476,·494], |
5605 | ········"134":·9, | 5605 | ········"134":·9, |
5606 | ········"1340":·[476,·494], | 5606 | ········"1340":·[476,·494], |
Offset 5657, 15 lines modified | Offset 5657, 14 lines modified | ||
5657 | ········"1594":·[476,·495], | 5657 | ········"1594":·[476,·495], |
5658 | ········"1596":·[476,·495], | 5658 | ········"1596":·[476,·495], |
5659 | ········"15970":·9, | 5659 | ········"15970":·9, |
5660 | ········"1599":·[476,·495], | 5660 | ········"1599":·[476,·495], |
5661 | ········"16":·[2,·7,·18,·23,·25,·28,·30,·31,·39,·51,·125,·128,·131,·211,·213,·214,·215,·377,·446,·447,·468,·476,·489,·506,·509], | 5661 | ········"16":·[2,·7,·18,·23,·25,·28,·30,·31,·39,·51,·125,·128,·131,·211,·213,·214,·215,·377,·446,·447,·468,·476,·489,·506,·509], |
5662 | ········"1600":·[2,·7,·18], | 5662 | ········"1600":·[2,·7,·18], |
Max diff block lines reached; 3185/7014 bytes (45.41%) of diff not shown. |