110 KB
/srv/reproducible-results/rbuild-debian/r-b-build.2lNQf0sH/b1/pydicom_2.4.3-1_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.2lNQf0sH/b2/pydicom_2.4.3-1_amd64.changes
299 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·2418a92e3963e2a3023acf34375c5cb3·963052·doc·optional·python-pydicom-doc_2.4.3-1_all.deb1 ·59cdd4335da79ab8a63cb89a382649c6·963140·doc·optional·python-pydicom-doc_2.4.3-1_all.deb
2 ·ecc65934d550121ff19bbd98a74c72e3·1119976·python·optional·python3-pydicom_2.4.3-1_all.deb2 ·ecc65934d550121ff19bbd98a74c72e3·1119976·python·optional·python3-pydicom_2.4.3-1_all.deb
109 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····29764·2024-01-26·12:08:13.000000·control.tar.xz2 -rw-r--r--···0········0········0····29752·2024-01-26·12:08:13.000000·control.tar.xz
3 -rw-r--r--···0········0········0···933096·2024-01-26·12:08:13.000000·data.tar.xz3 -rw-r--r--···0········0········0···933196·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
109 KB
data.tar.xz
109 KB
data.tar
2.38 KB
file list
    
Offset 1162, 15 lines modifiedOffset 1162, 15 lines modified
1162 -rw-r--r--···0·root·········(0)·root·········(0)····30101·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.0.html1162 -rw-r--r--···0·root·········(0)·root·········(0)····30101·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.0.html
1163 -rw-r--r--···0·root·········(0)·root·········(0)·····6968·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.1.html1163 -rw-r--r--···0·root·········(0)·root·········(0)·····6968·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.1.1.html
1164 -rw-r--r--···0·root·········(0)·root·········(0)····24705·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.2.0.html1164 -rw-r--r--···0·root·········(0)·root·········(0)····24705·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.2.0.html
1165 -rw-r--r--···0·root·········(0)·root·········(0)····13875·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.3.0.html1165 -rw-r--r--···0·root·········(0)·root·········(0)····13875·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.3.0.html
1166 -rw-r--r--···0·root·········(0)·root·········(0)····11969·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.4.0.html1166 -rw-r--r--···0·root·········(0)·root·········(0)····11969·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.4.0.html
1167 -rw-r--r--···0·root·········(0)·root·········(0)·····6445·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.4.3.html1167 -rw-r--r--···0·root·········(0)·root·········(0)·····6445·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.4.3.html
1168 -rw-r--r--···0·root·········(0)·root·········(0)·····6357·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/search.html1168 -rw-r--r--···0·root·········(0)·root·········(0)·····6357·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/search.html
1169 -rw-r--r--···0·root·········(0)·root·········(0)···441631·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/searchindex.js1169 -rw-r--r--···0·root·········(0)·root·········(0)···441704·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/searchindex.js
1170 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/1170 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/
1171 -rw-r--r--···0·root·········(0)·root·········(0)·····8645·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing.html1171 -rw-r--r--···0·root·········(0)·root·········(0)·····8645·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing.html
1172 -rw-r--r--···0·root·········(0)·root·········(0)····28294·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_code.html1172 -rw-r--r--···0·root·········(0)·root·········(0)····28294·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_code.html
1173 -rw-r--r--···0·root·········(0)·root·········(0)····26313·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_docs.html1173 -rw-r--r--···0·root·········(0)·root·········(0)····26313·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_docs.html
1174 -rw-r--r--···0·root·········(0)·root·········(0)····72022·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dataset_basics.html1174 -rw-r--r--···0·root·········(0)·root·········(0)····72022·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dataset_basics.html
1175 -rw-r--r--···0·root·········(0)·root·········(0)····22003·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dicom_json.html1175 -rw-r--r--···0·root·········(0)·root·········(0)····22003·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dicom_json.html
1176 -rw-r--r--···0·root·········(0)·root·········(0)····63353·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/filesets.html1176 -rw-r--r--···0·root·········(0)·root·········(0)····63353·2024-01-26·12:08:13.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/filesets.html
659 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/image_processing/plot_downsize_image.rst.txt
    
Offset 168, 15 lines modifiedOffset 168, 15 lines modified
168 ····#·print·the·image·information·given·in·the·dataset168 ····#·print·the·image·information·given·in·the·dataset
169 ····print('The·information·of·the·data·set·after·downsampling:·\n')169 ····print('The·information·of·the·data·set·after·downsampling:·\n')
170 ····print(ds)170 ····print(ds)
  
  
171 ..·rst-class::·sphx-glr-timing171 ..·rst-class::·sphx-glr-timing
  
172 ···**Total·running·time·of·the·script:**·(·0·minutes··0.007·seconds)172 ···**Total·running·time·of·the·script:**·(·0·minutes··0.114·seconds)
  
  
173 ..·_sphx_glr_download_auto_examples_image_processing_plot_downsize_image.py:173 ..·_sphx_glr_download_auto_examples_image_processing_plot_downsize_image.py:
  
  
174 ..·only·::·html174 ..·only·::·html
  
549 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··0.197·seconds)86 ···**Total·running·time·of·the·script:**·(·0·minutes··3.687·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
  
1.6 KB
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/image_processing/sg_execution_times.rst.txt
    
Offset 1, 16 lines modifiedOffset 1, 16 lines modified
  
1 :orphan:1 :orphan:
  
2 ..·_sphx_glr_auto_examples_image_processing_sg_execution_times:2 ..·_sphx_glr_auto_examples_image_processing_sg_execution_times:
  
3 Computation·times3 Computation·times
4 =================4 =================
5 **00:00.204**·total·execution·time·for·**auto_examples_image_processing**·files:5 **00:03.801**·total·execution·time·for·**auto_examples_image_processing**·files:
  
6 +----------------------------------------------------------------------------------------------------+-----------+--------+6 +----------------------------------------------------------------------------------------------------+-----------+--------+
7 |·:ref:`sphx_glr_auto_examples_image_processing_plot_waveforms.py`·(``plot_waveforms.py``)···········|·00:00.196·|·0.0·MB·|7 |·:ref:`sphx_glr_auto_examples_image_processing_plot_waveforms.py`·(``plot_waveforms.py``)···········|·00:03.687·|·0.0·MB·|
8 +----------------------------------------------------------------------------------------------------+-----------+--------+8 +----------------------------------------------------------------------------------------------------+-----------+--------+
9 |·:ref:`sphx_glr_auto_examples_image_processing_plot_downsize_image.py`·(``plot_downsize_image.py``)·|·00:00.007·|·0.0·MB·|9 |·:ref:`sphx_glr_auto_examples_image_processing_plot_downsize_image.py`·(``plot_downsize_image.py``)·|·00:00.114·|·0.0·MB·|
10 +----------------------------------------------------------------------------------------------------+-----------+--------+10 +----------------------------------------------------------------------------------------------------+-----------+--------+
11 |·:ref:`sphx_glr_auto_examples_image_processing_reslice.py`·(``reslice.py``)·························|·00:00.000·|·0.0·MB·|11 |·:ref:`sphx_glr_auto_examples_image_processing_reslice.py`·(``reslice.py``)·························|·00:00.000·|·0.0·MB·|
12 +----------------------------------------------------------------------------------------------------+-----------+--------+12 +----------------------------------------------------------------------------------------------------+-----------+--------+
568 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_printing_dataset.rst.txt
    
Offset 161, 15 lines modifiedOffset 161, 15 lines modified
161 ····ds·=·pydicom.dcmread(filename)161 ····ds·=·pydicom.dcmread(filename)
  
162 ····myprint(ds)162 ····myprint(ds)
  
  
163 ..·rst-class::·sphx-glr-timing163 ..·rst-class::·sphx-glr-timing
  
164 ···**Total·running·time·of·the·script:**·(·0·minutes··0.007·seconds)164 ···**Total·running·time·of·the·script:**·(·0·minutes··0.187·seconds)
  
  
165 ..·_sphx_glr_download_auto_examples_input_output_plot_printing_dataset.py:165 ..·_sphx_glr_download_auto_examples_input_output_plot_printing_dataset.py:
  
  
166 ..·only·::·html166 ..·only·::·html
  
598 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_read_dicom.rst.txt
    
Offset 93, 15 lines modifiedOffset 93, 15 lines modified
93 ····#·plot·the·image·using·matplotlib93 ····#·plot·the·image·using·matplotlib
94 ····plt.imshow(ds.pixel_array,·cmap=plt.cm.gray)94 ····plt.imshow(ds.pixel_array,·cmap=plt.cm.gray)
95 ····plt.show()95 ····plt.show()
  
  
96 ..·rst-class::·sphx-glr-timing96 ..·rst-class::·sphx-glr-timing
  
97 ···**Total·running·time·of·the·script:**·(·0·minutes··0.105·seconds)97 ···**Total·running·time·of·the·script:**·(·0·minutes··1.897·seconds)
  
  
98 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom.py:98 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom.py:
  
  
99 ..·only·::·html99 ..·only·::·html
  
708 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_read_dicom_directory.rst.txt
    
Offset 172, 15 lines modifiedOffset 172, 15 lines modified
172 ····················#·Optionally·read·the·corresponding·SOP·Instance172 ····················#·Optionally·read·the·corresponding·SOP·Instance
173 ····················#·instance·=·dcmread(Path(root_dir)·/·p)173 ····················#·instance·=·dcmread(Path(root_dir)·/·p)
174 ····················#·print(instance.PatientName)174 ····················#·print(instance.PatientName)
  
  
175 ..·rst-class::·sphx-glr-timing175 ..·rst-class::·sphx-glr-timing
  
176 ···**Total·running·time·of·the·script:**·(·0·minutes··0.015·seconds)176 ···**Total·running·time·of·the·script:**·(·0·minutes··0.317·seconds)
  
  
177 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom_directory.py:177 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom_directory.py:
  
  
178 ..·only·::·html178 ..·only·::·html
  
1.45 KB
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_read_fileset.rst.txt
    
Offset 101, 15 lines modifiedOffset 101, 15 lines modified
101 ········Modality=MR·-·3·SOP·Instances101 ········Modality=MR·-·3·SOP·Instances
102 ········Modality=MR·-·7·SOP·Instances102 ········Modality=MR·-·7·SOP·Instances
  
103 ····Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118103 ····Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118
104 ····Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading·the·stored·instances·and·3·instances·with·loading104 ····Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading·the·stored·instances·and·3·instances·with·loading
  
105 ····Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/test_files/dicomdirtests105 ····Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/test_files/dicomdirtests
106 ····File-set·copied·to·/tmp/tmpi_kuyyv8·and·contains·the·following·files:106 ····File-set·copied·to·/tmp/tmp4_zb4710·and·contains·the·following·files:
107 ······DICOMDIR107 ······DICOMDIR
108 ······PT000000/ST000000/SE000000/IM000000108 ······PT000000/ST000000/SE000000/IM000000
109 ······PT000000/ST000000/SE000001/IM000000109 ······PT000000/ST000000/SE000001/IM000000
110 ······PT000000/ST000000/SE000002/IM000000110 ······PT000000/ST000000/SE000002/IM000000
111 ······PT000000/ST000001/SE000000/IM000000111 ······PT000000/ST000001/SE000000/IM000000
112 ······PT000000/ST000001/SE000000/IM000001112 ······PT000000/ST000001/SE000000/IM000001
113 ······PT000000/ST000001/SE000000/IM000002113 ······PT000000/ST000001/SE000000/IM000002
617 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_read_rtplan.rst.txt
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ····filename·=·get_testdata_file('rtplan.dcm')75 ····filename·=·get_testdata_file('rtplan.dcm')
76 ····dataset·=·pydicom.dcmread(filename)76 ····dataset·=·pydicom.dcmread(filename)
77 ····print(list_beams(dataset))77 ····print(list_beams(dataset))
  
  
78 ..·rst-class::·sphx-glr-timing78 ..·rst-class::·sphx-glr-timing
  
79 ···**Total·running·time·of·the·script:**·(·0·minutes··0.003·seconds)79 ···**Total·running·time·of·the·script:**·(·0·minutes··0.032·seconds)
  
  
80 ..·_sphx_glr_download_auto_examples_input_output_plot_read_rtplan.py:80 ..·_sphx_glr_download_auto_examples_input_output_plot_read_rtplan.py:
  
  
81 ..·only·::·html81 ..·only·::·html
  
2.83 KB
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_write_dicom.rst.txt
    
Offset 35, 40 lines modifiedOffset 35, 40 lines modified
  
35 ·Out:35 ·Out:
  
36 ·..·code-block::·none36 ·..·code-block::·none
  
37 ····Setting·file·meta·information...37 ····Setting·file·meta·information...
38 ····Setting·dataset·values...38 ····Setting·dataset·values...
39 ····Writing·test·file·/tmp/tmp8rqg3gr0.dcm39 ····Writing·test·file·/tmp/tmp37k25zh9.dcm
40 ····File·saved.40 ····File·saved.
41 ····Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp5hr8ko95.dcm41 ····Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpffdrhl93.dcm
42 ····Load·file·/tmp/tmp8rqg3gr0.dcm·...42 ····Load·file·/tmp/tmp37k25zh9.dcm·...
43 ····Dataset.file_meta·-------------------------------43 ····Dataset.file_meta·-------------------------------
44 ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage44 ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
45 ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.345 ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
46 ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.446 ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
47 ····-------------------------------------------------47 ····-------------------------------------------------
48 ····(0008,·0023)·Content·Date························DA:·'20250530'48 ····(0008,·0023)·Content·Date························DA:·'20240428'
49 ····(0008,·0033)·Content·Time························TM:·'144805.830344'49 ····(0008,·0033)·Content·Time························TM:·'105027.454594'
50 ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'50 ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'
51 ····(0010,·0020)·Patient·ID··························LO:·'123456'51 ····(0010,·0020)·Patient·ID··························LO:·'123456'
52 ····Remove·file·/tmp/tmp8rqg3gr0.dcm·...52 ····Remove·file·/tmp/tmp37k25zh9.dcm·...
53 ····Load·file·/tmp/tmp5hr8ko95.dcm·...53 ····Load·file·/tmp/tmpffdrhl93.dcm·...
54 ····Dataset.file_meta·-------------------------------54 ····Dataset.file_meta·-------------------------------
55 ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage55 ····(0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
56 ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.356 ····(0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
57 ····(0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian57 ····(0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian
58 ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.458 ····(0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
59 ····-------------------------------------------------59 ····-------------------------------------------------
60 ····(0008,·0023)·Content·Date························DA:·'20250530'60 ····(0008,·0023)·Content·Date························DA:·'20240428'
61 ····(0008,·0033)·Content·Time························TM:·'144805.830344'61 ····(0008,·0033)·Content·Time························TM:·'105027.454594'
62 ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'62 ····(0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'
63 ····(0010,·0020)·Patient·ID··························LO:·'123456'63 ····(0010,·0020)·Patient·ID··························LO:·'123456'
64 ····Remove·file·/tmp/tmp5hr8ko95.dcm·...64 ····Remove·file·/tmp/tmpffdrhl93.dcm·...
  
  
  
  
  
  
65 |65 |
2.95 KB
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/sg_execution_times.rst.txt
    
Offset 1, 22 lines modifiedOffset 1, 22 lines modified
  
1 :orphan:1 :orphan:
  
2 ..·_sphx_glr_auto_examples_input_output_sg_execution_times:2 ..·_sphx_glr_auto_examples_input_output_sg_execution_times:
  
3 Computation·times3 Computation·times
4 =================4 =================
5 **00:00.394**·total·execution·time·for·**auto_examples_input_output**·files:5 **00:07.900**·total·execution·time·for·**auto_examples_input_output**·files:
  
6 +------------------------------------------------------------------------------------------------------------+-----------+--------+6 +------------------------------------------------------------------------------------------------------------+-----------+--------+
7 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_fileset.py`·(``plot_read_fileset.py``)·················|·00:00.258·|·0.0·MB·|7 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_fileset.py`·(``plot_read_fileset.py``)·················|·00:05.333·|·0.0·MB·|
8 +------------------------------------------------------------------------------------------------------------+-----------+--------+8 +------------------------------------------------------------------------------------------------------------+-----------+--------+
9 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom.py`·(``plot_read_dicom.py``)·····················|·00:00.105·|·0.0·MB·|9 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom.py`·(``plot_read_dicom.py``)·····················|·00:01.897·|·0.0·MB·|
10 +------------------------------------------------------------------------------------------------------------+-----------+--------+10 +------------------------------------------------------------------------------------------------------------+-----------+--------+
11 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom_directory.py`·(``plot_read_dicom_directory.py``)·|·00:00.015·|·0.0·MB·|11 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom_directory.py`·(``plot_read_dicom_directory.py``)·|·00:00.317·|·0.0·MB·|
12 +------------------------------------------------------------------------------------------------------------+-----------+--------+12 +------------------------------------------------------------------------------------------------------------+-----------+--------+
13 |·:ref:`sphx_glr_auto_examples_input_output_plot_printing_dataset.py`·(``plot_printing_dataset.py``)·········|·00:00.007·|·0.0·MB·|13 |·:ref:`sphx_glr_auto_examples_input_output_plot_printing_dataset.py`·(``plot_printing_dataset.py``)·········|·00:00.187·|·0.0·MB·|
14 +------------------------------------------------------------------------------------------------------------+-----------+--------+14 +------------------------------------------------------------------------------------------------------------+-----------+--------+
15 |·:ref:`sphx_glr_auto_examples_input_output_plot_write_dicom.py`·(``plot_write_dicom.py``)···················|·00:00.006·|·0.0·MB·|15 |·:ref:`sphx_glr_auto_examples_input_output_plot_write_dicom.py`·(``plot_write_dicom.py``)···················|·00:00.135·|·0.0·MB·|
16 +------------------------------------------------------------------------------------------------------------+-----------+--------+16 +------------------------------------------------------------------------------------------------------------+-----------+--------+
17 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_rtplan.py`·(``plot_read_rtplan.py``)···················|·00:00.003·|·0.0·MB·|17 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_rtplan.py`·(``plot_read_rtplan.py``)···················|·00:00.032·|·0.0·MB·|
18 +------------------------------------------------------------------------------------------------------------+-----------+--------+18 +------------------------------------------------------------------------------------------------------------+-----------+--------+
587 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/metadata_processing/plot_add_dict_entries.rst.txt
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ····ds.TestThree·=·'1.2.3.4.5'91 ····ds.TestThree·=·'1.2.3.4.5'
  
92 ····print(ds.top())92 ····print(ds.top())
  
  
93 ..·rst-class::·sphx-glr-timing93 ..·rst-class::·sphx-glr-timing
  
94 ···**Total·running·time·of·the·script:**·(·0·minutes··0.001·seconds)94 ···**Total·running·time·of·the·script:**·(·0·minutes··0.024·seconds)
  
  
95 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_add_dict_entries.py:95 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_add_dict_entries.py:
  
  
96 ..·only·::·html96 ..·only·::·html
  
519 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/metadata_processing/plot_anonymize.rst.txt
    
Offset 227, 15 lines modifiedOffset 227, 15 lines modified
  
  
  
  
  
227 ..·rst-class::·sphx-glr-timing227 ..·rst-class::·sphx-glr-timing
  
228 ···**Total·running·time·of·the·script:**·(·0·minutes··0.010·seconds)228 ···**Total·running·time·of·the·script:**·(·0·minutes··0.170·seconds)
  
  
229 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_anonymize.py:229 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_anonymize.py:
  
  
230 ..·only·::·html230 ..·only·::·html
  
624 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/metadata_processing/plot_sequences.rst.txt
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ····#·data·element79 ····#·data·element
80 ····beam0.BlockSequence.append(block_ds3)80 ····beam0.BlockSequence.append(block_ds3)
81 ····del·plan_ds.BeamSequence[0].BlockSequence[1]81 ····del·plan_ds.BeamSequence[0].BlockSequence[1]
  
  
82 ..·rst-class::·sphx-glr-timing82 ..·rst-class::·sphx-glr-timing
  
83 ···**Total·running·time·of·the·script:**·(·0·minutes··0.001·seconds)83 ···**Total·running·time·of·the·script:**·(·0·minutes··0.024·seconds)
  
  
84 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_sequences.py:84 ..·_sphx_glr_download_auto_examples_metadata_processing_plot_sequences.py:
  
  
85 ..·only·::·html85 ..·only·::·html
  
1.81 KB
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/metadata_processing/sg_execution_times.rst.txt
    
Offset 1, 16 lines modifiedOffset 1, 16 lines modified
  
1 :orphan:1 :orphan:
  
2 ..·_sphx_glr_auto_examples_metadata_processing_sg_execution_times:2 ..·_sphx_glr_auto_examples_metadata_processing_sg_execution_times:
  
3 Computation·times3 Computation·times
4 =================4 =================
5 **00:00.013**·total·execution·time·for·**auto_examples_metadata_processing**·files:5 **00:00.218**·total·execution·time·for·**auto_examples_metadata_processing**·files:
  
6 +-----------------------------------------------------------------------------------------------------------+-----------+--------+6 +-----------------------------------------------------------------------------------------------------------+-----------+--------+
7 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_anonymize.py`·(``plot_anonymize.py``)···············|·00:00.010·|·0.0·MB·|7 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_anonymize.py`·(``plot_anonymize.py``)···············|·00:00.170·|·0.0·MB·|
8 +-----------------------------------------------------------------------------------------------------------+-----------+--------+8 +-----------------------------------------------------------------------------------------------------------+-----------+--------+
9 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_sequences.py`·(``plot_sequences.py``)···············|·00:00.001·|·0.0·MB·|9 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_sequences.py`·(``plot_sequences.py``)···············|·00:00.024·|·0.0·MB·|
10 +-----------------------------------------------------------------------------------------------------------+-----------+--------+10 +-----------------------------------------------------------------------------------------------------------+-----------+--------+
11 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_add_dict_entries.py`·(``plot_add_dict_entries.py``)·|·00:00.001·|·0.0·MB·|11 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_add_dict_entries.py`·(``plot_add_dict_entries.py``)·|·00:00.024·|·0.0·MB·|
12 +-----------------------------------------------------------------------------------------------------------+-----------+--------+12 +-----------------------------------------------------------------------------------------------------------+-----------+--------+
574 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/plot_dicom_difference.rst.txt
    
Offset 747, 15 lines modifiedOffset 747, 15 lines modified
747 ····for·line·in·diff.compare(rep[0],·rep[1]):747 ····for·line·in·diff.compare(rep[0],·rep[1]):
748 ········if·line[0]·!=·"?":748 ········if·line[0]·!=·"?":
749 ············print(line)749 ············print(line)
  
  
750 ..·rst-class::·sphx-glr-timing750 ..·rst-class::·sphx-glr-timing
  
751 ···**Total·running·time·of·the·script:**·(·0·minutes··0.103·seconds)751 ···**Total·running·time·of·the·script:**·(·0·minutes··1.824·seconds)
  
  
752 ..·_sphx_glr_download_auto_examples_plot_dicom_difference.py:752 ..·_sphx_glr_download_auto_examples_plot_dicom_difference.py:
  
  
753 ..·only·::·html753 ..·only·::·html
  
1.51 KB
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/sg_execution_times.rst.txt
    
Offset 1, 18 lines modifiedOffset 1, 18 lines modified
  
1 :orphan:1 :orphan:
  
2 ..·_sphx_glr_auto_examples_sg_execution_times:2 ..·_sphx_glr_auto_examples_sg_execution_times:
  
3 Computation·times3 Computation·times
4 =================4 =================
5 **00:00.103**·total·execution·time·for·**auto_examples**·files:5 **00:01.824**·total·execution·time·for·**auto_examples**·files:
  
6 +---------------------------------------------------------------------------------------+-----------+--------+6 +---------------------------------------------------------------------------------------+-----------+--------+
7 |·:ref:`sphx_glr_auto_examples_plot_dicom_difference.py`·(``plot_dicom_difference.py``)·|·00:00.103·|·0.0·MB·|7 |·:ref:`sphx_glr_auto_examples_plot_dicom_difference.py`·(``plot_dicom_difference.py``)·|·00:01.824·|·0.0·MB·|
8 +---------------------------------------------------------------------------------------+-----------+--------+8 +---------------------------------------------------------------------------------------+-----------+--------+
9 |·:ref:`sphx_glr_auto_examples_dicomtree.py`·(``dicomtree.py``)·························|·00:00.000·|·0.0·MB·|9 |·:ref:`sphx_glr_auto_examples_dicomtree.py`·(``dicomtree.py``)·························|·00:00.000·|·0.0·MB·|
10 +---------------------------------------------------------------------------------------+-----------+--------+10 +---------------------------------------------------------------------------------------+-----------+--------+
11 |·:ref:`sphx_glr_auto_examples_memory_dataset.py`·(``memory_dataset.py``)···············|·00:00.000·|·0.0·MB·|11 |·:ref:`sphx_glr_auto_examples_memory_dataset.py`·(``memory_dataset.py``)···············|·00:00.000·|·0.0·MB·|
12 +---------------------------------------------------------------------------------------+-----------+--------+12 +---------------------------------------------------------------------------------------+-----------+--------+
13 |·:ref:`sphx_glr_auto_examples_show_charset_name.py`·(``show_charset_name.py``)·········|·00:00.000·|·0.0·MB·|13 |·:ref:`sphx_glr_auto_examples_show_charset_name.py`·(``show_charset_name.py``)·········|·00:00.000·|·0.0·MB·|
14 +---------------------------------------------------------------------------------------+-----------+--------+14 +---------------------------------------------------------------------------------------+-----------+--------+
3.42 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/image_processing/plot_downsize_image.html
    
Offset 241, 15 lines modifiedOffset 241, 15 lines modified
241 <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>241 <span·class="n">ds</span><span·class="o">.</span><span·class="n">Rows</span><span·class="p">,</span>·<span·class="n">ds</span><span·class="o">.</span><span·class="n">Columns</span>·<span·class="o">=</span>·<span·class="n">data_downsampling</span><span·class="o">.</span><span·class="n">shape</span>
  
242 <span·class="c1">#·print·the·image·information·given·in·the·dataset</span>242 <span·class="c1">#·print·the·image·information·given·in·the·dataset</span>
243 <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>243 <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>
244 <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>244 <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>
245 </pre></div>245 </pre></div>
246 </div>246 </div>
247 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.007·seconds)</p>247 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.114·seconds)</p>
248 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-downsize-image-py">248 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-downsize-image-py">
249 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">249 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
250 <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>250 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/032a903dae32dc4e934f88d87905b561/plot_downsize_image.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_downsize_image.py</span></code></a></p>
251 </div>251 </div>
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>
1.25 KB
html2text {}
    
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ds.PixelData·=·data_downsampling.tobytes()155 ds.PixelData·=·data_downsampling.tobytes()
156 #·update·the·information·regarding·the·shape·of·the·data·array156 #·update·the·information·regarding·the·shape·of·the·data·array
157 ds.Rows,·ds.Columns·=·data_downsampling.shape157 ds.Rows,·ds.Columns·=·data_downsampling.shape
  
158 #·print·the·image·information·given·in·the·dataset158 #·print·the·image·information·given·in·the·dataset
159 print('The·information·of·the·data·set·after·downsampling:·\n')159 print('The·information·of·the·data·set·after·downsampling:·\n')
160 print(ds)160 print(ds)
161 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.007·seconds)161 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.114·seconds)
162 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8s_\x8i_\x8z_\x8e_\x8__\x8i_\x8m_\x8a_\x8g_\x8e_\x8._\x8p_\x8y162 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8s_\x8i_\x8z_\x8e_\x8__\x8i_\x8m_\x8a_\x8g_\x8e_\x8._\x8p_\x8y
163 _\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_\x8b163 _\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_\x8b
164 _\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_\x8y164 _\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
165 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t165 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
166 ===============================================================================166 ===============================================================================
167 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.167 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
168 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.168 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.49 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/image_processing/plot_waveforms.html
    
Offset 157, 15 lines modifiedOffset 157, 15 lines modified
157 ····<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>157 ····<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>
158 ····<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>158 ····<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>
  
159 <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>159 <span·class="n">fig</span><span·class="o">.</span><span·class="n">tight_layout</span><span·class="p">(</span><span·class="n">pad</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">)</span>
160 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>160 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</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.197·seconds)</p>163 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··3.687·seconds)</p>
164 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-waveforms-py">164 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-waveforms-py">
165 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">165 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
166 <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>166 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/37526ba18181b1083cb01706ece1f85f/plot_waveforms.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_waveforms.py</span></code></a></p>
167 </div>167 </div>
168 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">168 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
169 <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>169 <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 </div>170 </div>
1.12 KB
html2text {}
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 ····ax.plot(x,·arr[...,·ch_idx])70 ····ax.plot(x,·arr[...,·ch_idx])
71 ····ax.set_title(f"{mplx_label}:·{ch_source}")71 ····ax.set_title(f"{mplx_label}:·{ch_source}")
72 ····ax.set_xlabel(f"({x_units})")72 ····ax.set_xlabel(f"({x_units})")
73 ····ax.set_ylabel(f"({y_units})")73 ····ax.set_ylabel(f"({y_units})")
  
74 fig.tight_layout(pad=1)74 fig.tight_layout(pad=1)
75 plt.show()75 plt.show()
76 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.197·seconds)76 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·3.687·seconds)
77 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8w_\x8a_\x8v_\x8e_\x8f_\x8o_\x8r_\x8m_\x8s_\x8._\x8p_\x8y77 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8w_\x8a_\x8v_\x8e_\x8f_\x8o_\x8r_\x8m_\x8s_\x8._\x8p_\x8y
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__\x8w_\x8a_\x8v_\x8e_\x8f_\x8o_\x8r_\x8m_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b78 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8w_\x8a_\x8v_\x8e_\x8f_\x8o_\x8r_\x8m_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
79 _\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_\x8y79 _\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
80 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t80 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
81 ===============================================================================81 ===============================================================================
82 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.82 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
83 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.83 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.8 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/image_processing/sg_execution_times.html
    
Offset 98, 23 lines modifiedOffset 98, 23 lines modified
98 ··<hr/>98 ··<hr/>
99 </div>99 </div>
100 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">100 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">
101 ···········<div·itemprop="articleBody">101 ···········<div·itemprop="articleBody">
102 ·············102 ·············
103 ··<section·id="computation-times">103 ··<section·id="computation-times">
104 <span·id="sphx-glr-auto-examples-image-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Link·to·this·heading">¶</a></h1>104 <span·id="sphx-glr-auto-examples-image-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Link·to·this·heading">¶</a></h1>
105 <p><strong>00:00.204</strong>·total·execution·time·for·<strong>auto_examples_image_processing</strong>·files:</p>105 <p><strong>00:03.801</strong>·total·execution·time·for·<strong>auto_examples_image_processing</strong>·files:</p>
106 <table·class="docutils·align-default">106 <table·class="docutils·align-default">
107 <tbody>107 <tbody>
108 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_waveforms.html#sphx-glr-auto-examples-image-processing-plot-waveforms-py"><span·class="std·std-ref">Decode·and·plot·Waveform·Data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_waveforms.py</span></code>)</p></td>108 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_waveforms.html#sphx-glr-auto-examples-image-processing-plot-waveforms-py"><span·class="std·std-ref">Decode·and·plot·Waveform·Data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_waveforms.py</span></code>)</p></td>
109 <td><p>00:00.196</p></td>109 <td><p>00:03.687</p></td>
110 <td><p>0.0·MB</p></td>110 <td><p>0.0·MB</p></td>
111 </tr>111 </tr>
112 <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_downsize_image.html#sphx-glr-auto-examples-image-processing-plot-downsize-image-py"><span·class="std·std-ref">Downsize·MRI·image·using·pydicom</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_downsize_image.py</span></code>)</p></td>112 <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_downsize_image.html#sphx-glr-auto-examples-image-processing-plot-downsize-image-py"><span·class="std·std-ref">Downsize·MRI·image·using·pydicom</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_downsize_image.py</span></code>)</p></td>
113 <td><p>00:00.007</p></td>113 <td><p>00:00.114</p></td>
114 <td><p>0.0·MB</p></td>114 <td><p>0.0·MB</p></td>
115 </tr>115 </tr>
116 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="reslice.html#sphx-glr-auto-examples-image-processing-reslice-py"><span·class="std·std-ref">Load·CT·slices·and·plot·axial,·sagittal·and·coronal·images</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">reslice.py</span></code>)</p></td>116 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="reslice.html#sphx-glr-auto-examples-image-processing-reslice-py"><span·class="std·std-ref">Load·CT·slices·and·plot·axial,·sagittal·and·coronal·images</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">reslice.py</span></code>)</p></td>
117 <td><p>00:00.000</p></td>117 <td><p>00:00.000</p></td>
118 <td><p>0.0·MB</p></td>118 <td><p>0.0·MB</p></td>
119 </tr>119 </tr>
120 </tbody>120 </tbody>
1.75 KB
html2text {}
    
Offset 19, 15 lines modifiedOffset 19, 15 lines modified
19 ····*·_\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8t_\x8i_\x8n_\x8g_\x8·_\x8t_\x8o_\x8·_\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m19 ····*·_\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8t_\x8i_\x8n_\x8g_\x8·_\x8t_\x8o_\x8·_\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m
20 ····*·_\x8F_\x8r_\x8e_\x8q_\x8u_\x8e_\x8n_\x8t_\x8l_\x8y_\x8·_\x8a_\x8s_\x8k_\x8e_\x8d_\x8·_\x8q_\x8u_\x8e_\x8s_\x8t_\x8i_\x8o_\x8n_\x8s20 ····*·_\x8F_\x8r_\x8e_\x8q_\x8u_\x8e_\x8n_\x8t_\x8l_\x8y_\x8·_\x8a_\x8s_\x8k_\x8e_\x8d_\x8·_\x8q_\x8u_\x8e_\x8s_\x8t_\x8i_\x8o_\x8n_\x8s
21 ····*·_\x8R_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8·_\x8n_\x8o_\x8t_\x8e_\x8s21 ····*·_\x8R_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8·_\x8n_\x8o_\x8t_\x8e_\x8s
22 _\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m22 _\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m
23 ····*·Computation·times23 ····*·Computation·times
24 ===============================================================================24 ===============================================================================
25 *\x8**\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8om\x8mp\x8pu\x8ut\x8ta\x8at\x8ti\x8io\x8on\x8n·t\x8ti\x8im\x8me\x8es\x8s_\x8?\x8·*\x8**\x8**\x8**\x8**\x8**\x8*25 *\x8**\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8om\x8mp\x8pu\x8ut\x8ta\x8at\x8ti\x8io\x8on\x8n·t\x8ti\x8im\x8me\x8es\x8s_\x8?\x8·*\x8**\x8**\x8**\x8**\x8**\x8*
26 0\x800\x80:\x8:0\x800.0...2.20.04.4·total·execution·time·for·a\x8au\x8ut\x8to\x8o_\x8_e\x8ex\x8xa\x8am\x8mp\x8pl\x8le\x8es\x8s_\x8_i\x8im\x8ma\x8ag\x8ge\x8e_\x8_p\x8pr\x8ro\x8oc\x8ce\x8es\x8ss\x8si\x8in\x8ng\x8g·files:26 0\x800\x80:\x8:0\x803.3...8.80.01.1·total·execution·time·for·a\x8au\x8ut\x8to\x8o_\x8_e\x8ex\x8xa\x8am\x8mp\x8pl\x8le\x8es\x8s_\x8_i\x8im\x8ma\x8ag\x8ge\x8e_\x8_p\x8pr\x8ro\x8oc\x8ce\x8es\x8ss\x8si\x8in\x8ng\x8g·files:
27 _\x8D_\x8e_\x8c_\x8o_\x8d_\x8e_\x8·_\x8a_\x8n_\x8d_\x8·_\x8p_\x8l_\x8o_\x8t_\x8·_\x8W_\x8a_\x8v_\x8e_\x8f_\x8o_\x8r_\x8m_\x8·_\x8D_\x8a_\x8t_\x8a·(plot_waveforms.py)···········00:00.196·0.0·MB27 _\x8D_\x8e_\x8c_\x8o_\x8d_\x8e_\x8·_\x8a_\x8n_\x8d_\x8·_\x8p_\x8l_\x8o_\x8t_\x8·_\x8W_\x8a_\x8v_\x8e_\x8f_\x8o_\x8r_\x8m_\x8·_\x8D_\x8a_\x8t_\x8a·(plot_waveforms.py)···········00:03.687·0.0·MB
28 _\x8D_\x8o_\x8w_\x8n_\x8s_\x8i_\x8z_\x8e_\x8·_\x8M_\x8R_\x8I_\x8·_\x8i_\x8m_\x8a_\x8g_\x8e_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g_\x8·_\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m·(plot_downsize_image.py)···00:00.007·0.0·MB28 _\x8D_\x8o_\x8w_\x8n_\x8s_\x8i_\x8z_\x8e_\x8·_\x8M_\x8R_\x8I_\x8·_\x8i_\x8m_\x8a_\x8g_\x8e_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g_\x8·_\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m·(plot_downsize_image.py)···00:00.114·0.0·MB
29 _\x8L_\x8o_\x8a_\x8d_\x8·_\x8C_\x8T_\x8·_\x8s_\x8l_\x8i_\x8c_\x8e_\x8s_\x8·_\x8a_\x8n_\x8d_\x8·_\x8p_\x8l_\x8o_\x8t_\x8·_\x8a_\x8x_\x8i_\x8a_\x8l_\x8,_\x8·_\x8s_\x8a_\x8g_\x8i_\x8t_\x8t_\x8a_\x8l_\x8·_\x8a_\x8n_\x8d_\x8·_\x8c_\x8o_\x8r_\x8o_\x8n_\x8a_\x8l_\x8·_\x8i_\x8m_\x8a_\x8g_\x8e_\x8s··00:00.000·0.0·MB29 _\x8L_\x8o_\x8a_\x8d_\x8·_\x8C_\x8T_\x8·_\x8s_\x8l_\x8i_\x8c_\x8e_\x8s_\x8·_\x8a_\x8n_\x8d_\x8·_\x8p_\x8l_\x8o_\x8t_\x8·_\x8a_\x8x_\x8i_\x8a_\x8l_\x8,_\x8·_\x8s_\x8a_\x8g_\x8i_\x8t_\x8t_\x8a_\x8l_\x8·_\x8a_\x8n_\x8d_\x8·_\x8c_\x8o_\x8r_\x8o_\x8n_\x8a_\x8l_\x8·_\x8i_\x8m_\x8a_\x8g_\x8e_\x8s··00:00.000·0.0·MB
30 (reslice.py)30 (reslice.py)
31 ===============================================================================31 ===============================================================================
32 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.32 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
33 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.33 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.39 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_printing_dataset.html
    
Offset 237, 15 lines modifiedOffset 237, 15 lines modified
  
237 <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>237 <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>
238 <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>238 <span·class="n">ds</span>·<span·class="o">=</span>·<span·class="n">pydicom</span><span·class="o">.</span><span·class="n">dcmread</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">)</span>
  
239 <span·class="n">myprint</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>239 <span·class="n">myprint</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>
240 </pre></div>240 </pre></div>
241 </div>241 </div>
242 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.007·seconds)</p>242 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.187·seconds)</p>
243 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-printing-dataset-py">243 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-printing-dataset-py">
244 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">244 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
245 <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>245 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/7d5fde14cbfb9e9d3e3df4c27eff8500/plot_printing_dataset.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_printing_dataset.py</span></code></a></p>
246 </div>246 </div>
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>
1.17 KB
html2text {}
    
Offset 146, 15 lines modifiedOffset 146, 15 lines modified
146 ···················································repr_value))146 ···················································repr_value))
  
  
147 filename·=·_\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8s_\x8t_\x8d_\x8a_\x8t_\x8a_\x8__\x8f_\x8i_\x8l_\x8e('MR_small.dcm')147 filename·=·_\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8s_\x8t_\x8d_\x8a_\x8t_\x8a_\x8__\x8f_\x8i_\x8l_\x8e('MR_small.dcm')
148 ds·=·pydicom.dcmread(filename)148 ds·=·pydicom.dcmread(filename)
  
149 myprint(ds)149 myprint(ds)
150 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.007·seconds)150 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.187·seconds)
151 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8p_\x8r_\x8i_\x8n_\x8t_\x8i_\x8n_\x8g_\x8__\x8d_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t_\x8._\x8p_\x8y151 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8p_\x8r_\x8i_\x8n_\x8t_\x8i_\x8n_\x8g_\x8__\x8d_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t_\x8._\x8p_\x8y
152 _\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_\x8b152 _\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
153 _\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_\x8y153 _\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
154 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t154 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
155 ===============================================================================155 ===============================================================================
156 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.156 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
157 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.157 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.69 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_dicom.html
    
Offset 164, 15 lines modifiedOffset 164, 15 lines modified
164 <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>164 <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>
  
165 <span·class="c1">#·plot·the·image·using·matplotlib</span>165 <span·class="c1">#·plot·the·image·using·matplotlib</span>
166 <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>166 <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>
167 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>167 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
168 </pre></div>168 </pre></div>
169 </div>169 </div>
170 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.105·seconds)</p>170 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··1.897·seconds)</p>
171 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-py">171 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-py">
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/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>173 <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>
174 </div>174 </div>
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>
1.18 KB
html2text {}
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
  
74 #·use·.get()·if·not·sure·the·item·exists,·and·want·a·default·value·if·missing74 #·use·.get()·if·not·sure·the·item·exists,·and·want·a·default·value·if·missing
75 print(f"Slice·location...:·{ds.get('SliceLocation',·'(missing)')}")75 print(f"Slice·location...:·{ds.get('SliceLocation',·'(missing)')}")
  
76 #·plot·the·image·using·matplotlib76 #·plot·the·image·using·matplotlib
77 plt.imshow(ds.pixel_array,·cmap=plt.cm.gray)77 plt.imshow(ds.pixel_array,·cmap=plt.cm.gray)
78 plt.show()78 plt.show()
79 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(·0·minutes·0.105·seconds)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.897·seconds)
80 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8d_\x8i_\x8c_\x8o_\x8m_\x8._\x8p_\x8y80 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8d_\x8i_\x8c_\x8o_\x8m_\x8._\x8p_\x8y
81 _\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._\x8i_\x8p_\x8y_\x8n_\x8b81 _\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._\x8i_\x8p_\x8y_\x8n_\x8b
82 _\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_\x8y82 _\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
83 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t83 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
84 ===============================================================================84 ===============================================================================
85 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.85 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
86 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.86 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.66 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_dicom_directory.html
    
Offset 249, 15 lines modifiedOffset 249, 15 lines modified
249 ················<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>249 ················<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>
  
250 ················<span·class="c1">#·Optionally·read·the·corresponding·SOP·Instance</span>250 ················<span·class="c1">#·Optionally·read·the·corresponding·SOP·Instance</span>
251 ················<span·class="c1">#·instance·=·dcmread(Path(root_dir)·/·p)</span>251 ················<span·class="c1">#·instance·=·dcmread(Path(root_dir)·/·p)</span>
252 ················<span·class="c1">#·print(instance.PatientName)</span>252 ················<span·class="c1">#·print(instance.PatientName)</span>
253 </pre></div>253 </pre></div>
254 </div>254 </div>
255 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.015·seconds)</p>255 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.317·seconds)</p>
256 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-directory-py">256 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-directory-py">
257 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">257 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
258 <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>258 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/33b840573239ff057316729322f32358/plot_read_dicom_directory.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_read_dicom_directory.py</span></code></a></p>
259 </div>259 </div>
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>
1.31 KB
html2text {}
    
Offset 170, 15 lines modifiedOffset 170, 15 lines modified
170 ············#·List·the·instance·file·paths170 ············#·List·the·instance·file·paths
171 ············for·p·in·paths:171 ············for·p·in·paths:
172 ················print(f"{'··'·*·3}IMAGE:·Path={os.fspath(p)}")172 ················print(f"{'··'·*·3}IMAGE:·Path={os.fspath(p)}")
  
173 ················#·Optionally·read·the·corresponding·SOP·Instance173 ················#·Optionally·read·the·corresponding·SOP·Instance
174 ················#·instance·=·dcmread(Path(root_dir)·/·p)174 ················#·instance·=·dcmread(Path(root_dir)·/·p)
175 ················#·print(instance.PatientName)175 ················#·print(instance.PatientName)
176 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)176 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.317·seconds)
177 _\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·_\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._\x8p_\x8y177 _\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·_\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._\x8p_\x8y
178 _\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_\x8b178 _\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
179 _\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_\x8y179 _\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
180 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t180 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
181 ===============================================================================181 ===============================================================================
182 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.182 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
183 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.183 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
5.23 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_fileset.html
    
Offset 186, 15 lines modifiedOffset 186, 15 lines modified
186 ····Modality=MR·-·3·SOP·Instances186 ····Modality=MR·-·3·SOP·Instances
187 ····Modality=MR·-·7·SOP·Instances187 ····Modality=MR·-·7·SOP·Instances
  
188 Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118188 Found·7·instances·for·SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118
189 Found·0·instances·with·PhotometricInterpretation=&#39;MONOCHROME1&#39;·without·loading·the·stored·instances·and·3·instances·with·loading189 Found·0·instances·with·PhotometricInterpretation=&#39;MONOCHROME1&#39;·without·loading·the·stored·instances·and·3·instances·with·loading
  
190 Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/test_files/dicomdirtests190 Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/test_files/dicomdirtests
191 File-set·copied·to·/tmp/tmpi_kuyyv8·and·contains·the·following·files:191 File-set·copied·to·/tmp/tmp4_zb4710·and·contains·the·following·files:
192 ··DICOMDIR192 ··DICOMDIR
193 ··PT000000/ST000000/SE000000/IM000000193 ··PT000000/ST000000/SE000000/IM000000
194 ··PT000000/ST000000/SE000001/IM000000194 ··PT000000/ST000000/SE000001/IM000000
195 ··PT000000/ST000000/SE000002/IM000000195 ··PT000000/ST000000/SE000002/IM000000
196 ··PT000000/ST000001/SE000000/IM000000196 ··PT000000/ST000001/SE000000/IM000000
197 ··PT000000/ST000001/SE000000/IM000001197 ··PT000000/ST000001/SE000000/IM000001
198 ··PT000000/ST000001/SE000000/IM000002198 ··PT000000/ST000001/SE000000/IM000002
2.01 KB
html2text {}
    
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 Found·7·instances·for106 Found·7·instances·for
107 SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118107 SeriesInstanceUID=1.3.6.1.4.1.5962.1.1.0.0.0.1196533885.18148.0.118
108 Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading108 Found·0·instances·with·PhotometricInterpretation='MONOCHROME1'·without·loading
109 the·stored·instances·and·3·instances·with·loading109 the·stored·instances·and·3·instances·with·loading
  
110 Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/110 Original·File-set·still·at·/build/reproducible-path/pydicom-2.4.3/pydicom/data/
111 test_files/dicomdirtests111 test_files/dicomdirtests
112 File-set·copied·to·/tmp/tmpi_kuyyv8·and·contains·the·following·files:112 File-set·copied·to·/tmp/tmp4_zb4710·and·contains·the·following·files:
113 ··DICOMDIR113 ··DICOMDIR
114 ··PT000000/ST000000/SE000000/IM000000114 ··PT000000/ST000000/SE000000/IM000000
115 ··PT000000/ST000000/SE000001/IM000000115 ··PT000000/ST000000/SE000001/IM000000
116 ··PT000000/ST000000/SE000002/IM000000116 ··PT000000/ST000000/SE000002/IM000000
117 ··PT000000/ST000001/SE000000/IM000000117 ··PT000000/ST000001/SE000000/IM000000
118 ··PT000000/ST000001/SE000000/IM000001118 ··PT000000/ST000001/SE000000/IM000001
119 ··PT000000/ST000001/SE000000/IM000002119 ··PT000000/ST000001/SE000000/IM000002
3.44 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_rtplan.html
    
Offset 151, 15 lines modifiedOffset 151, 15 lines modified
  
  
151 <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>151 <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>
152 <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>152 <span·class="n">dataset</span>·<span·class="o">=</span>·<span·class="n">pydicom</span><span·class="o">.</span><span·class="n">dcmread</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">)</span>
153 <span·class="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>153 <span·class="nb">print</span><span·class="p">(</span><span·class="n">list_beams</span><span·class="p">(</span><span·class="n">dataset</span><span·class="p">))</span>
154 </pre></div>154 </pre></div>
155 </div>155 </div>
156 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.003·seconds)</p>156 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.032·seconds)</p>
157 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-rtplan-py">157 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-rtplan-py">
158 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">158 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
159 <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>159 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/c01783b47dfa1aa1100193cafc705c66/plot_read_rtplan.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_read_rtplan.py</span></code></a></p>
160 </div>160 </div>
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>
1.19 KB
html2text {}
    
Offset 59, 15 lines modifiedOffset 59, 15 lines modified
59 ·······················································ssd=SSD))59 ·······················································ssd=SSD))
60 ····return·"\n".join(lines)60 ····return·"\n".join(lines)
  
  
61 filename·=·_\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8s_\x8t_\x8d_\x8a_\x8t_\x8a_\x8__\x8f_\x8i_\x8l_\x8e('rtplan.dcm')61 filename·=·_\x8g_\x8e_\x8t_\x8__\x8t_\x8e_\x8s_\x8t_\x8d_\x8a_\x8t_\x8a_\x8__\x8f_\x8i_\x8l_\x8e('rtplan.dcm')
62 dataset·=·pydicom.dcmread(filename)62 dataset·=·pydicom.dcmread(filename)
63 print(list_beams(dataset))63 print(list_beams(dataset))
64 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)64 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.032·seconds)
65 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8t_\x8p_\x8l_\x8a_\x8n_\x8._\x8p_\x8y65 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8t_\x8p_\x8l_\x8a_\x8n_\x8._\x8p_\x8y
66 _\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_\x8b66 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8p_\x8l_\x8o_\x8t_\x8__\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8t_\x8p_\x8l_\x8a_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
67 _\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_\x8y67 _\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
68 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t68 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
69 ===============================================================================69 ===============================================================================
70 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.70 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
71 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.71 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
8.68 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_write_dicom.html
    
Offset 120, 40 lines modifiedOffset 120, 40 lines modified
120 <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>120 <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>
121 <p>This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This121 <p>This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This
122 example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will122 example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will
123 have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.</p>123 have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.</p>
124 <p·class="sphx-glr-script-out">Out:</p>124 <p·class="sphx-glr-script-out">Out:</p>
125 <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>Setting·file·meta·information...125 <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>Setting·file·meta·information...
126 Setting·dataset·values...126 Setting·dataset·values...
127 Writing·test·file·/tmp/tmp8rqg3gr0.dcm127 Writing·test·file·/tmp/tmp37k25zh9.dcm
128 File·saved.128 File·saved.
129 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp5hr8ko95.dcm129 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpffdrhl93.dcm
130 Load·file·/tmp/tmp8rqg3gr0.dcm·...130 Load·file·/tmp/tmp37k25zh9.dcm·...
131 Dataset.file_meta·-------------------------------131 Dataset.file_meta·-------------------------------
132 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage132 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
133 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3133 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
134 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4134 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
135 -------------------------------------------------135 -------------------------------------------------
136 (0008,·0023)·Content·Date························DA:·&#39;20250530&#39;136 (0008,·0023)·Content·Date························DA:·&#39;20240428&#39;
137 (0008,·0033)·Content·Time························TM:·&#39;144805.830344&#39;137 (0008,·0033)·Content·Time························TM:·&#39;105027.454594&#39;
138 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;138 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;
139 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;139 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;
140 Remove·file·/tmp/tmp8rqg3gr0.dcm·...140 Remove·file·/tmp/tmp37k25zh9.dcm·...
141 Load·file·/tmp/tmp5hr8ko95.dcm·...141 Load·file·/tmp/tmpffdrhl93.dcm·...
142 Dataset.file_meta·-------------------------------142 Dataset.file_meta·-------------------------------
143 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage143 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
144 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3144 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
145 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian145 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian
146 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4146 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
147 -------------------------------------------------147 -------------------------------------------------
148 (0008,·0023)·Content·Date························DA:·&#39;20250530&#39;148 (0008,·0023)·Content·Date························DA:·&#39;20240428&#39;
149 (0008,·0033)·Content·Time························TM:·&#39;144805.830344&#39;149 (0008,·0033)·Content·Time························TM:·&#39;105027.454594&#39;
150 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;150 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;
151 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;151 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;
152 Remove·file·/tmp/tmp5hr8ko95.dcm·...152 Remove·file·/tmp/tmpffdrhl93.dcm·...
153 </pre></div>153 </pre></div>
154 </div>154 </div>
155 <div·class="line-block">155 <div·class="line-block">
156 <div·class="line"><br·/></div>156 <div·class="line"><br·/></div>
157 </div>157 </div>
158 <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="c1">#·authors·:·Guillaume·Lemaitre·&lt;g.lemaitre58@gmail.com&gt;</span>158 <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="c1">#·authors·:·Guillaume·Lemaitre·&lt;g.lemaitre58@gmail.com&gt;</span>
159 <span·class="c1">#·license·:·MIT</span>159 <span·class="c1">#·license·:·MIT</span>
3.63 KB
html2text {}
    
Offset 34, 40 lines modifiedOffset 34, 40 lines modified
34 *\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*34 *\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*
35 This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This35 This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This
36 example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will36 example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will
37 have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.37 have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.
38 Out:38 Out:
39 Setting·file·meta·information...39 Setting·file·meta·information...
40 Setting·dataset·values...40 Setting·dataset·values...
41 Writing·test·file·/tmp/tmp8rqg3gr0.dcm41 Writing·test·file·/tmp/tmp37k25zh9.dcm
42 File·saved.42 File·saved.
43 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmp5hr8ko95.dcm43 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpffdrhl93.dcm
44 Load·file·/tmp/tmp8rqg3gr0.dcm·...44 Load·file·/tmp/tmp37k25zh9.dcm·...
45 Dataset.file_meta·-------------------------------45 Dataset.file_meta·-------------------------------
46 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage46 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
47 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.347 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
48 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.448 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
49 -------------------------------------------------49 -------------------------------------------------
50 (0008,·0023)·Content·Date························DA:·'20250530'50 (0008,·0023)·Content·Date························DA:·'20240428'
51 (0008,·0033)·Content·Time························TM:·'144805.830344'51 (0008,·0033)·Content·Time························TM:·'105027.454594'
52 (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'52 (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'
53 (0010,·0020)·Patient·ID··························LO:·'123456'53 (0010,·0020)·Patient·ID··························LO:·'123456'
54 Remove·file·/tmp/tmp8rqg3gr0.dcm·...54 Remove·file·/tmp/tmp37k25zh9.dcm·...
55 Load·file·/tmp/tmp5hr8ko95.dcm·...55 Load·file·/tmp/tmpffdrhl93.dcm·...
56 Dataset.file_meta·-------------------------------56 Dataset.file_meta·-------------------------------
57 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage57 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
58 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.358 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
59 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian59 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian
60 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.460 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
61 -------------------------------------------------61 -------------------------------------------------
62 (0008,·0023)·Content·Date························DA:·'20250530'62 (0008,·0023)·Content·Date························DA:·'20240428'
63 (0008,·0033)·Content·Time························TM:·'144805.830344'63 (0008,·0033)·Content·Time························TM:·'105027.454594'
64 (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'64 (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'
65 (0010,·0020)·Patient·ID··························LO:·'123456'65 (0010,·0020)·Patient·ID··························LO:·'123456'
66 Remove·file·/tmp/tmp5hr8ko95.dcm·...66 Remove·file·/tmp/tmpffdrhl93.dcm·...
  
67 #·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com>67 #·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com>
68 #·license·:·MIT68 #·license·:·MIT
  
69 import·datetime69 import·datetime
70 import·os70 import·os
71 import·tempfile71 import·tempfile
5.89 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/sg_execution_times.html
    
Offset 98, 39 lines modifiedOffset 98, 39 lines modified
98 ··<hr/>98 ··<hr/>
99 </div>99 </div>
100 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">100 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">
101 ···········<div·itemprop="articleBody">101 ···········<div·itemprop="articleBody">
102 ·············102 ·············
103 ··<section·id="computation-times">103 ··<section·id="computation-times">
104 <span·id="sphx-glr-auto-examples-input-output-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Link·to·this·heading">¶</a></h1>104 <span·id="sphx-glr-auto-examples-input-output-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Link·to·this·heading">¶</a></h1>
105 <p><strong>00:00.394</strong>·total·execution·time·for·<strong>auto_examples_input_output</strong>·files:</p>105 <p><strong>00:07.900</strong>·total·execution·time·for·<strong>auto_examples_input_output</strong>·files:</p>
106 <table·class="docutils·align-default">106 <table·class="docutils·align-default">
107 <tbody>107 <tbody>
108 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_read_fileset.html#sphx-glr-auto-examples-input-output-plot-read-fileset-py"><span·class="std·std-ref">Read·a·DICOM·File-set</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_fileset.py</span></code>)</p></td>108 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_read_fileset.html#sphx-glr-auto-examples-input-output-plot-read-fileset-py"><span·class="std·std-ref">Read·a·DICOM·File-set</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_fileset.py</span></code>)</p></td>
109 <td><p>00:00.258</p></td>109 <td><p>00:05.333</p></td>
110 <td><p>0.0·MB</p></td>110 <td><p>0.0·MB</p></td>
111 </tr>111 </tr>
112 <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_read_dicom.html#sphx-glr-auto-examples-input-output-plot-read-dicom-py"><span·class="std·std-ref">Read·a·Dataset·and·plot·Pixel·Data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom.py</span></code>)</p></td>112 <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_read_dicom.html#sphx-glr-auto-examples-input-output-plot-read-dicom-py"><span·class="std·std-ref">Read·a·Dataset·and·plot·Pixel·Data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom.py</span></code>)</p></td>
113 <td><p>00:00.105</p></td>113 <td><p>00:01.897</p></td>
114 <td><p>0.0·MB</p></td>114 <td><p>0.0·MB</p></td>
115 </tr>115 </tr>
116 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_read_dicom_directory.html#sphx-glr-auto-examples-input-output-plot-read-dicom-directory-py"><span·class="std·std-ref">Read·a·DICOMDIR·dataset</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom_directory.py</span></code>)</p></td>116 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_read_dicom_directory.html#sphx-glr-auto-examples-input-output-plot-read-dicom-directory-py"><span·class="std·std-ref">Read·a·DICOMDIR·dataset</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom_directory.py</span></code>)</p></td>
117 <td><p>00:00.015</p></td>117 <td><p>00:00.317</p></td>
118 <td><p>0.0·MB</p></td>118 <td><p>0.0·MB</p></td>
119 </tr>119 </tr>
120 <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_printing_dataset.html#sphx-glr-auto-examples-input-output-plot-printing-dataset-py"><span·class="std·std-ref">Format·the·output·of·the·data·set·printing</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_printing_dataset.py</span></code>)</p></td>120 <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_printing_dataset.html#sphx-glr-auto-examples-input-output-plot-printing-dataset-py"><span·class="std·std-ref">Format·the·output·of·the·data·set·printing</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_printing_dataset.py</span></code>)</p></td>
121 <td><p>00:00.007</p></td>121 <td><p>00:00.187</p></td>
122 <td><p>0.0·MB</p></td>122 <td><p>0.0·MB</p></td>
123 </tr>123 </tr>
124 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_write_dicom.html#sphx-glr-auto-examples-input-output-plot-write-dicom-py"><span·class="std·std-ref">Write·DICOM·data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_write_dicom.py</span></code>)</p></td>124 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_write_dicom.html#sphx-glr-auto-examples-input-output-plot-write-dicom-py"><span·class="std·std-ref">Write·DICOM·data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_write_dicom.py</span></code>)</p></td>
125 <td><p>00:00.006</p></td>125 <td><p>00:00.135</p></td>
126 <td><p>0.0·MB</p></td>126 <td><p>0.0·MB</p></td>
127 </tr>127 </tr>
128 <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_read_rtplan.html#sphx-glr-auto-examples-input-output-plot-read-rtplan-py"><span·class="std·std-ref">Read·RTPLAN·DICOM·and·list·information</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_rtplan.py</span></code>)</p></td>128 <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_read_rtplan.html#sphx-glr-auto-examples-input-output-plot-read-rtplan-py"><span·class="std·std-ref">Read·RTPLAN·DICOM·and·list·information</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_rtplan.py</span></code>)</p></td>
129 <td><p>00:00.003</p></td>129 <td><p>00:00.032</p></td>
130 <td><p>0.0·MB</p></td>130 <td><p>0.0·MB</p></td>
131 </tr>131 </tr>
132 </tbody>132 </tbody>
133 </table>133 </table>
134 </section>134 </section>
  
  
2.62 KB
html2text {}
    
Offset 19, 18 lines modifiedOffset 19, 18 lines modified
19 ····*·_\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8t_\x8i_\x8n_\x8g_\x8·_\x8t_\x8o_\x8·_\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m19 ····*·_\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8t_\x8i_\x8n_\x8g_\x8·_\x8t_\x8o_\x8·_\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m
20 ····*·_\x8F_\x8r_\x8e_\x8q_\x8u_\x8e_\x8n_\x8t_\x8l_\x8y_\x8·_\x8a_\x8s_\x8k_\x8e_\x8d_\x8·_\x8q_\x8u_\x8e_\x8s_\x8t_\x8i_\x8o_\x8n_\x8s20 ····*·_\x8F_\x8r_\x8e_\x8q_\x8u_\x8e_\x8n_\x8t_\x8l_\x8y_\x8·_\x8a_\x8s_\x8k_\x8e_\x8d_\x8·_\x8q_\x8u_\x8e_\x8s_\x8t_\x8i_\x8o_\x8n_\x8s
21 ····*·_\x8R_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8·_\x8n_\x8o_\x8t_\x8e_\x8s21 ····*·_\x8R_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8·_\x8n_\x8o_\x8t_\x8e_\x8s
22 _\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m22 _\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m
23 ····*·Computation·times23 ····*·Computation·times
24 ===============================================================================24 ===============================================================================
25 *\x8**\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8om\x8mp\x8pu\x8ut\x8ta\x8at\x8ti\x8io\x8on\x8n·t\x8ti\x8im\x8me\x8es\x8s_\x8?\x8·*\x8**\x8**\x8**\x8**\x8**\x8*25 *\x8**\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8om\x8mp\x8pu\x8ut\x8ta\x8at\x8ti\x8io\x8on\x8n·t\x8ti\x8im\x8me\x8es\x8s_\x8?\x8·*\x8**\x8**\x8**\x8**\x8**\x8*
26 0\x800\x80:\x8:0\x800.0...3.39.94.4·total·execution·time·for·a\x8au\x8ut\x8to\x8o_\x8_e\x8ex\x8xa\x8am\x8mp\x8pl\x8le\x8es\x8s_\x8_i\x8in\x8np\x8pu\x8ut\x8t_\x8_o\x8ou\x8ut\x8tp\x8pu\x8ut\x8t·files:26 0\x800\x80:\x8:0\x807.7...9.90.00.0·total·execution·time·for·a\x8au\x8ut\x8to\x8o_\x8_e\x8ex\x8xa\x8am\x8mp\x8pl\x8le\x8es\x8s_\x8_i\x8in\x8np\x8pu\x8ut\x8t_\x8_o\x8ou\x8ut\x8tp\x8pu\x8ut\x8t·files:
27 _\x8R_\x8e_\x8a_\x8d_\x8·_\x8a_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8F_\x8i_\x8l_\x8e_\x8-_\x8s_\x8e_\x8t·(plot_read_fileset.py)·················00:00.258·0.0·MB27 _\x8R_\x8e_\x8a_\x8d_\x8·_\x8a_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8F_\x8i_\x8l_\x8e_\x8-_\x8s_\x8e_\x8t·(plot_read_fileset.py)·················00:05.333·0.0·MB
28 _\x8R_\x8e_\x8a_\x8d_\x8·_\x8a_\x8·_\x8D_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t_\x8·_\x8a_\x8n_\x8d_\x8·_\x8p_\x8l_\x8o_\x8t_\x8·_\x8P_\x8i_\x8x_\x8e_\x8l_\x8·_\x8D_\x8a_\x8t_\x8a·(plot_read_dicom.py)······00:00.105·0.0·MB28 _\x8R_\x8e_\x8a_\x8d_\x8·_\x8a_\x8·_\x8D_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t_\x8·_\x8a_\x8n_\x8d_\x8·_\x8p_\x8l_\x8o_\x8t_\x8·_\x8P_\x8i_\x8x_\x8e_\x8l_\x8·_\x8D_\x8a_\x8t_\x8a·(plot_read_dicom.py)······00:01.897·0.0·MB
29 _\x8R_\x8e_\x8a_\x8d_\x8·_\x8a_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8D_\x8I_\x8R_\x8·_\x8d_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t·(plot_read_dicom_directory.py)·······00:00.015·0.0·MB29 _\x8R_\x8e_\x8a_\x8d_\x8·_\x8a_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8D_\x8I_\x8R_\x8·_\x8d_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t·(plot_read_dicom_directory.py)·······00:00.317·0.0·MB
30 _\x8F_\x8o_\x8r_\x8m_\x8a_\x8t_\x8·_\x8t_\x8h_\x8e_\x8·_\x8o_\x8u_\x8t_\x8p_\x8u_\x8t_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8a_\x8t_\x8a_\x8·_\x8s_\x8e_\x8t_\x8·_\x8p_\x8r_\x8i_\x8n_\x8t_\x8i_\x8n_\x8g···················00:00.007·0.0·MB30 _\x8F_\x8o_\x8r_\x8m_\x8a_\x8t_\x8·_\x8t_\x8h_\x8e_\x8·_\x8o_\x8u_\x8t_\x8p_\x8u_\x8t_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8e_\x8·_\x8d_\x8a_\x8t_\x8a_\x8·_\x8s_\x8e_\x8t_\x8·_\x8p_\x8r_\x8i_\x8n_\x8t_\x8i_\x8n_\x8g···················00:00.187·0.0·MB
31 (plot_printing_dataset.py)31 (plot_printing_dataset.py)
32 _\x8W_\x8r_\x8i_\x8t_\x8e_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8d_\x8a_\x8t_\x8a·(plot_write_dicom.py)·······················00:00.006·0.0·MB32 _\x8W_\x8r_\x8i_\x8t_\x8e_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8d_\x8a_\x8t_\x8a·(plot_write_dicom.py)·······················00:00.135·0.0·MB
33 _\x8R_\x8e_\x8a_\x8d_\x8·_\x8R_\x8T_\x8P_\x8L_\x8A_\x8N_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8a_\x8n_\x8d_\x8·_\x8l_\x8i_\x8s_\x8t_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n·(plot_read_rtplan.py)·00:00.003·0.0·MB33 _\x8R_\x8e_\x8a_\x8d_\x8·_\x8R_\x8T_\x8P_\x8L_\x8A_\x8N_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8a_\x8n_\x8d_\x8·_\x8l_\x8i_\x8s_\x8t_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n·(plot_read_rtplan.py)·00:00.032·0.0·MB
34 ===============================================================================34 ===============================================================================
35 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.35 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
36 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.36 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.43 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/plot_add_dict_entries.html
    
Offset 164, 15 lines modifiedOffset 164, 15 lines modified
164 <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestOne</span>·<span·class="o">=</span>·<span·class="mi">42</span>164 <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestOne</span>·<span·class="o">=</span>·<span·class="mi">42</span>
165 <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestTwo</span>·<span·class="o">=</span>·<span·class="s1">&#39;12345&#39;</span>165 <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>
166 <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>166 <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>
  
167 <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>167 <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="o">.</span><span·class="n">top</span><span·class="p">())</span>
168 </pre></div>168 </pre></div>
169 </div>169 </div>
170 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.001·seconds)</p>170 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.024·seconds)</p>
171 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-add-dict-entries-py">171 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-add-dict-entries-py">
172 <div·class="sphx-glr-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/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>173 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/b09c4a9ac1947f91877d5cbf389a2b2e/plot_add_dict_entries.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_add_dict_entries.py</span></code></a></p>
174 </div>174 </div>
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>
1.14 KB
html2text {}
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 ds·=·Dataset()··#·or·could·get·one·from·dcmread,·etc70 ds·=·Dataset()··#·or·could·get·one·from·dcmread,·etc
  
71 ds.TestOne·=·4271 ds.TestOne·=·42
72 ds.TestTwo·=·'12345'72 ds.TestTwo·=·'12345'
73 _\x8d_\x8s_\x8._\x8T_\x8e_\x8s_\x8t_\x8T_\x8h_\x8r_\x8e_\x8e·=·'1.2.3.4.5'73 _\x8d_\x8s_\x8._\x8T_\x8e_\x8s_\x8t_\x8T_\x8h_\x8r_\x8e_\x8e·=·'1.2.3.4.5'
  
74 print(ds.top())74 print(ds.top())
75 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)75 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.024·seconds)
76 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8a_\x8d_\x8d_\x8__\x8d_\x8i_\x8c_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8i_\x8e_\x8s_\x8._\x8p_\x8y76 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8a_\x8d_\x8d_\x8__\x8d_\x8i_\x8c_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8i_\x8e_\x8s_\x8._\x8p_\x8y
77 _\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_\x8d_\x8d_\x8__\x8d_\x8i_\x8c_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8i_\x8e_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b77 _\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_\x8d_\x8d_\x8__\x8d_\x8i_\x8c_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8i_\x8e_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
78 _\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_\x8y78 _\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
79 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t79 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
80 ===============================================================================80 ===============================================================================
81 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.81 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
82 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.82 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
2.96 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/plot_anonymize.html
    
Offset 200, 15 lines modifiedOffset 200, 15 lines modified
200 </pre></div>200 </pre></div>
201 </div>201 </div>
202 <p·class="sphx-glr-script-out">Out:</p>202 <p·class="sphx-glr-script-out">Out:</p>
203 <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>(0010,·0020)·Patient·ID··························LO:·&#39;id&#39;203 <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>(0010,·0020)·Patient·ID··························LO:·&#39;id&#39;
204 (0010,·0030)·Patient&#39;s·Birth·Date················DA:·&#39;19000101&#39;204 (0010,·0030)·Patient&#39;s·Birth·Date················DA:·&#39;19000101&#39;
205 </pre></div>205 </pre></div>
206 </div>206 </div>
207 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.010·seconds)</p>207 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.170·seconds)</p>
208 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-anonymize-py">208 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-anonymize-py">
209 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">209 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
210 <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>210 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/cdbc1bcbae90b5ff13fdc9b19581006e/plot_anonymize.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_anonymize.py</span></code></a></p>
211 </div>211 </div>
212 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">212 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
213 <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 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/de1da3fdb216bd623a5999980785f16d/plot_anonymize.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_anonymize.ipynb</span></code></a></p>
214 </div>214 </div>
1.19 KB
html2text {}
    
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 ····print(dataset.data_element(de))90 ····print(dataset.data_element(de))
  
91 output_filename·=·tempfile.NamedTemporaryFile().name91 output_filename·=·tempfile.NamedTemporaryFile().name
92 dataset.save_as(output_filename)92 dataset.save_as(output_filename)
93 Out:93 Out:
94 (0010,·0020)·Patient·ID··························LO:·'id'94 (0010,·0020)·Patient·ID··························LO:·'id'
95 (0010,·0030)·Patient's·Birth·Date················DA:·'19000101'95 (0010,·0030)·Patient's·Birth·Date················DA:·'19000101'
96 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.010·seconds)96 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.170·seconds)
97 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8a_\x8n_\x8o_\x8n_\x8y_\x8m_\x8i_\x8z_\x8e_\x8._\x8p_\x8y97 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8a_\x8n_\x8o_\x8n_\x8y_\x8m_\x8i_\x8z_\x8e_\x8._\x8p_\x8y
98 _\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_\x8n_\x8o_\x8n_\x8y_\x8m_\x8i_\x8z_\x8e_\x8._\x8i_\x8p_\x8y_\x8n_\x8b98 _\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_\x8n_\x8o_\x8n_\x8y_\x8m_\x8i_\x8z_\x8e_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
99 _\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_\x8y99 _\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
100 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t100 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
101 ===============================================================================101 ===============================================================================
102 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.102 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
103 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.103 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.7 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/plot_sequences.html
    
Offset 153, 15 lines modifiedOffset 153, 15 lines modified
153 <span·class="n">block_ds3</span>·<span·class="o">=</span>·<span·class="n">Dataset</span><span·class="p">()</span>153 <span·class="n">block_ds3</span>·<span·class="o">=</span>·<span·class="n">Dataset</span><span·class="p">()</span>
154 <span·class="c1">#·add·data·elements·to·it·as·above·and·don&#39;t·forget·to·update·Number·of·Blocks</span>154 <span·class="c1">#·add·data·elements·to·it·as·above·and·don&#39;t·forget·to·update·Number·of·Blocks</span>
155 <span·class="c1">#·data·element</span>155 <span·class="c1">#·data·element</span>
156 <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>156 <a·href="../../reference/generated/pydicom.multival.MultiValue.html#pydicom.multival.MultiValue.append"·title="pydicom.multival.MultiValue.append"·class="sphx-glr-backref-module-pydicom-multival·sphx-glr-backref-type-py-method"><span·class="n">beam0</span><span·class="o">.</span><span·class="n">BlockSequence</span><span·class="o">.</span><span·class="n">append</span></a><span·class="p">(</span><span·class="n">block_ds3</span><span·class="p">)</span>
157 <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>157 <span·class="k">del</span>·<span·class="n">plan_ds</span><span·class="o">.</span><span·class="n">BeamSequence</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">]</span><span·class="o">.</span><span·class="n">BlockSequence</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span>
158 </pre></div>158 </pre></div>
159 </div>159 </div>
160 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.001·seconds)</p>160 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.024·seconds)</p>
161 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-sequences-py">161 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-sequences-py">
162 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">162 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
163 <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>163 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/03374c3fd4f2559d0f640a6dc7cdb0f1/plot_sequences.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_sequences.py</span></code></a></p>
164 </div>164 </div>
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>
1.21 KB
html2text {}
    
Offset 63, 15 lines modifiedOffset 63, 15 lines modified
  
63 #·create·a·new·data·set63 #·create·a·new·data·set
64 block_ds3·=·Dataset()64 block_ds3·=·Dataset()
65 #·add·data·elements·to·it·as·above·and·don't·forget·to·update·Number·of·Blocks65 #·add·data·elements·to·it·as·above·and·don't·forget·to·update·Number·of·Blocks
66 #·data·element66 #·data·element
67 _\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)67 _\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)
68 del·plan_ds.BeamSequence[0].BlockSequence[1]68 del·plan_ds.BeamSequence[0].BlockSequence[1]
69 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)69 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.024·seconds)
70 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8s_\x8e_\x8q_\x8u_\x8e_\x8n_\x8c_\x8e_\x8s_\x8._\x8p_\x8y70 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8s_\x8e_\x8q_\x8u_\x8e_\x8n_\x8c_\x8e_\x8s_\x8._\x8p_\x8y
71 _\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_\x8b71 _\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_\x8b
72 _\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_\x8y72 _\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
73 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t73 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
74 ===============================================================================74 ===============================================================================
75 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.75 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
76 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.76 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.98 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/sg_execution_times.html
    
Offset 98, 27 lines modifiedOffset 98, 27 lines modified
98 ··<hr/>98 ··<hr/>
99 </div>99 </div>
100 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">100 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">
101 ···········<div·itemprop="articleBody">101 ···········<div·itemprop="articleBody">
102 ·············102 ·············
103 ··<section·id="computation-times">103 ··<section·id="computation-times">
104 <span·id="sphx-glr-auto-examples-metadata-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Link·to·this·heading">¶</a></h1>104 <span·id="sphx-glr-auto-examples-metadata-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Link·to·this·heading">¶</a></h1>
105 <p><strong>00:00.013</strong>·total·execution·time·for·<strong>auto_examples_metadata_processing</strong>·files:</p>105 <p><strong>00:00.218</strong>·total·execution·time·for·<strong>auto_examples_metadata_processing</strong>·files:</p>
106 <table·class="docutils·align-default">106 <table·class="docutils·align-default">
107 <tbody>107 <tbody>
108 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_anonymize.html#sphx-glr-auto-examples-metadata-processing-plot-anonymize-py"><span·class="std·std-ref">Anonymize·DICOM·data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_anonymize.py</span></code>)</p></td>108 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_anonymize.html#sphx-glr-auto-examples-metadata-processing-plot-anonymize-py"><span·class="std·std-ref">Anonymize·DICOM·data</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_anonymize.py</span></code>)</p></td>
109 <td><p>00:00.010</p></td>109 <td><p>00:00.170</p></td>
110 <td><p>0.0·MB</p></td>110 <td><p>0.0·MB</p></td>
111 </tr>111 </tr>
112 <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_sequences.html#sphx-glr-auto-examples-metadata-processing-plot-sequences-py"><span·class="std·std-ref">Working·with·sequences</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_sequences.py</span></code>)</p></td>112 <tr·class="row-even"><td><p><a·class="reference·internal"·href="plot_sequences.html#sphx-glr-auto-examples-metadata-processing-plot-sequences-py"><span·class="std·std-ref">Working·with·sequences</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_sequences.py</span></code>)</p></td>
113 <td><p>00:00.001</p></td>113 <td><p>00:00.024</p></td>
114 <td><p>0.0·MB</p></td>114 <td><p>0.0·MB</p></td>
115 </tr>115 </tr>
116 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_add_dict_entries.html#sphx-glr-auto-examples-metadata-processing-plot-add-dict-entries-py"><span·class="std·std-ref">Add·dictionary·items·in·the·standard·DICOM·dictionary</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_add_dict_entries.py</span></code>)</p></td>116 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_add_dict_entries.html#sphx-glr-auto-examples-metadata-processing-plot-add-dict-entries-py"><span·class="std·std-ref">Add·dictionary·items·in·the·standard·DICOM·dictionary</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_add_dict_entries.py</span></code>)</p></td>
117 <td><p>00:00.001</p></td>117 <td><p>00:00.024</p></td>
118 <td><p>0.0·MB</p></td>118 <td><p>0.0·MB</p></td>
119 </tr>119 </tr>
120 </tbody>120 </tbody>
121 </table>121 </table>
122 </section>122 </section>
  
  
1.85 KB
html2text {}
    
Offset 19, 15 lines modifiedOffset 19, 15 lines modified
19 ····*·_\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8t_\x8i_\x8n_\x8g_\x8·_\x8t_\x8o_\x8·_\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m19 ····*·_\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8t_\x8i_\x8n_\x8g_\x8·_\x8t_\x8o_\x8·_\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m
20 ····*·_\x8F_\x8r_\x8e_\x8q_\x8u_\x8e_\x8n_\x8t_\x8l_\x8y_\x8·_\x8a_\x8s_\x8k_\x8e_\x8d_\x8·_\x8q_\x8u_\x8e_\x8s_\x8t_\x8i_\x8o_\x8n_\x8s20 ····*·_\x8F_\x8r_\x8e_\x8q_\x8u_\x8e_\x8n_\x8t_\x8l_\x8y_\x8·_\x8a_\x8s_\x8k_\x8e_\x8d_\x8·_\x8q_\x8u_\x8e_\x8s_\x8t_\x8i_\x8o_\x8n_\x8s
21 ····*·_\x8R_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8·_\x8n_\x8o_\x8t_\x8e_\x8s21 ····*·_\x8R_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8·_\x8n_\x8o_\x8t_\x8e_\x8s
22 _\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m22 _\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m
23 ····*·Computation·times23 ····*·Computation·times
24 ===============================================================================24 ===============================================================================
25 *\x8**\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8om\x8mp\x8pu\x8ut\x8ta\x8at\x8ti\x8io\x8on\x8n·t\x8ti\x8im\x8me\x8es\x8s_\x8?\x8·*\x8**\x8**\x8**\x8**\x8**\x8*25 *\x8**\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8om\x8mp\x8pu\x8ut\x8ta\x8at\x8ti\x8io\x8on\x8n·t\x8ti\x8im\x8me\x8es\x8s_\x8?\x8·*\x8**\x8**\x8**\x8**\x8**\x8*
26 0\x800\x80:\x8:0\x800\x80.\x8.0.01.13.3·total·execution·time·for·a\x8au\x8ut\x8to\x8o_\x8_e\x8ex\x8xa\x8am\x8mp\x8pl\x8le\x8es\x8s_\x8_m\x8me\x8et\x8ta\x8ad\x8da\x8at\x8ta\x8a_\x8_p\x8pr\x8ro\x8oc\x8ce\x8es\x8ss\x8si\x8in\x8ng\x8g·files:26 0\x800\x80:\x8:0\x800\x80.\x8.2.21.18.8·total·execution·time·for·a\x8au\x8ut\x8to\x8o_\x8_e\x8ex\x8xa\x8am\x8mp\x8pl\x8le\x8es\x8s_\x8_m\x8me\x8et\x8ta\x8ad\x8da\x8at\x8ta\x8a_\x8_p\x8pr\x8ro\x8oc\x8ce\x8es\x8ss\x8si\x8in\x8ng\x8g·files:
27 _\x8A_\x8n_\x8o_\x8n_\x8y_\x8m_\x8i_\x8z_\x8e_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8d_\x8a_\x8t_\x8a·(plot_anonymize.py)···············00:00.010·0.0·MB27 _\x8A_\x8n_\x8o_\x8n_\x8y_\x8m_\x8i_\x8z_\x8e_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8d_\x8a_\x8t_\x8a·(plot_anonymize.py)···············00:00.170·0.0·MB
28 _\x8W_\x8o_\x8r_\x8k_\x8i_\x8n_\x8g_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8s_\x8e_\x8q_\x8u_\x8e_\x8n_\x8c_\x8e_\x8s·(plot_sequences.py)·············00:00.001·0.0·MB28 _\x8W_\x8o_\x8r_\x8k_\x8i_\x8n_\x8g_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8s_\x8e_\x8q_\x8u_\x8e_\x8n_\x8c_\x8e_\x8s·(plot_sequences.py)·············00:00.024·0.0·MB
29 _\x8A_\x8d_\x8d_\x8·_\x8d_\x8i_\x8c_\x8t_\x8i_\x8o_\x8n_\x8a_\x8r_\x8y_\x8·_\x8i_\x8t_\x8e_\x8m_\x8s_\x8·_\x8i_\x8n_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8d_\x8i_\x8c_\x8t_\x8i_\x8o_\x8n_\x8a_\x8r_\x8y··00:00.001·0.0·MB29 _\x8A_\x8d_\x8d_\x8·_\x8d_\x8i_\x8c_\x8t_\x8i_\x8o_\x8n_\x8a_\x8r_\x8y_\x8·_\x8i_\x8t_\x8e_\x8m_\x8s_\x8·_\x8i_\x8n_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8t_\x8a_\x8n_\x8d_\x8a_\x8r_\x8d_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8d_\x8i_\x8c_\x8t_\x8i_\x8o_\x8n_\x8a_\x8r_\x8y··00:00.024·0.0·MB
30 (plot_add_dict_entries.py)30 (plot_add_dict_entries.py)
31 ===============================================================================31 ===============================================================================
32 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.32 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
33 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.33 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.44 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/plot_dicom_difference.html
    
Offset 820, 15 lines modifiedOffset 820, 15 lines modified
  
820 <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>820 <span·class="n">diff</span>·<span·class="o">=</span>·<span·class="n">difflib</span><span·class="o">.</span><span·class="n">Differ</span><span·class="p">()</span>
821 <span·class="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>821 <span·class="k">for</span>·<span·class="n">line</span>·<span·class="ow">in</span>·<span·class="n">diff</span><span·class="o">.</span><span·class="n">compare</span><span·class="p">(</span><span·class="n">rep</span><span·class="p">[</span><span·class="mi">0</span><span·class="p">],</span>·<span·class="n">rep</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]):</span>
822 ····<span·class="k">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>822 ····<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>
823 ········<span·class="nb">print</span><span·class="p">(</span><span·class="n">line</span><span·class="p">)</span>823 ········<span·class="nb">print</span><span·class="p">(</span><span·class="n">line</span><span·class="p">)</span>
824 </pre></div>824 </pre></div>
825 </div>825 </div>
826 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.103·seconds)</p>826 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··1.824·seconds)</p>
827 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-plot-dicom-difference-py">827 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-plot-dicom-difference-py">
828 <div·class="sphx-glr-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>
831 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">831 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
832 <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>832 <p><a·class="reference·download·internal"·download=""·href="../_downloads/41ba38a2ae2d88170db68a78dcabe080/plot_dicom_difference.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_dicom_difference.ipynb</span></code></a></p>
833 </div>833 </div>
1.12 KB
html2text {}
    
Offset 746, 15 lines modifiedOffset 746, 15 lines modified
746 ····rep.append(lines)746 ····rep.append(lines)
  
  
747 diff·=·difflib.Differ()747 diff·=·difflib.Differ()
748 for·line·in·diff.compare(rep[0],·rep[1]):748 for·line·in·diff.compare(rep[0],·rep[1]):
749 ····if·line[0]·!=·"?":749 ····if·line[0]·!=·"?":
750 ········print(line)750 ········print(line)
751 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.103·seconds)751 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.824·seconds)
752 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8d_\x8i_\x8c_\x8o_\x8m_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8p_\x8y752 _\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·_\x8p_\x8l_\x8o_\x8t_\x8__\x8d_\x8i_\x8c_\x8o_\x8m_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8p_\x8y
753 _\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_\x8i_\x8c_\x8o_\x8m_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8i_\x8p_\x8y_\x8n_\x8b753 _\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_\x8i_\x8c_\x8o_\x8m_\x8__\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
754 _\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_\x8y754 _\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
755 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t755 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
756 ===============================================================================756 ===============================================================================
757 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.757 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
758 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.758 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.5 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/sg_execution_times.html
    
Offset 98, 19 lines modifiedOffset 98, 19 lines modified
98 ··<hr/>98 ··<hr/>
99 </div>99 </div>
100 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">100 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">
101 ···········<div·itemprop="articleBody">101 ···········<div·itemprop="articleBody">
102 ·············102 ·············
103 ··<section·id="computation-times">103 ··<section·id="computation-times">
104 <span·id="sphx-glr-auto-examples-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Link·to·this·heading">¶</a></h1>104 <span·id="sphx-glr-auto-examples-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Link·to·this·heading">¶</a></h1>
105 <p><strong>00:00.103</strong>·total·execution·time·for·<strong>auto_examples</strong>·files:</p>105 <p><strong>00:01.824</strong>·total·execution·time·for·<strong>auto_examples</strong>·files:</p>
106 <table·class="docutils·align-default">106 <table·class="docutils·align-default">
107 <tbody>107 <tbody>
108 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_dicom_difference.html#sphx-glr-auto-examples-plot-dicom-difference-py"><span·class="std·std-ref">Analyse·differences·between·DICOM·files</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_dicom_difference.py</span></code>)</p></td>108 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="plot_dicom_difference.html#sphx-glr-auto-examples-plot-dicom-difference-py"><span·class="std·std-ref">Analyse·differences·between·DICOM·files</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_dicom_difference.py</span></code>)</p></td>
109 <td><p>00:00.103</p></td>109 <td><p>00:01.824</p></td>
110 <td><p>0.0·MB</p></td>110 <td><p>0.0·MB</p></td>
111 </tr>111 </tr>
112 <tr·class="row-even"><td><p><a·class="reference·internal"·href="dicomtree.html#sphx-glr-auto-examples-dicomtree-py"><span·class="std·std-ref">Show·a·dicom·file·using·hierarchical·tree</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">dicomtree.py</span></code>)</p></td>112 <tr·class="row-even"><td><p><a·class="reference·internal"·href="dicomtree.html#sphx-glr-auto-examples-dicomtree-py"><span·class="std·std-ref">Show·a·dicom·file·using·hierarchical·tree</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">dicomtree.py</span></code>)</p></td>
113 <td><p>00:00.000</p></td>113 <td><p>00:00.000</p></td>
114 <td><p>0.0·MB</p></td>114 <td><p>0.0·MB</p></td>
115 </tr>115 </tr>
116 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="memory_dataset.html#sphx-glr-auto-examples-memory-dataset-py"><span·class="std·std-ref">Show·working·with·memory-based·dataset</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">memory_dataset.py</span></code>)</p></td>116 <tr·class="row-odd"><td><p><a·class="reference·internal"·href="memory_dataset.html#sphx-glr-auto-examples-memory-dataset-py"><span·class="std·std-ref">Show·working·with·memory-based·dataset</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">memory_dataset.py</span></code>)</p></td>
1.67 KB
html2text {}
    
Offset 19, 16 lines modifiedOffset 19, 16 lines modified
19 ····*·_\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8t_\x8i_\x8n_\x8g_\x8·_\x8t_\x8o_\x8·_\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m19 ····*·_\x8C_\x8o_\x8n_\x8t_\x8r_\x8i_\x8b_\x8u_\x8t_\x8i_\x8n_\x8g_\x8·_\x8t_\x8o_\x8·_\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m
20 ····*·_\x8F_\x8r_\x8e_\x8q_\x8u_\x8e_\x8n_\x8t_\x8l_\x8y_\x8·_\x8a_\x8s_\x8k_\x8e_\x8d_\x8·_\x8q_\x8u_\x8e_\x8s_\x8t_\x8i_\x8o_\x8n_\x8s20 ····*·_\x8F_\x8r_\x8e_\x8q_\x8u_\x8e_\x8n_\x8t_\x8l_\x8y_\x8·_\x8a_\x8s_\x8k_\x8e_\x8d_\x8·_\x8q_\x8u_\x8e_\x8s_\x8t_\x8i_\x8o_\x8n_\x8s
21 ····*·_\x8R_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8·_\x8n_\x8o_\x8t_\x8e_\x8s21 ····*·_\x8R_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8·_\x8n_\x8o_\x8t_\x8e_\x8s
22 _\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m22 _\x8p_\x8y_\x8d_\x8i_\x8c_\x8o_\x8m
23 ····*·Computation·times23 ····*·Computation·times
24 ===============================================================================24 ===============================================================================
25 *\x8**\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8om\x8mp\x8pu\x8ut\x8ta\x8at\x8ti\x8io\x8on\x8n·t\x8ti\x8im\x8me\x8es\x8s_\x8?\x8·*\x8**\x8**\x8**\x8**\x8**\x8*25 *\x8**\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8om\x8mp\x8pu\x8ut\x8ta\x8at\x8ti\x8io\x8on\x8n·t\x8ti\x8im\x8me\x8es\x8s_\x8?\x8·*\x8**\x8**\x8**\x8**\x8**\x8*
26 0\x800\x80:\x8:0\x800.0...1.10.03.3·total·execution·time·for·a\x8au\x8ut\x8to\x8o_\x8_e\x8ex\x8xa\x8am\x8mp\x8pl\x8le\x8es\x8s·files:26 0\x800\x80:\x8:0\x801.1...8.82.24.4·total·execution·time·for·a\x8au\x8ut\x8to\x8o_\x8_e\x8ex\x8xa\x8am\x8mp\x8pl\x8le\x8es\x8s·files:
27 _\x8A_\x8n_\x8a_\x8l_\x8y_\x8s_\x8e_\x8·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8s_\x8·_\x8b_\x8e_\x8t_\x8w_\x8e_\x8e_\x8n_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8f_\x8i_\x8l_\x8e_\x8s····················00:00.103·0.0·MB27 _\x8A_\x8n_\x8a_\x8l_\x8y_\x8s_\x8e_\x8·_\x8d_\x8i_\x8f_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8s_\x8·_\x8b_\x8e_\x8t_\x8w_\x8e_\x8e_\x8n_\x8·_\x8D_\x8I_\x8C_\x8O_\x8M_\x8·_\x8f_\x8i_\x8l_\x8e_\x8s····················00:01.824·0.0·MB
28 (plot_dicom_difference.py)28 (plot_dicom_difference.py)
29 _\x8S_\x8h_\x8o_\x8w_\x8·_\x8a_\x8·_\x8d_\x8i_\x8c_\x8o_\x8m_\x8·_\x8f_\x8i_\x8l_\x8e_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g_\x8·_\x8h_\x8i_\x8e_\x8r_\x8a_\x8r_\x8c_\x8h_\x8i_\x8c_\x8a_\x8l_\x8·_\x8t_\x8r_\x8e_\x8e·(dicomtree.py)···00:00.000·0.0·MB29 _\x8S_\x8h_\x8o_\x8w_\x8·_\x8a_\x8·_\x8d_\x8i_\x8c_\x8o_\x8m_\x8·_\x8f_\x8i_\x8l_\x8e_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g_\x8·_\x8h_\x8i_\x8e_\x8r_\x8a_\x8r_\x8c_\x8h_\x8i_\x8c_\x8a_\x8l_\x8·_\x8t_\x8r_\x8e_\x8e·(dicomtree.py)···00:00.000·0.0·MB
30 _\x8S_\x8h_\x8o_\x8w_\x8·_\x8w_\x8o_\x8r_\x8k_\x8i_\x8n_\x8g_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8-_\x8b_\x8a_\x8s_\x8e_\x8d_\x8·_\x8d_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t·(memory_dataset.py)·00:00.000·0.0·MB30 _\x8S_\x8h_\x8o_\x8w_\x8·_\x8w_\x8o_\x8r_\x8k_\x8i_\x8n_\x8g_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8-_\x8b_\x8a_\x8s_\x8e_\x8d_\x8·_\x8d_\x8a_\x8t_\x8a_\x8s_\x8e_\x8t·(memory_dataset.py)·00:00.000·0.0·MB
31 _\x8D_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8·_\x8u_\x8n_\x8i_\x8c_\x8o_\x8d_\x8e_\x8·_\x8p_\x8e_\x8r_\x8s_\x8o_\x8n_\x8·_\x8n_\x8a_\x8m_\x8e_\x8s·(show_charset_name.py)········00:00.000·0.0·MB31 _\x8D_\x8i_\x8s_\x8p_\x8l_\x8a_\x8y_\x8·_\x8u_\x8n_\x8i_\x8c_\x8o_\x8d_\x8e_\x8·_\x8p_\x8e_\x8r_\x8s_\x8o_\x8n_\x8·_\x8n_\x8a_\x8m_\x8e_\x8s·(show_charset_name.py)········00:00.000·0.0·MB
32 ===============================================================================32 ===============================================================================
33 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.33 ©·Copyright·2008-2024,·Darcy·Mason·and·pydicom·contributors.
34 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.34 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
22.7 KB
./usr/share/doc/python-pydicom-doc/html/searchindex.js
22.6 KB
js-beautify {}
    
Offset 159, 17 lines modifiedOffset 159, 17 lines modified
159 ········"len":·[0,·2,·3,·6,·8,·9,·13,·31,·502,·504,·510],159 ········"len":·[0,·2,·3,·6,·8,·9,·13,·31,·502,·504,·510],
160 ········"argv":·[0,·3,·13],160 ········"argv":·[0,·3,·13],
161 ········"pleas":·[0,·13,·23,·24,·26,·36,·38,·477,·484,·495,·500,·501],161 ········"pleas":·[0,·13,·23,·24,·26,·36,·38,·477,·484,·495,·500,·501],
162 ········"suppli":·[0,·11,·13,·46,·50,·76,·157,·168,·203,·216,·434,·443,·502,·504],162 ········"suppli":·[0,·11,·13,·46,·50,·76,·157,·168,·203,·216,·434,·443,·502,·504],
163 ········"n":·[0,·1,·6,·8,·10,·13,·18,·24,·26,·192,·202,·204,·205,·206,·207,·208,·212,·214,·215,·216,·469,·504,·509],163 ········"n":·[0,·1,·6,·8,·10,·13,·18,·24,·26,·192,·202,·204,·205,·206,·207,·208,·212,·214,·215,·216,·469,·504,·509],
164 ········"tk":·[0,·20],164 ········"tk":·[0,·20],
165 ········"geometri":·[0,·20],165 ········"geometri":·[0,·20],
166 ········"3":·[0,·1,·3,·6,·7,·8,·9,·11,·14,·15,·18,·20,·21,·24,·26,·27,·29,·31,·32,·36,·37,·40,·41,·43,·48,·49,·52,·94,·95,·97,·104,·106,·107,·108,·109,·126,·128,·129,·132,·148,·166,·179,·192,·202,·204,·205,·206,·207,·208,·209,·212,·214,·215,·216,·220,·226,·236,·242,·259,·261,·263,·264,·272,·277,·279,·319,·337,·340,·362,·363,·383,·401,·412,·417,·434,·480,·481,·483,·484,·485,·486,·487,·488,·492,·493,·494,·497,·500,·501,·502,·503,·504,·507,·509,·510],166 ········"3":·[0,·1,·2,·3,·6,·7,·8,·9,·11,·14,·15,·18,·20,·21,·24,·26,·27,·29,·31,·32,·36,·37,·40,·41,·43,·48,·49,·52,·94,·95,·97,·104,·106,·107,·108,·109,·126,·128,·129,·132,·148,·166,·179,·192,·202,·204,·205,·206,·207,·208,·209,·212,·214,·215,·216,·220,·226,·236,·242,·259,·261,·263,·264,·272,·277,·279,·319,·337,·340,·362,·363,·383,·401,·412,·417,·434,·480,·481,·483,·484,·485,·486,·487,·488,·492,·493,·494,·497,·500,·501,·502,·503,·504,·507,·509,·510],
167 ········"1200":·[0,·49,·477,·493,·510],167 ········"1200":·[0,·49,·477,·493,·510],
168 ········"900":·0,168 ········"900":·[0,·12],
169 ········"titl":·[0,·1,·18,·24,·26,·34,·41,·192,·443,·500,·501,·502],169 ········"titl":·[0,·1,·18,·24,·26,·34,·41,·192,·443,·500,·501,·502],
170 ········"viewer":·[0,·46],170 ········"viewer":·[0,·46],
171 ········"mainloop":·[0,·20],171 ········"mainloop":·[0,·20],
172 ········"total":·[0,·1,·2,·3,·4,·6,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·19,·20,·137,·138,·191,·202,·216,·507],172 ········"total":·[0,·1,·2,·3,·4,·6,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·19,·20,·137,·138,·191,·202,·216,·507],
173 ········"run":·[0,·1,·2,·3,·6,·7,·8,·9,·10,·11,·13,·14,·15,·16,·18,·20,·36,·37,·38,·50,·107,·129,·443,·477,·480,·483,·493,·501,·502,·505,·506,·509],173 ········"run":·[0,·1,·2,·3,·6,·7,·8,·9,·10,·11,·13,·14,·15,·16,·18,·20,·36,·37,·38,·50,·107,·129,·443,·477,·480,·483,·493,·501,·502,·505,·506,·509],
174 ········"time":·[0,·1,·2,·3,·6,·7,·8,·9,·10,·11,·13,·14,·15,·16,·18,·20,·24,·25,·26,·27,·36,·37,·45,·50,·88,·90,·107,·130,·159,·173,·176,·216,·436,·445,·477,·480,·486,·495,·499,·500,·501,·502,·504,·510],174 ········"time":·[0,·1,·2,·3,·6,·7,·8,·9,·10,·11,·13,·14,·15,·16,·18,·20,·24,·25,·26,·27,·36,·37,·45,·50,·88,·90,·107,·130,·159,·173,·176,·216,·436,·445,·477,·480,·486,·495,·499,·500,·501,·502,·504,·510],
175 ········"script":·[0,·1,·2,·3,·6,·7,·8,·9,·10,·11,·13,·14,·15,·16,·18,·20,·22,·23,·24,·50,·477,·487,·499],175 ········"script":·[0,·1,·2,·3,·6,·7,·8,·9,·10,·11,·13,·14,·15,·16,·18,·20,·22,·23,·24,·50,·477,·487,·499],