72.3 KB
/srv/reproducible-results/rbuild-debian/r-b-build.xOOmZUwD/b1/pydicom_2.4.3-1_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.xOOmZUwD/b2/pydicom_2.4.3-1_amd64.changes
299 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·1d2b0bf11a71f5cf96bebfaf07e0ef6c·969048·doc·optional·python-pydicom-doc_2.4.3-1_all.deb1 ·d476a374ea6291d3d6630c46939c075f·969056·doc·optional·python-pydicom-doc_2.4.3-1_all.deb
2 ·53647fb4d0c2740a8b83e03855d721b6·1120052·python·optional·python3-pydicom_2.4.3-1_all.deb2 ·53647fb4d0c2740a8b83e03855d721b6·1120052·python·optional·python3-pydicom_2.4.3-1_all.deb
71.8 KB
python-pydicom-doc_2.4.3-1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-01-26·12:08:13.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-01-26·12:08:13.000000·debian-binary
2 -rw-r--r--···0········0········0····30384·2024-01-26·12:08:13.000000·control.tar.xz2 -rw-r--r--···0········0········0····30388·2024-01-26·12:08:13.000000·control.tar.xz
3 -rw-r--r--···0········0········0···938472·2024-01-26·12:08:13.000000·data.tar.xz3 -rw-r--r--···0········0········0···938476·2024-01-26·12:08:13.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
71.2 KB
data.tar.xz
71.2 KB
data.tar
2.38 KB
file list
    
Offset 1194, 15 lines modifiedOffset 1194, 15 lines modified
1194 -rw-r--r--···0·root·········(0)·root·········(0)····30346·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.0.html1194 -rw-r--r--···0·root·········(0)·root·········(0)····30346·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.0.html
1195 -rw-r--r--···0·root·········(0)·root·········(0)·····6920·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.1.html1195 -rw-r--r--···0·root·········(0)·root·········(0)·····6920·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.1.html
1196 -rw-r--r--···0·root·········(0)·root·········(0)····24926·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.2.0.html1196 -rw-r--r--···0·root·········(0)·root·········(0)····24926·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.2.0.html
1197 -rw-r--r--···0·root·········(0)·root·········(0)····13994·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.3.0.html1197 -rw-r--r--···0·root·········(0)·root·········(0)····13994·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.3.0.html
1198 -rw-r--r--···0·root·········(0)·root·········(0)····12163·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.4.0.html1198 -rw-r--r--···0·root·········(0)·root·········(0)····12163·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.4.0.html
1199 -rw-r--r--···0·root·········(0)·root·········(0)·····6355·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.4.3.html1199 -rw-r--r--···0·root·········(0)·root·········(0)·····6355·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.4.3.html
1200 -rw-r--r--···0·root·········(0)·root·········(0)·····6267·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/search.html1200 -rw-r--r--···0·root·········(0)·root·········(0)·····6267·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/search.html
1201 -rw-r--r--···0·root·········(0)·root·········(0)···429648·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/searchindex.js1201 -rw-r--r--···0·root·········(0)·root·········(0)···429650·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/searchindex.js
1202 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/1202 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/
1203 -rw-r--r--···0·root·········(0)·root·········(0)·····8599·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing.html1203 -rw-r--r--···0·root·········(0)·root·········(0)·····8599·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing.html
1204 -rw-r--r--···0·root·········(0)·root·········(0)····28358·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_code.html1204 -rw-r--r--···0·root·········(0)·root·········(0)····28358·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_code.html
1205 -rw-r--r--···0·root·········(0)·root·········(0)····26245·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_docs.html1205 -rw-r--r--···0·root·········(0)·root·········(0)····26245·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_docs.html
1206 -rw-r--r--···0·root·········(0)·root·········(0)····72087·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dataset_basics.html1206 -rw-r--r--···0·root·········(0)·root·········(0)····72087·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dataset_basics.html
1207 -rw-r--r--···0·root·········(0)·root·········(0)····21951·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dicom_json.html1207 -rw-r--r--···0·root·········(0)·root·········(0)····21951·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dicom_json.html
1208 -rw-r--r--···0·root·········(0)·root·········(0)····63371·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/filesets.html1208 -rw-r--r--···0·root·········(0)·root·········(0)····63371·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/filesets.html
710 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/image_processing/plot_downsize_image.rst.txt
    
Offset 166, 15 lines modifiedOffset 166, 15 lines modified
166 ····#·print·the·image·information·given·in·the·dataset166 ····#·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-timing169 ..·rst-class::·sphx-glr-timing
  
170 ···**Total·running·time·of·the·script:**·(0·minutes·0.144·seconds)170 ···**Total·running·time·of·the·script:**·(0·minutes·0.006·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::·html172 ..·only::·html
  
173 ··..·container::·sphx-glr-footer·sphx-glr-footer-example173 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
600 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/image_processing/plot_waveforms.rst.txt
    
Offset 83, 15 lines modifiedOffset 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-timing85 ..·rst-class::·sphx-glr-timing
  
86 ···**Total·running·time·of·the·script:**·(0·minutes·1.917·seconds)86 ···**Total·running·time·of·the·script:**·(0·minutes·0.226·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::·html88 ..·only::·html
  
89 ··..·container::·sphx-glr-footer·sphx-glr-footer-example89 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
619 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_printing_dataset.rst.txt
    
Offset 159, 15 lines modifiedOffset 159, 15 lines modified
159 ····ds·=·pydicom.dcmread(filename)159 ····ds·=·pydicom.dcmread(filename)
  
160 ····myprint(ds)160 ····myprint(ds)
  
  
161 ..·rst-class::·sphx-glr-timing161 ..·rst-class::·sphx-glr-timing
  
162 ···**Total·running·time·of·the·script:**·(0·minutes·0.039·seconds)162 ···**Total·running·time·of·the·script:**·(0·minutes·0.006·seconds)
  
  
163 ..·_sphx_glr_download_auto_examples_input_output_plot_printing_dataset.py:163 ..·_sphx_glr_download_auto_examples_input_output_plot_printing_dataset.py:
  
164 ..·only::·html164 ..·only::·html
  
165 ··..·container::·sphx-glr-footer·sphx-glr-footer-example165 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
649 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_read_dicom.rst.txt
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ····#·plot·the·image·using·matplotlib91 ····#·plot·the·image·using·matplotlib
92 ····plt.imshow(ds.pixel_array,·cmap=plt.cm.gray)92 ····plt.imshow(ds.pixel_array,·cmap=plt.cm.gray)
93 ····plt.show()93 ····plt.show()
  
  
94 ..·rst-class::·sphx-glr-timing94 ..·rst-class::·sphx-glr-timing
  
95 ···**Total·running·time·of·the·script:**·(0·minutes·0.643·seconds)95 ···**Total·running·time·of·the·script:**·(0·minutes·0.099·seconds)
  
  
96 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom.py:96 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom.py:
  
97 ..·only::·html97 ..·only::·html
  
98 ··..·container::·sphx-glr-footer·sphx-glr-footer-example98 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
759 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_read_dicom_directory.rst.txt
    
Offset 170, 15 lines modifiedOffset 170, 15 lines modified
170 ····················#·Optionally·read·the·corresponding·SOP·Instance170 ····················#·Optionally·read·the·corresponding·SOP·Instance
171 ····················#·instance·=·dcmread(Path(root_dir)·/·p)171 ····················#·instance·=·dcmread(Path(root_dir)·/·p)
172 ····················#·print(instance.PatientName)172 ····················#·print(instance.PatientName)
  
  
173 ..·rst-class::·sphx-glr-timing173 ..·rst-class::·sphx-glr-timing
  
174 ···**Total·running·time·of·the·script:**·(0·minutes·0.085·seconds)174 ···**Total·running·time·of·the·script:**·(0·minutes·0.012·seconds)
  
  
175 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom_directory.py:175 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom_directory.py:
  
176 ..·only::·html176 ..·only::·html
  
177 ··..·container::·sphx-glr-footer·sphx-glr-footer-example177 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
1.49 KB
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_read_fileset.rst.txt
    
Offset 99, 15 lines modifiedOffset 99, 15 lines modified
99 ········Modality=MR·-·3·SOP·Instances99 ········Modality=MR·-·3·SOP·Instances
100 ········Modality=MR·-·7·SOP·Instances100 ········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.118101 ····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·loading102 ····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/dicomdirtests103 ····Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/test_files/dicomdirtests
104 ····File-set·copied·to·/tmp/tmprsgch3jf·and·contains·the·following·files:104 ····File-set·copied·to·/tmp/tmpsdryeqz6·and·contains·the·following·files:
105 ······DICOMDIR105 ······DICOMDIR
106 ······PT000000/ST000000/SE000000/IM000000106 ······PT000000/ST000000/SE000000/IM000000
107 ······PT000000/ST000000/SE000001/IM000000107 ······PT000000/ST000000/SE000001/IM000000
108 ······PT000000/ST000000/SE000002/IM000000108 ······PT000000/ST000000/SE000002/IM000000
109 ······PT000000/ST000001/SE000000/IM000000109 ······PT000000/ST000001/SE000000/IM000000
110 ······PT000000/ST000001/SE000000/IM000001110 ······PT000000/ST000001/SE000000/IM000001
111 ······PT000000/ST000001/SE000000/IM000002111 ······PT000000/ST000001/SE000000/IM000002
Offset 263, 15 lines modifiedOffset 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-timing266 ..·rst-class::·sphx-glr-timing
  
267 ···**Total·running·time·of·the·script:**·(0·minutes·2.143·seconds)267 ···**Total·running·time·of·the·script:**·(0·minutes·0.237·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::·html269 ..·only::·html
  
270 ··..·container::·sphx-glr-footer·sphx-glr-footer-example270 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
668 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_read_rtplan.rst.txt
    
Offset 73, 15 lines modifiedOffset 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-timing76 ..·rst-class::·sphx-glr-timing
  
77 ···**Total·running·time·of·the·script:**·(0·minutes·0.039·seconds)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::·html79 ..·only::·html
  
80 ··..·container::·sphx-glr-footer·sphx-glr-footer-example80 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
2.91 KB
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_write_dicom.rst.txt
    
Offset 33, 40 lines modifiedOffset 33, 40 lines modified
  
33 ..·rst-class::·sphx-glr-script-out33 ..·rst-class::·sphx-glr-script-out
  
34 ·..·code-block::·none34 ·..·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/tmp5otx_mzu.dcm37 ····Writing·test·file·/tmp/tmp0a2q_79w.dcm
38 ····File·saved.38 ····File·saved.
39 ····Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpfr4hskk6.dcm39 ····Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpaeal2gnj.dcm
40 ····Load·file·/tmp/tmp5otx_mzu.dcm·...40 ····Load·file·/tmp/tmp0a2q_79w.dcm·...
41 ····Dataset.file_meta·-------------------------------41 ····Dataset.file_meta·-------------------------------
42 ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage42 ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
43 ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.343 ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
44 ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.444 ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
45 ····-------------------------------------------------45 ····-------------------------------------------------
46 ····(0008,·0023)·Content·Date························DA:·'20241223'46 ····(0008,·0023)·Content·Date························DA:·'20260127'
47 ····(0008,·0033)·Content·Time························TM:·'203145.848058'47 ····(0008,·0033)·Content·Time························TM:·'051648.564242'
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/tmp5otx_mzu.dcm·...50 ····Remove·file·/tmp/tmp0a2q_79w.dcm·...
51 ····Load·file·/tmp/tmpfr4hskk6.dcm·...51 ····Load·file·/tmp/tmpaeal2gnj.dcm·...
52 ····Dataset.file_meta·-------------------------------52 ····Dataset.file_meta·-------------------------------
53 ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage53 ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
54 ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.354 ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
55 ····(0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian55 ····(0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian
56 ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.456 ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
57 ····-------------------------------------------------57 ····-------------------------------------------------
58 ····(0008,·0023)·Content·Date························DA:·'20241223'58 ····(0008,·0023)·Content·Date························DA:·'20260127'
59 ····(0008,·0033)·Content·Time························TM:·'203145.848058'59 ····(0008,·0033)·Content·Time························TM:·'051648.564242'
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/tmpfr4hskk6.dcm·...62 ····Remove·file·/tmp/tmpaeal2gnj.dcm·...
  
  
  
  
  
  
63 |63 |
Offset 140, 15 lines modifiedOffset 140, 15 lines modified
140 ········#·remove·the·created·file140 ········#·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-timing143 ..·rst-class::·sphx-glr-timing
  
144 ···**Total·running·time·of·the·script:**·(0·minutes·0.027·seconds)144 ···**Total·running·time·of·the·script:**·(0·minutes·0.005·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::·html146 ..·only::·html
  
147 ··..·container::·sphx-glr-footer·sphx-glr-footer-example147 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
638 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/metadata_processing/plot_add_dict_entries.rst.txt
    
Offset 89, 15 lines modifiedOffset 89, 15 lines modified
89 ····ds.TestThree·=·'1.2.3.4.5'89 ····ds.TestThree·=·'1.2.3.4.5'
  
90 ····print(ds.top())90 ····print(ds.top())
  
  
91 ..·rst-class::·sphx-glr-timing91 ..·rst-class::·sphx-glr-timing
  
92 ···**Total·running·time·of·the·script:**·(0·minutes·0.003·seconds)92 ···**Total·running·time·of·the·script:**·(0·minutes·0.001·seconds)
  
  
93 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_add_dict_entries.py:93 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_add_dict_entries.py:
  
94 ..·only::·html94 ..·only::·html
  
95 ··..·container::·sphx-glr-footer·sphx-glr-footer-example95 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
570 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/metadata_processing/plot_anonymize.rst.txt
    
Offset 223, 15 lines modifiedOffset 223, 15 lines modified
  
  
  
  
  
223 ..·rst-class::·sphx-glr-timing223 ..·rst-class::·sphx-glr-timing
  
224 ···**Total·running·time·of·the·script:**·(0·minutes·0.090·seconds)224 ···**Total·running·time·of·the·script:**·(0·minutes·0.008·seconds)
  
  
225 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_anonymize.py:225 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_anonymize.py:
  
226 ..·only::·html226 ..·only::·html
  
227 ··..·container::·sphx-glr-footer·sphx-glr-footer-example227 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
675 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/metadata_processing/plot_sequences.rst.txt
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 ····#·data·element77 ····#·data·element
78 ····beam0.BlockSequence.append(block_ds3)78 ····beam0.BlockSequence.append(block_ds3)
79 ····del·plan_ds.BeamSequence[0].BlockSequence[1]79 ····del·plan_ds.BeamSequence[0].BlockSequence[1]
  
  
80 ..·rst-class::·sphx-glr-timing80 ..·rst-class::·sphx-glr-timing
  
81 ···**Total·running·time·of·the·script:**·(0·minutes·0.015·seconds)81 ···**Total·running·time·of·the·script:**·(0·minutes·0.001·seconds)
  
  
82 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_sequences.py:82 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_sequences.py:
  
83 ..·only::·html83 ..·only::·html
  
84 ··..·container::·sphx-glr-footer·sphx-glr-footer-example84 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
625 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/plot_dicom_difference.rst.txt
    
Offset 745, 15 lines modifiedOffset 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-timing748 ..·rst-class::·sphx-glr-timing
  
749 ···**Total·running·time·of·the·script:**·(0·minutes·1.381·seconds)749 ···**Total·running·time·of·the·script:**·(0·minutes·0.091·seconds)
  
  
750 ..·_sphx_glr_download_auto_examples_plot_dicom_difference.py:750 ..·_sphx_glr_download_auto_examples_plot_dicom_difference.py:
  
751 ..·only::·html751 ..·only::·html
  
752 ··..·container::·sphx-glr-footer·sphx-glr-footer-example752 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
3.42 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/image_processing/plot_downsize_image.html
    
Offset 244, 15 lines modifiedOffset 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">&#39;The·information·of·the·data·set·after·downsampling:·</span><span·class="se">\n</span><span·class="s1">&#39;</span><span·class="p">)</span>246 <span·class="nb">print</span><span·class="p">(</span><span·class="s1">&#39;The·information·of·the·data·set·after·downsampling:·</span><span·class="se">\n</span><span·class="s1">&#39;</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.144·seconds)</p>250 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.006·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>
1.26 KB
html2text {}
    
Offset 157, 15 lines modifiedOffset 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·array158 #·update·the·information·regarding·the·shape·of·the·data·array
159 ds.Rows,·ds.Columns·=·data_downsampling.shape159 ds.Rows,·ds.Columns·=·data_downsampling.shape
  
160 #·print·the·image·information·given·in·the·dataset160 #·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.144·seconds)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.006·seconds)
164 _\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__\x8d_\x8o_\x8w_\x8n_\x8s_\x8i_\x8z_\x8e_\x8__\x8i_\x8m_\x8a_\x8g_\x8e_\x8._\x8i_\x8p_\x8y_\x8n_\x8b164 _\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_\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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_\x8y167 _\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
168 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t168 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
169 ===============================================================================169 ===============================================================================
170 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.170 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
3.47 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/image_processing/plot_waveforms.html
    
Offset 161, 15 lines modifiedOffset 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">&quot;(</span><span·class="si">{</span><span·class="n">x_units</span><span·class="si">}</span><span·class="s2">)&quot;</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">&quot;(</span><span·class="si">{</span><span·class="n">x_units</span><span·class="si">}</span><span·class="s2">)&quot;</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">&quot;(</span><span·class="si">{</span><span·class="n">y_units</span><span·class="si">}</span><span·class="s2">)&quot;</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">&quot;(</span><span·class="si">{</span><span·class="n">y_units</span><span·class="si">}</span><span·class="s2">)&quot;</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·1.917·seconds)</p>167 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.226·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>
1.12 KB
html2text {}
    
Offset 73, 15 lines modifiedOffset 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·1.917·seconds)79 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8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_\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8w_\x8a_\x8v_\x8e_\x8f_\x8o_\x8r_\x8m_\x8s_\x8._\x8z_\x8i_\x8p82 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8w_\x8a_\x8v_\x8e_\x8f_\x8o_\x8r_\x8m_\x8s_\x8._\x8z_\x8i_\x8p
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_\x8y83 _\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_\x8t84 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
85 ===============================================================================85 ===============================================================================
86 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.86 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
3.4 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_printing_dataset.html
    
Offset 240, 15 lines modifiedOffset 240, 15 lines modified
  
240 <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">&#39;MR_small.dcm&#39;</span><span·class="p">)</span>240 <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">&#39;MR_small.dcm&#39;</span><span·class="p">)</span>
241 <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>241 <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>
  
242 <span·class="n">myprint</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>242 <span·class="n">myprint</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>
243 </pre></div>243 </pre></div>
244 </div>244 </div>
245 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.039·seconds)</p>245 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.006·seconds)</p>
246 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-printing-dataset-py">246 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-printing-dataset-py">
247 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">247 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
248 <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>248 <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 </div>249 </div>
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/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>251 <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>
252 </div>252 </div>
1.19 KB
html2text {}
    
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ···················································repr_value))148 ···················································repr_value))
  
  
149 filename·=·_\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8s_\x8t_\x8d_\x8a_\x8t_\x8a_\x8__\x8f_\x8i_\x8l_\x8e('MR_small.dcm')149 filename·=·_\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8s_\x8t_\x8d_\x8a_\x8t_\x8a_\x8__\x8f_\x8i_\x8l_\x8e('MR_small.dcm')
150 ds·=·pydicom.dcmread(filename)150 ds·=·pydicom.dcmread(filename)
  
151 myprint(ds)151 myprint(ds)
152 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.039·seconds)152 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)
153 _\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__\x8p_\x8r_\x8i_\x8n_\x8t_\x8i_\x8n_\x8g_\x8__\x8d_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t_\x8._\x8i_\x8p_\x8y_\x8n_\x8b153 _\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__\x8p_\x8r_\x8i_\x8n_\x8t_\x8i_\x8n_\x8g_\x8__\x8d_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
154 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x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r_\x8y156 _\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
157 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t157 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
158 ===============================================================================158 ===============================================================================
159 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.159 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
3.68 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_dicom.html
    
Offset 167, 15 lines modifiedOffset 167, 15 lines modified
167 <span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">&quot;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">&#39;SliceLocation&#39;</span><span·class="p">,</span><span·class="w">·</span><span·class="s1">&#39;(missing)&#39;</span><span·class="p">)</span><span·class="si">}</span><span·class="s2">&quot;</span><span·class="p">)</span>167 <span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">&quot;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">&#39;SliceLocation&#39;</span><span·class="p">,</span><span·class="w">·</span><span·class="s1">&#39;(missing)&#39;</span><span·class="p">)</span><span·class="si">}</span><span·class="s2">&quot;</span><span·class="p">)</span>
  
168 <span·class="c1">#·plot·the·image·using·matplotlib</span>168 <span·class="c1">#·plot·the·image·using·matplotlib</span>
169 <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">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>
170 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>170 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
171 </pre></div>171 </pre></div>
172 </div>172 </div>
173 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.643·seconds)</p>173 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.099·seconds)</p>
174 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-py">174 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-py">
175 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">175 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
176 <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>176 <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>
177 </div>177 </div>
178 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">178 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
179 <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>179 <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>
180 </div>180 </div>
1.18 KB
html2text {}
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
  
76 #·use·.get()·if·not·sure·the·item·exists,·and·want·a·default·value·if·missing76 #·use·.get()·if·not·sure·the·item·exists,·and·want·a·default·value·if·missing
77 print(f"Slice·location...:·{ds.get('SliceLocation',·'(missing)')}")77 print(f"Slice·location...:·{ds.get('SliceLocation',·'(missing)')}")
  
78 #·plot·the·image·using·matplotlib78 #·plot·the·image·using·matplotlib
79 plt.imshow(ds.pixel_array,·cmap=plt.cm.gray)79 plt.imshow(ds.pixel_array,·cmap=plt.cm.gray)
80 plt.show()80 plt.show()
81 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.643·seconds)81 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x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p_\x8y
84 _\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__\x8d_\x8i_\x8c_\x8o_\x8m_\x8._\x8z_\x8i_\x8p84 _\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__\x8d_\x8i_\x8c_\x8o_\x8m_\x8._\x8z_\x8i_\x8p
85 _\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_\x8y85 _\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
86 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t86 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
87 ===============================================================================87 ===============================================================================
88 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.88 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
3.67 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_dicom_directory.html
    
Offset 252, 15 lines modifiedOffset 252, 15 lines modified
252 ················<span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">&quot;</span><span·class="si">{</span><span·class="s1">&#39;··&#39;</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">&quot;</span><span·class="p">)</span>252 ················<span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">&quot;</span><span·class="si">{</span><span·class="s1">&#39;··&#39;</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">&quot;</span><span·class="p">)</span>
  
253 ················<span·class="c1">#·Optionally·read·the·corresponding·SOP·Instance</span>253 ················<span·class="c1">#·Optionally·read·the·corresponding·SOP·Instance</span>
254 ················<span·class="c1">#·instance·=·dcmread(Path(root_dir)·/·p)</span>254 ················<span·class="c1">#·instance·=·dcmread(Path(root_dir)·/·p)</span>
255 ················<span·class="c1">#·print(instance.PatientName)</span>255 ················<span·class="c1">#·print(instance.PatientName)</span>
256 </pre></div>256 </pre></div>
257 </div>257 </div>
258 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.085·seconds)</p>258 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.012·seconds)</p>
259 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-directory-py">259 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-directory-py">
260 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">260 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
261 <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>261 <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 </div>262 </div>
263 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">263 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
264 <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>264 <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>
265 </div>265 </div>
1.34 KB
html2text {}
    
Offset 172, 15 lines modifiedOffset 172, 15 lines modified
172 ············#·List·the·instance·file·paths172 ············#·List·the·instance·file·paths
173 ············for·p·in·paths:173 ············for·p·in·paths:
174 ················print(f"{'··'·*·3}IMAGE:·Path={os.fspath(p)}")174 ················print(f"{'··'·*·3}IMAGE:·Path={os.fspath(p)}")
  
175 ················#·Optionally·read·the·corresponding·SOP·Instance175 ················#·Optionally·read·the·corresponding·SOP·Instance
176 ················#·instance·=·dcmread(Path(root_dir)·/·p)176 ················#·instance·=·dcmread(Path(root_dir)·/·p)
177 ················#·print(instance.PatientName)177 ················#·print(instance.PatientName)
178 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.085·seconds)178 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.012·seconds)
179 _\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__\x8d_\x8i_\x8c_\x8o_\x8m_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8o_\x8r_\x8y_\x8._\x8i_\x8p_\x8y_\x8n_\x8b179 _\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__\x8d_\x8i_\x8c_\x8o_\x8m_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8o_\x8r_\x8y_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
180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 _\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_\x8y182 _\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
183 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t183 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
184 ===============================================================================184 ===============================================================================
185 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.185 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
5.23 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_fileset.html
    
Offset 189, 15 lines modifiedOffset 189, 15 lines modified
189 ····Modality=MR·-·3·SOP·Instances189 ····Modality=MR·-·3·SOP·Instances
190 ····Modality=MR·-·7·SOP·Instances190 ····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.118191 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=&#39;MONOCHROME1&#39;·without·loading·the·stored·instances·and·3·instances·with·loading192 Found·0·instances·with·PhotometricInterpretation=&#39;MONOCHROME1&#39;·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/dicomdirtests193 Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/test_files/dicomdirtests
194 File-set·copied·to·/tmp/tmprsgch3jf·and·contains·the·following·files:194 File-set·copied·to·/tmp/tmpsdryeqz6·and·contains·the·following·files:
195 ··DICOMDIR195 ··DICOMDIR
196 ··PT000000/ST000000/SE000000/IM000000196 ··PT000000/ST000000/SE000000/IM000000
197 ··PT000000/ST000000/SE000001/IM000000197 ··PT000000/ST000000/SE000001/IM000000
198 ··PT000000/ST000000/SE000002/IM000000198 ··PT000000/ST000000/SE000002/IM000000
199 ··PT000000/ST000001/SE000000/IM000000199 ··PT000000/ST000001/SE000000/IM000000
200 ··PT000000/ST000001/SE000000/IM000001200 ··PT000000/ST000001/SE000000/IM000001
201 ··PT000000/ST000001/SE000000/IM000002201 ··PT000000/ST000001/SE000000/IM000002
Offset 345, 15 lines modifiedOffset 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">&#39;**/*&#39;</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">&#39;**/*&#39;</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">&quot;··</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">&quot;</span><span·class="p">)</span>349 ········<span·class="nb">print</span><span·class="p">(</span><span·class="sa">f</span><span·class="s2">&quot;··</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">&quot;</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·2.143·seconds)</p>352 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.237·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>
2.02 KB
html2text {}
    
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 Found·7·instances·for108 Found·7·instances·for
109 SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118109 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·loading110 Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading
111 the·stored·instances·and·3·instances·with·loading111 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/dicomdirtests113 test_files/dicomdirtests
114 File-set·copied·to·/tmp/tmprsgch3jf·and·contains·the·following·files:114 File-set·copied·to·/tmp/tmpsdryeqz6·and·contains·the·following·files:
115 ··DICOMDIR115 ··DICOMDIR
116 ··PT000000/ST000000/SE000000/IM000000116 ··PT000000/ST000000/SE000000/IM000000
117 ··PT000000/ST000000/SE000001/IM000000117 ··PT000000/ST000000/SE000001/IM000000
118 ··PT000000/ST000000/SE000002/IM000000118 ··PT000000/ST000000/SE000002/IM000000
119 ··PT000000/ST000001/SE000000/IM000000119 ··PT000000/ST000001/SE000000/IM000000
120 ··PT000000/ST000001/SE000000/IM000001120 ··PT000000/ST000001/SE000000/IM000001
121 ··PT000000/ST000001/SE000000/IM000002121 ··PT000000/ST000001/SE000000/IM000002
Offset 258, 15 lines modifiedOffset 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·to260 #·Note·how·the·original·File-set·directory·layout·has·been·changed·to
261 #···the·structure·used·by·pydicom261 #···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·2.143·seconds)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.237·seconds)
266 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e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x8r_\x8e_\x8a_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8e_\x8t_\x8._\x8z_\x8i_\x8p268 _\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_\x8y269 _\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_\x8t270 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
271 ===============================================================================271 ===============================================================================
272 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.272 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
3.43 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_rtplan.html
    
Offset 154, 15 lines modifiedOffset 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">&#39;rtplan.dcm&#39;</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">&#39;rtplan.dcm&#39;</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.039·seconds)</p>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>
1.19 KB
html2text {}
    
Offset 61, 15 lines modifiedOffset 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.039·seconds)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_\x8b67 _\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_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·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G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
71 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t71 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
72 ===============================================================================72 ===============================================================================
73 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.73 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
8.76 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_write_dicom.html
    
Offset 123, 40 lines modifiedOffset 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.·This125 <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·will126 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/tmp5otx_mzu.dcm130 Writing·test·file·/tmp/tmp0a2q_79w.dcm
131 File·saved.131 File·saved.
132 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpfr4hskk6.dcm132 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpaeal2gnj.dcm
133 Load·file·/tmp/tmp5otx_mzu.dcm·...133 Load·file·/tmp/tmp0a2q_79w.dcm·...
134 Dataset.file_meta·-------------------------------134 Dataset.file_meta·-------------------------------
135 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage135 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
136 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3136 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
137 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4137 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
138 -------------------------------------------------138 -------------------------------------------------
139 (0008,·0023)·Content·Date························DA:·&#39;20241223&#39;139 (0008,·0023)·Content·Date························DA:·&#39;20260127&#39;
140 (0008,·0033)·Content·Time························TM:·&#39;203145.848058&#39;140 (0008,·0033)·Content·Time························TM:·&#39;051648.564242&#39;
141 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;141 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;
142 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;142 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;
143 Remove·file·/tmp/tmp5otx_mzu.dcm·...143 Remove·file·/tmp/tmp0a2q_79w.dcm·...
144 Load·file·/tmp/tmpfr4hskk6.dcm·...144 Load·file·/tmp/tmpaeal2gnj.dcm·...
145 Dataset.file_meta·-------------------------------145 Dataset.file_meta·-------------------------------
146 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage146 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
147 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3147 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
148 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian148 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian
149 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4149 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
150 -------------------------------------------------150 -------------------------------------------------
151 (0008,·0023)·Content·Date························DA:·&#39;20241223&#39;151 (0008,·0023)·Content·Date························DA:·&#39;20260127&#39;
152 (0008,·0033)·Content·Time························TM:·&#39;203145.848058&#39;152 (0008,·0033)·Content·Time························TM:·&#39;051648.564242&#39;
153 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;153 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;
154 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;154 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;
155 Remove·file·/tmp/tmpfr4hskk6.dcm·...155 Remove·file·/tmp/tmpaeal2gnj.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·&lt;g.lemaitre58@gmail.com&gt;</span>161 <div·class="highlight-Python·notranslate"><div·class="highlight"><pre><span></span><span·class="c1">#·authors·:·Guillaume·Lemaitre·&lt;g.lemaitre58@gmail.com&gt;</span>
162 <span·class="c1">#·license·:·MIT</span>162 <span·class="c1">#·license·:·MIT</span>
Offset 222, 15 lines modifiedOffset 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">&#39;Remove·file·</span><span·class="si">{}</span><span·class="s1">·...&#39;</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">&#39;Remove·file·</span><span·class="si">{}</span><span·class="s1">·...&#39;</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.027·seconds)</p>228 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.005·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>
3.7 KB
html2text {}
    
Offset 36, 40 lines modifiedOffset 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.·This38 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·will39 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/tmp5otx_mzu.dcm43 Writing·test·file·/tmp/tmp0a2q_79w.dcm
44 File·saved.44 File·saved.
45 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpfr4hskk6.dcm45 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpaeal2gnj.dcm
46 Load·file·/tmp/tmp5otx_mzu.dcm·...46 Load·file·/tmp/tmp0a2q_79w.dcm·...
47 Dataset.file_meta·-------------------------------47 Dataset.file_meta·-------------------------------
48 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage48 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
49 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.349 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
50 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.450 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
51 -------------------------------------------------51 -------------------------------------------------
52 (0008,·0023)·Content·Date························DA:·'20241223'52 (0008,·0023)·Content·Date························DA:·'20260127'
53 (0008,·0033)·Content·Time························TM:·'203145.848058'53 (0008,·0033)·Content·Time························TM:·'051648.564242'
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/tmp5otx_mzu.dcm·...56 Remove·file·/tmp/tmp0a2q_79w.dcm·...
57 Load·file·/tmp/tmpfr4hskk6.dcm·...57 Load·file·/tmp/tmpaeal2gnj.dcm·...
58 Dataset.file_meta·-------------------------------58 Dataset.file_meta·-------------------------------
59 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage59 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
60 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.360 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
61 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian61 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian
62 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.462 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
63 -------------------------------------------------63 -------------------------------------------------
64 (0008,·0023)·Content·Date························DA:·'20241223'64 (0008,·0023)·Content·Date························DA:·'20260127'
65 (0008,·0033)·Content·Time························TM:·'203145.848058'65 (0008,·0033)·Content·Time························TM:·'051648.564242'
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/tmpfr4hskk6.dcm·...68 Remove·file·/tmp/tmpaeal2gnj.dcm·...
  
69 #·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com>69 #·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com>
70 #·license·:·MIT70 #·license·:·MIT
  
71 import·datetime71 import·datetime
72 import·os72 import·os
73 import·tempfile73 import·tempfile
Offset 129, 15 lines modifiedOffset 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·file132 ····#·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.027·seconds)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.005·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_\x8b136 _\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
137 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8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8a_\x8l_\x8l_\x8e_\x8r_\x8y
140 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t140 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
141 ===============================================================================141 ===============================================================================
142 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.142 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
3.44 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/plot_add_dict_entries.html
    
Offset 167, 15 lines modifiedOffset 167, 15 lines modified
167 <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestOne</span>·<span·class="o">=</span>·<span·class="mi">42</span>167 <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestOne</span>·<span·class="o">=</span>·<span·class="mi">42</span>
168 <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestTwo</span>·<span·class="o">=</span>·<span·class="s1">&#39;12345&#39;</span>168 <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestTwo</span>·<span·class="o">=</span>·<span·class="s1">&#39;12345&#39;</span>
169 <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">&#39;1.2.3.4.5&#39;</span>169 <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">&#39;1.2.3.4.5&#39;</span>
  
170 <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>170 <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>
171 </pre></div>171 </pre></div>
172 </div>172 </div>
173 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.003·seconds)</p>173 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.001·seconds)</p>
174 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-add-dict-entries-py">174 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-add-dict-entries-py">
175 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">175 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
176 <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>176 <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 </div>177 </div>
178 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">178 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
179 <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>179 <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>
180 </div>180 </div>
1.16 KB
html2text {}
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ds·=·Dataset()··#·or·could·get·one·from·dcmread,·etc72 ds·=·Dataset()··#·or·could·get·one·from·dcmread,·etc
  
73 ds.TestOne·=·4273 ds.TestOne·=·42
74 ds.TestTwo·=·'12345'74 ds.TestTwo·=·'12345'
75 _\x8d_\x8s_\x8._\x8T_\x8e_\x8s_\x8t_\x8T_\x8h_\x8r_\x8e_\x8e·=·'1.2.3.4.5'75 _\x8d_\x8s_\x8._\x8T_\x8e_\x8s_\x8t_\x8T_\x8h_\x8r_\x8e_\x8e·=·'1.2.3.4.5'
  
76 print(ds.top())76 print(ds.top())
77 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)77 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.001·seconds)
78 _\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__\x8a_\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x8__\x8d_\x8i_\x8c_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8i_\x8e_\x8s_\x8._\x8z_\x8i_\x8p80 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8a_\x8d_\x8d_\x8__\x8d_\x8i_\x8c_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8i_\x8e_\x8s_\x8._\x8z_\x8i_\x8p
81 _\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_\x8y81 _\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
82 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t82 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
83 ===============================================================================83 ===============================================================================
84 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.84 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
3.09 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/plot_anonymize.html
    
Offset 202, 15 lines modifiedOffset 202, 15 lines modified
202 <span·class="n">dataset</span><span·class="o">.</span><span·class="n">save_as</span><span·class="p">(</span><span·class="n">output_filename</span><span·class="p">)</span>202 <span·class="n">dataset</span><span·class="o">.</span><span·class="n">save_as</span><span·class="p">(</span><span·class="n">output_filename</span><span·class="p">)</span>
203 </pre></div>203 </pre></div>
204 </div>204 </div>
205 <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>(0010,·0020)·Patient·ID··························LO:·&#39;id&#39;205 <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>(0010,·0020)·Patient·ID··························LO:·&#39;id&#39;
206 (0010,·0030)·Patient&#39;s·Birth·Date················DA:·&#39;19000101&#39;206 (0010,·0030)·Patient&#39;s·Birth·Date················DA:·&#39;19000101&#39;
207 </pre></div>207 </pre></div>
208 </div>208 </div>
209 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.090·seconds)</p>209 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.008·seconds)</p>
210 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-anonymize-py">210 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-anonymize-py">
211 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">211 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
212 <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>212 <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>
213 </div>213 </div>
214 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">214 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
215 <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>215 <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>
216 </div>216 </div>
1.21 KB
html2text {}
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 for·de·in·data_elements:91 for·de·in·data_elements:
92 ····print(dataset.data_element(de))92 ····print(dataset.data_element(de))
  
93 output_filename·=·tempfile.NamedTemporaryFile().name93 output_filename·=·tempfile.NamedTemporaryFile().name
94 dataset.save_as(output_filename)94 dataset.save_as(output_filename)
95 (0010,·0020)·Patient·ID··························LO:·'id'95 (0010,·0020)·Patient·ID··························LO:·'id'
96 (0010,·0030)·Patient's·Birth·Date················DA:·'19000101'96 (0010,·0030)·Patient's·Birth·Date················DA:·'19000101'
97 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.090·seconds)97 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·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\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8a_\x8n_\x8o_\x8n_\x8y_\x8m_\x8i_\x8z_\x8e_\x8._\x8z_\x8i_\x8p100 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8a_\x8n_\x8o_\x8n_\x8y_\x8m_\x8i_\x8z_\x8e_\x8._\x8z_\x8i_\x8p
101 _\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_\x8y101 _\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
102 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t102 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
103 ===============================================================================103 ===============================================================================
104 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.104 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
3.69 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/plot_sequences.html
    
Offset 156, 15 lines modifiedOffset 156, 15 lines modified
156 <span·class="n">block_ds3</span>·<span·class="o">=</span>·<span·class="n">Dataset</span><span·class="p">()</span>156 <span·class="n">block_ds3</span>·<span·class="o">=</span>·<span·class="n">Dataset</span><span·class="p">()</span>
157 <span·class="c1">#·add·data·elements·to·it·as·above·and·don&#39;t·forget·to·update·Number·of·Blocks</span>157 <span·class="c1">#·add·data·elements·to·it·as·above·and·don&#39;t·forget·to·update·Number·of·Blocks</span>
158 <span·class="c1">#·data·element</span>158 <span·class="c1">#·data·element</span>
159 <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>159 <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>
160 <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>160 <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>
161 </pre></div>161 </pre></div>
162 </div>162 </div>
163 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.015·seconds)</p>163 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.001·seconds)</p>
164 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-sequences-py">164 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-sequences-py">
165 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">165 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
166 <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>166 <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 </div>167 </div>
168 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">168 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
169 <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>169 <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>
170 </div>170 </div>
1.21 KB
html2text {}
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
  
65 #·create·a·new·data·set65 #·create·a·new·data·set
66 block_ds3·=·Dataset()66 block_ds3·=·Dataset()
67 #·add·data·elements·to·it·as·above·and·don't·forget·to·update·Number·of·Blocks67 #·add·data·elements·to·it·as·above·and·don't·forget·to·update·Number·of·Blocks
68 #·data·element68 #·data·element
69 _\x8b_\x8e_\x8a_\x8m_\x80_\x8._\x8B_\x8l_\x8o_\x8c_\x8k_\x8S_\x8e_\x8q_\x8u_\x8e_\x8n_\x8c_\x8e_\x8._\x8a_\x8p_\x8p_\x8e_\x8n_\x8d(block_ds3)69 _\x8b_\x8e_\x8a_\x8m_\x80_\x8._\x8B_\x8l_\x8o_\x8c_\x8k_\x8S_\x8e_\x8q_\x8u_\x8e_\x8n_\x8c_\x8e_\x8._\x8a_\x8p_\x8p_\x8e_\x8n_\x8d(block_ds3)
70 del·plan_ds.BeamSequence[0].BlockSequence[1]70 del·plan_ds.BeamSequence[0].BlockSequence[1]
71 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.015·seconds)71 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.001·seconds)
72 _\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__\x8s_\x8e_\x8q_\x8u_\x8e_\x8n_\x8c_\x8e_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b72 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J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\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_\x8y75 _\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
76 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t76 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
77 ===============================================================================77 ===============================================================================
78 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.78 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
3.45 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/plot_dicom_difference.html
    
Offset 817, 15 lines modifiedOffset 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">&quot;?&quot;</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">&quot;?&quot;</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·1.381·seconds)</p>823 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.091·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>
1.13 KB
html2text {}
    
Offset 744, 15 lines modifiedOffset 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·1.381·seconds)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.091·seconds)
750 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_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
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_\x8p752 _\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_\x8y753 _\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_\x8t754 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
755 ===============================================================================755 ===============================================================================
756 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.756 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
9.33 KB
./usr/share/doc/python-pydicom-doc/html/searchindex.js
9.22 KB
js-beautify {}
    
Offset 5226, 15 lines modifiedOffset 5226, 15 lines modified
5226 ········"00080008":·502,5226 ········"00080008":·502,
5227 ········"0009":·[18,·40,·47,·128,·211,·215,·476,·489],5227 ········"0009":·[18,·40,·47,·128,·211,·215,·476,·489],
5228 ········"00091002":·502,5228 ········"00091002":·502,
5229 ········"000b":·40,5229 ········"000b":·40,
5230 ········"000d":·[2,·18],5230 ········"000d":·[2,·18],
5231 ········"000e":·[2,·18],5231 ········"000e":·[2,·18],
5232 ········"000y":·18,5232 ········"000y":·18,
5233 ········"001":·40,5233 ········"001":·[15,·17,·40],
5234 ········"0010":·[2,·12,·16,·18,·23,·24,·25,·33,·35,·40,·46,·47,·63,·64,·94,·128,·132,·139,·140,·141,·156,·178,·191,·201,·211,·212,·213,·214,·215,·468,·469,·476,·485,·500,·501,·503,·505],5234 ········"0010":·[2,·12,·16,·18,·23,·24,·25,·33,·35,·40,·46,·47,·63,·64,·94,·128,·132,·139,·140,·141,·156,·178,·191,·201,·211,·212,·213,·214,·215,·468,·469,·476,·485,·500,·501,·503,·505],
5235 ········"0011":·[2,·18,·46,·128,·201,·211,·213,·214,·215],5235 ········"0011":·[2,·18,·46,·128,·201,·211,·213,·214,·215],
5236 ········"0012":·[2,·12,·18,·23,·24,·25,·35,·40,·132,·191,·353,·501],5236 ········"0012":·[2,·12,·18,·23,·24,·25,·35,·40,·132,·191,·353,·501],
5237 ········"0013":·[2,·18,·23,·24,·25,·35,·40,·132,·191,·501,·503],5237 ········"0013":·[2,·18,·23,·24,·25,·35,·40,·132,·191,·501,·503],
5238 ········"0014":·[2,·18,·23,·24,·25,·501],5238 ········"0014":·[2,·18,·23,·24,·25,·501],
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],
Offset 5249, 34 lines modifiedOffset 5249, 37 lines modified
5249 ········"0023":·[2,·12,·18,·23,·24],5249 ········"0023":·[2,·12,·18,·23,·24],
5250 ········"0025":·18,5250 ········"0025":·18,
5251 ········"0026":·[23,·24],5251 ········"0026":·[23,·24],
5252 ········"0027":·18,5252 ········"0027":·18,
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],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],
5254 ········"0029":·18,5254 ········"0029":·18,
5255 ········"002c":·[23,·24],5255 ········"002c":·[23,·24],
5256 ········"003":·15,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 ········"0040":·[2,·18],5265 ········"0040":·[2,·18],
5266 ········"0041":·128,5266 ········"0041":·128,
5267 ········"0043":·[18,·23,·25,·501],5267 ········"0043":·[18,·23,·25,·501],
 5268 ········"005":·12,
5268 ········"0050":·[2,·18,·23,·24,·35,·46],5269 ········"0050":·[2,·18,·23,·24,·35,·46],
5269 ········"0051":·[23,·24],5270 ········"0051":·[23,·24],
5270 ········"0052":·[2,·18],5271 ········"0052":·[2,·18],
 5272 ········"006":·[2,·7],
5271 ········"0060":·[2,·18,·23,·24,·35],5273 ········"0060":·[2,·18,·23,·24,·35],
5272 ········"007":·13,5274 ········"007":·13,
5273 ········"0070":·[2,·18,·23,·24],5275 ········"0070":·[2,·18,·23,·24],
5274 ········"0071":·[23,·24,·25],5276 ········"0071":·[23,·24,·25],
5275 ········"0078":·[23,·24,·25],5277 ········"0078":·[23,·24,·25],
 5278 ········"008":·16,
5276 ········"0080":·[2,·18,·23,·24,·25],5279 ········"0080":·[2,·18,·23,·24,·25],
5277 ········"0081":·[2,·18],5280 ········"0081":·[2,·18],
5278 ········"0082":·[23,·24,·25],5281 ········"0082":·[23,·24,·25],
5279 ········"0083":·[2,·18],5282 ········"0083":·[2,·18],
5280 ········"0084":·[2,·18,·23,·24,·25],5283 ········"0084":·[2,·18,·23,·24,·25],
5281 ········"0085":·[2,·18],5284 ········"0085":·[2,·18],
5282 ········"0086":·[2,·18,·23,·24,·25],5285 ········"0086":·[2,·18,·23,·24,·25],
Offset 5294, 50 lines modifiedOffset 5297, 49 lines modified
5294 ········"0103":·[2,·18,·31,·128,·203,·204,·211,·213,·214,·215],5297 ········"0103":·[2,·18,·31,·128,·203,·204,·211,·213,·214,·215],
5295 ········"0106":·[2,·18],5298 ········"0106":·[2,·18],
5296 ········"0107":·[2,·18],5299 ········"0107":·[2,·18],
5297 ········"010c":·[23,·24],5300 ········"010c":·[23,·24],
5298 ········"0111":·[23,·24],5301 ········"0111":·[23,·24],
5299 ········"0115":·[23,·24],5302 ········"0115":·[23,·24],
5300 ········"011a":·[23,·24],5303 ········"011a":·[23,·24],
 5304 ········"012":·9,
5301 ········"0120":·18,5305 ········"0120":·18,
5302 ········"015":·17, 
5303 ········"0166":·18,5306 ········"0166":·18,
5304 ········"0180":·[23,·24],5307 ········"0180":·[23,·24],
5305 ········"0182":·37,5308 ········"0182":·37,
5306 ········"0197b5846bb5":·[476,·483],5309 ········"0197b5846bb5":·[476,·483],
5307 ········"01b2":·37,5310 ········"01b2":·37,
5308 ········"0200":·509,5311 ········"0200":·509,
5309 ········"0201":·[2,·18,·476,·488],5312 ········"0201":·[2,·18,·476,·488],
5310 ········"0210":·[128,·468,·509],5313 ········"0210":·[128,·468,·509],
5311 ········"0211":·128,5314 ········"0211":·128,
5312 ········"025109":·[10,·503],5315 ········"025109":·[10,·503],
5313 ········"027":·12, 
5314 ········"0275401":·[23,·24,·25],5316 ········"0275401":·[23,·24,·25],
5315 ········"02754010000000":·[23,·25],5317 ········"02754010000000":·[23,·25],
5316 ········"033":·19,5318 ········"033":·19,
5317 ········"035797":·18,5319 ········"035797":·18,
5318 ········"03579711914062":·18,5320 ········"03579711914062":·18,
5319 ········"039":·[7,·11], 
5320 ········"0400":·[2,·7,·18],5321 ········"0400":·[2,·7,·18],
5321 ········"0411bab7c985":·[476,·483],5322 ········"0411bab7c985":·[476,·483],
5322 ········"045357":·[10,·503],5323 ········"045357":·[10,·503],
5323 ········"05":·[18,·500],5324 ········"05":·[18,·500],
5324 ········"0500":·18,5325 ········"0500":·18,
5325 ········"050743":·[10,·503],5326 ········"050743":·[10,·503],
 5327 ········"051648":·12,
5326 ········"072730":·[18,·23,·25],5328 ········"072730":·[18,·23,·25],
5327 ········"072731":·[18,·23,·25,·501],5329 ········"072731":·[18,·23,·25,·501],
5328 ········"07992553710938":·18,5330 ········"07992553710938":·18,
5329 ········"079926":·18,5331 ········"079926":·18,
5330 ········"079956":·18,5332 ········"079956":·18,
5331 ········"08":·142,5333 ········"08":·142,
5332 ········"085":·9, 
5333 ········"085000":·18,5334 ········"085000":·18,
5334 ········"090":·16,5335 ········"091":·18,
5335 ········"095":·18,5336 ········"095":·18,
5336 ········"095000":·18,5337 ········"095000":·18,
 5338 ········"099":·8,
5337 ········"0x00":·[136,·138,·178,·459],5339 ········"0x00":·[136,·138,·178,·459],
5338 ········"0x00000000":·[140,·142],5340 ········"0x00000000":·[140,·142],
5339 ········"0x0002":·[129,·501],5341 ········"0x0002":·[129,·501],
5340 ········"0x0006":·[476,·486],5342 ········"0x0006":·[476,·486],
5341 ········"0x0008":·501,5343 ········"0x0008":·501,
5342 ········"0x0009":·40,5344 ········"0x0009":·40,
5343 ········"0x00091001":·40,5345 ········"0x00091001":·40,
Offset 5616, 20 lines modifiedOffset 5618, 19 lines modified
5616 ········"1400":·[167,·503],5618 ········"1400":·[167,·503],
5617 ········"1410":·[167,·503],5619 ········"1410":·[167,·503],
5618 ········"1412":·[476,·494],5620 ········"1412":·[476,·494],
5619 ········"1414":·[476,·496],5621 ········"1414":·[476,·496],
5620 ········"1415":·[476,·494],5622 ········"1415":·[476,·494],
5621 ········"1420":·[167,·503],5623 ········"1420":·[167,·503],
5622 ········"1428":·[476,·494],5624 ········"1428":·[476,·494],
5623 ········"143":·[10,·476,·485],5625 ········"143":·[476,·485],
5624 ········"1430":·[165,·503],5626 ········"1430":·[165,·503],
5625 ········"1434":·[476,·494],5627 ········"1434":·[476,·494],
5626 ········"1436":·501,5628 ········"1436":·501,
5627 ········"1438":·[476,·494],5629 ········"1438":·[476,·494],
5628 ········"144":·2, 
5629 ········"1444":·[476,·494],5630 ········"1444":·[476,·494],
5630 ········"1449":·[476,·494],5631 ········"1449":·[476,·494],
5631 ········"14495":·314,5632 ········"14495":·314,
5632 ········"1457":·[476,·494],5633 ········"1457":·[476,·494],
5633 ········"1487":·[476,·495],5634 ········"1487":·[476,·495],
5634 ········"1498":·[476,·495],5635 ········"1498":·[476,·495],
Max diff block lines reached; 5306/9413 bytes (56.37%) of diff not shown.