71.7 KB
/srv/reproducible-results/rbuild-debian/r-b-build.XlWxDthR/b1/pydicom_2.0.0-1_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.XlWxDthR/b2/pydicom_2.0.0-1_armhf.changes
387 B
Files
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 ·0308bd5ac030230a10198f7b05092dcc·504848·doc·optional·python-pydicom-doc_2.0.0-1_all.deb1 ·556118145513b3874ffc36985fc523bc·504900·doc·optional·python-pydicom-doc_2.0.0-1_all.deb
2 ·a917a29c45999033811925667da5fc2c·5080·oldlibs·optional·python3-dicom_2.0.0-1_all.deb2 ·a917a29c45999033811925667da5fc2c·5080·oldlibs·optional·python3-dicom_2.0.0-1_all.deb
3 ·c6ac69c36f9b3a48b007c6983bef851e·28063244·python·optional·python3-pydicom_2.0.0-1_all.deb3 ·c6ac69c36f9b3a48b007c6983bef851e·28063244·python·optional·python3-pydicom_2.0.0-1_all.deb
71.1 KB
python-pydicom-doc_2.0.0-1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-07-17·13:43:36.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-07-17·13:43:36.000000·debian-binary
2 -rw-r--r--···0········0········0····16016·2020-07-17·13:43:36.000000·control.tar.xz2 -rw-r--r--···0········0········0····16008·2020-07-17·13:43:36.000000·control.tar.xz
3 -rw-r--r--···0········0········0···488640·2020-07-17·13:43:36.000000·data.tar.xz3 -rw-r--r--···0········0········0···488700·2020-07-17·13:43:36.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
70.5 KB
data.tar.xz
70.5 KB
data.tar
2.38 KB
file list
    
Offset 639, 15 lines modifiedOffset 639, 15 lines modified
639 -rw-r--r--···0·root·········(0)·root·········(0)····12020·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.1.0.html639 -rw-r--r--···0·root·········(0)·root·········(0)····12020·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.1.0.html
640 -rw-r--r--···0·root·········(0)·root·········(0)····14639·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.2.0.html640 -rw-r--r--···0·root·········(0)·root·········(0)····14639·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.2.0.html
641 -rw-r--r--···0·root·········(0)·root·········(0)····13185·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.3.0.html641 -rw-r--r--···0·root·········(0)·root·········(0)····13185·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.3.0.html
642 -rw-r--r--···0·root·········(0)·root·········(0)····17042·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.4.0.html642 -rw-r--r--···0·root·········(0)·root·········(0)····17042·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.4.0.html
643 -rw-r--r--···0·root·········(0)·root·········(0)·····7254·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.4.1.html643 -rw-r--r--···0·root·········(0)·root·········(0)·····7254·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v1.4.1.html
644 -rw-r--r--···0·root·········(0)·root·········(0)····12963·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.0.0.html644 -rw-r--r--···0·root·········(0)·root·········(0)····12963·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/release_notes/v2.0.0.html
645 -rw-r--r--···0·root·········(0)·root·········(0)·····6579·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/search.html645 -rw-r--r--···0·root·········(0)·root·········(0)·····6579·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/search.html
646 -rw-r--r--···0·root·········(0)·root·········(0)···141163·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/searchindex.js646 -rw-r--r--···0·root·········(0)·root·········(0)···141160·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/searchindex.js
647 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/647 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/
648 -rw-r--r--···0·root·········(0)·root·········(0)·····8748·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing.html648 -rw-r--r--···0·root·········(0)·root·········(0)·····8748·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing.html
649 -rw-r--r--···0·root·········(0)·root·········(0)····28136·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_code.html649 -rw-r--r--···0·root·········(0)·root·········(0)····28136·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_code.html
650 -rw-r--r--···0·root·········(0)·root·········(0)····25225·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_docs.html650 -rw-r--r--···0·root·········(0)·root·········(0)····25225·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/contributing_docs.html
651 -rw-r--r--···0·root·········(0)·root·········(0)····71665·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dataset_basics.html651 -rw-r--r--···0·root·········(0)·root·········(0)····71665·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dataset_basics.html
652 -rw-r--r--···0·root·········(0)·root·········(0)····19894·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dicom_json.html652 -rw-r--r--···0·root·········(0)·root·········(0)····19894·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/dicom_json.html
653 -rw-r--r--···0·root·········(0)·root·········(0)·····8864·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/index.html653 -rw-r--r--···0·root·········(0)·root·········(0)·····8864·2020-07-17·13:43:36.000000·./usr/share/doc/python-pydicom-doc/html/tutorials/index.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.020·seconds)172 ···**Total·running·time·of·the·script:**·(·0·minutes··0.181·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
  
1.24 KB
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/image_processing/sg_execution_times.rst.txt
    
Offset 1, 14 lines modifiedOffset 1, 14 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.020**·total·execution·time·for·**auto_examples_image_processing**·files:5 **00:00.181**·total·execution·time·for·**auto_examples_image_processing**·files:
  
6 +----------------------------------------------------------------------------------------------------+-----------+--------+6 +----------------------------------------------------------------------------------------------------+-----------+--------+
7 |·:ref:`sphx_glr_auto_examples_image_processing_plot_downsize_image.py`·(``plot_downsize_image.py``)·|·00:00.020·|·0.0·MB·|7 |·:ref:`sphx_glr_auto_examples_image_processing_plot_downsize_image.py`·(``plot_downsize_image.py``)·|·00:00.181·|·0.0·MB·|
8 +----------------------------------------------------------------------------------------------------+-----------+--------+8 +----------------------------------------------------------------------------------------------------+-----------+--------+
9 |·:ref:`sphx_glr_auto_examples_image_processing_reslice.py`·(``reslice.py``)·························|·00:00.000·|·0.0·MB·|9 |·:ref:`sphx_glr_auto_examples_image_processing_reslice.py`·(``reslice.py``)·························|·00:00.000·|·0.0·MB·|
10 +----------------------------------------------------------------------------------------------------+-----------+--------+10 +----------------------------------------------------------------------------------------------------+-----------+--------+
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.026·seconds)164 ···**Total·running·time·of·the·script:**·(·0·minutes··0.120·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
  
605 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_read_dicom.rst.txt
    
Offset 102, 15 lines modifiedOffset 102, 15 lines modified
102 ····#·plot·the·image·using·matplotlib102 ····#·plot·the·image·using·matplotlib
103 ····plt.imshow(dataset.pixel_array,·cmap=plt.cm.bone)103 ····plt.imshow(dataset.pixel_array,·cmap=plt.cm.bone)
104 ····plt.show()104 ····plt.show()
  
  
105 ..·rst-class::·sphx-glr-timing105 ..·rst-class::·sphx-glr-timing
  
106 ···**Total·running·time·of·the·script:**·(·0·minutes··0.435·seconds)106 ···**Total·running·time·of·the·script:**·(·0·minutes··1.895·seconds)
  
  
107 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom.py:107 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom.py:
  
  
108 ..·only·::·html108 ..·only·::·html
  
669 B
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/plot_read_dicom_directory.rst.txt
    
Offset 233, 15 lines modifiedOffset 233, 15 lines modified
233 ····················patient_names))233 ····················patient_names))
234 ················print("·"·*·12·+·"Patient·IDs·in·images..:·{}".format(234 ················print("·"·*·12·+·"Patient·IDs·in·images..:·{}".format(
235 ····················patient_IDs))235 ····················patient_IDs))
  
  
236 ..·rst-class::·sphx-glr-timing236 ..·rst-class::·sphx-glr-timing
  
237 ···**Total·running·time·of·the·script:**·(·0·minutes··0.173·seconds)237 ···**Total·running·time·of·the·script:**·(·0·minutes··0.766·seconds)
  
  
238 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom_directory.py:238 ..·_sphx_glr_download_auto_examples_input_output_plot_read_dicom_directory.py:
  
  
239 ..·only·::·html239 ..·only·::·html
  
621 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_files('rtplan.dcm')[0]75 ····filename·=·get_testdata_files('rtplan.dcm')[0]
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.011·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/tmp803qnuw0.dcm39 ····Writing·test·file·/tmp/tmpfznp4t1_.dcm
40 ····File·saved.40 ····File·saved.
41 ····Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpwi1tjpql.dcm41 ····Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpoxa8vs37.dcm
42 ····Load·file·/tmp/tmp803qnuw0.dcm·...42 ····Load·file·/tmp/tmpfznp4t1_.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:·'20240109'48 ····(0008,·0023)·Content·Date························DA:·'20240110'
49 ····(0008,·0033)·Content·Time························TM:·'033448.614311'49 ····(0008,·0033)·Content·Time························TM:·'055208.719659'
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/tmp803qnuw0.dcm·...52 ····Remove·file·/tmp/tmpfznp4t1_.dcm·...
53 ····Load·file·/tmp/tmpwi1tjpql.dcm·...53 ····Load·file·/tmp/tmpoxa8vs37.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:·'20240109'60 ····(0008,·0023)·Content·Date························DA:·'20240110'
61 ····(0008,·0033)·Content·Time························TM:·'033448.614311'61 ····(0008,·0033)·Content·Time························TM:·'055208.719659'
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/tmpwi1tjpql.dcm·...64 ····Remove·file·/tmp/tmpoxa8vs37.dcm·...
  
  
  
  
  
  
65 |65 |
Offset 141, 15 lines modifiedOffset 141, 15 lines modified
141 ········#·remove·the·created·file141 ········#·remove·the·created·file
142 ········print('Remove·file·{}·...'.format(filename))142 ········print('Remove·file·{}·...'.format(filename))
143 ········os.remove(filename)143 ········os.remove(filename)
  
  
144 ..·rst-class::·sphx-glr-timing144 ..·rst-class::·sphx-glr-timing
  
145 ···**Total·running·time·of·the·script:**·(·0·minutes··0.024·seconds)145 ···**Total·running·time·of·the·script:**·(·0·minutes··0.073·seconds)
  
  
146 ..·_sphx_glr_download_auto_examples_input_output_plot_write_dicom.py:146 ..·_sphx_glr_download_auto_examples_input_output_plot_write_dicom.py:
  
  
147 ..·only·::·html147 ..·only·::·html
  
2.56 KB
./usr/share/doc/python-pydicom-doc/html/_sources/auto_examples/input_output/sg_execution_times.rst.txt
    
Offset 1, 20 lines modifiedOffset 1, 20 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.670**·total·execution·time·for·**auto_examples_input_output**·files:5 **00:02.885**·total·execution·time·for·**auto_examples_input_output**·files:
  
6 +------------------------------------------------------------------------------------------------------------+-----------+--------+6 +------------------------------------------------------------------------------------------------------------+-----------+--------+
7 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom.py`·(``plot_read_dicom.py``)·····················|·00:00.435·|·0.0·MB·|7 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom.py`·(``plot_read_dicom.py``)·····················|·00:01.895·|·0.0·MB·|
8 +------------------------------------------------------------------------------------------------------------+-----------+--------+8 +------------------------------------------------------------------------------------------------------------+-----------+--------+
9 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom_directory.py`·(``plot_read_dicom_directory.py``)·|·00:00.173·|·0.0·MB·|9 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_dicom_directory.py`·(``plot_read_dicom_directory.py``)·|·00:00.766·|·0.0·MB·|
10 +------------------------------------------------------------------------------------------------------------+-----------+--------+10 +------------------------------------------------------------------------------------------------------------+-----------+--------+
11 |·:ref:`sphx_glr_auto_examples_input_output_plot_printing_dataset.py`·(``plot_printing_dataset.py``)·········|·00:00.026·|·0.0·MB·|11 |·:ref:`sphx_glr_auto_examples_input_output_plot_printing_dataset.py`·(``plot_printing_dataset.py``)·········|·00:00.120·|·0.0·MB·|
12 +------------------------------------------------------------------------------------------------------------+-----------+--------+12 +------------------------------------------------------------------------------------------------------------+-----------+--------+
13 |·:ref:`sphx_glr_auto_examples_input_output_plot_write_dicom.py`·(``plot_write_dicom.py``)···················|·00:00.024·|·0.0·MB·|13 |·:ref:`sphx_glr_auto_examples_input_output_plot_write_dicom.py`·(``plot_write_dicom.py``)···················|·00:00.073·|·0.0·MB·|
14 +------------------------------------------------------------------------------------------------------------+-----------+--------+14 +------------------------------------------------------------------------------------------------------------+-----------+--------+
15 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_rtplan.py`·(``plot_read_rtplan.py``)···················|·00:00.011·|·0.0·MB·|15 |·:ref:`sphx_glr_auto_examples_input_output_plot_read_rtplan.py`·(``plot_read_rtplan.py``)···················|·00:00.032·|·0.0·MB·|
16 +------------------------------------------------------------------------------------------------------------+-----------+--------+16 +------------------------------------------------------------------------------------------------------------+-----------+--------+
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.004·seconds)94 ···**Total·running·time·of·the·script:**·(·0·minutes··0.018·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.035·seconds)228 ···**Total·running·time·of·the·script:**·(·0·minutes··0.148·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.004·seconds)83 ···**Total·running·time·of·the·script:**·(·0·minutes··0.014·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.043**·total·execution·time·for·**auto_examples_metadata_processing**·files:5 **00:00.180**·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.035·|·0.0·MB·|7 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_anonymize.py`·(``plot_anonymize.py``)···············|·00:00.148·|·0.0·MB·|
8 +-----------------------------------------------------------------------------------------------------------+-----------+--------+8 +-----------------------------------------------------------------------------------------------------------+-----------+--------+
9 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_add_dict_entries.py`·(``plot_add_dict_entries.py``)·|·00:00.004·|·0.0·MB·|9 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_add_dict_entries.py`·(``plot_add_dict_entries.py``)·|·00:00.018·|·0.0·MB·|
10 +-----------------------------------------------------------------------------------------------------------+-----------+--------+10 +-----------------------------------------------------------------------------------------------------------+-----------+--------+
11 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_sequences.py`·(``plot_sequences.py``)···············|·00:00.004·|·0.0·MB·|11 |·:ref:`sphx_glr_auto_examples_metadata_processing_plot_sequences.py`·(``plot_sequences.py``)···············|·00:00.014·|·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.334·seconds)751 ···**Total·running·time·of·the·script:**·(·0·minutes··2.191·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.334**·total·execution·time·for·**auto_examples**·files:5 **00:02.191**·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.334·|·0.0·MB·|7 |·:ref:`sphx_glr_auto_examples_plot_dicom_difference.py`·(``plot_dicom_difference.py``)·|·00:02.191·|·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 +---------------------------------------------------------------------------------------+-----------+--------+
2.97 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/image_processing/plot_downsize_image.html
    
Offset 324, 15 lines modifiedOffset 324, 15 lines modified
324 <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>324 <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>
  
325 <span·class="c1">#·print·the·image·information·given·in·the·dataset</span>325 <span·class="c1">#·print·the·image·information·given·in·the·dataset</span>
326 <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>326 <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>
327 <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>327 <span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>
328 </pre></div>328 </pre></div>
329 </div>329 </div>
330 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.020·seconds)</p>330 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.181·seconds)</p>
331 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-downsize-image-py">331 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-image-processing-plot-downsize-image-py">
332 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">332 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
333 <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>333 <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>
334 </div>334 </div>
335 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">335 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
336 <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>336 <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>
337 </div>337 </div>
817 B
html2text {}
    
Offset 168, 15 lines modifiedOffset 168, 15 lines modified
168 ds.PixelData·=·data_downsampling.tobytes()168 ds.PixelData·=·data_downsampling.tobytes()
169 #·update·the·information·regarding·the·shape·of·the·data·array169 #·update·the·information·regarding·the·shape·of·the·data·array
170 ds.Rows,·ds.Columns·=·data_downsampling.shape170 ds.Rows,·ds.Columns·=·data_downsampling.shape
  
171 #·print·the·image·information·given·in·the·dataset171 #·print·the·image·information·given·in·the·dataset
172 print('The·information·of·the·data·set·after·downsampling:·\n')172 print('The·information·of·the·data·set·after·downsampling:·\n')
173 print(ds)173 print(ds)
174 Total·running·time·of·the·script:·(·0·minutes·0.020·seconds)174 Total·running·time·of·the·script:·(·0·minutes·0.181·seconds)
175 Download_Python_source_code:_plot_downsize_image.py175 Download_Python_source_code:_plot_downsize_image.py
176 Download_Jupyter_notebook:_plot_downsize_image.ipynb176 Download_Jupyter_notebook:_plot_downsize_image.ipynb
177 Gallery_generated_by_Sphinx-Gallery177 Gallery_generated_by_Sphinx-Gallery
178 Next·Previous178 Next·Previous
179 ===============================================================================179 ===============================================================================
180 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.180 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
181 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.181 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
1.78 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/image_processing/sg_execution_times.html
    
Offset 181, 24 lines modifiedOffset 181, 24 lines modified
181 ··<hr/>181 ··<hr/>
182 </div>182 </div>
183 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">183 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">
184 ···········<div·itemprop="articleBody">184 ···········<div·itemprop="articleBody">
185 ············185 ············
186 ··<div·class="section"·id="computation-times">186 ··<div·class="section"·id="computation-times">
187 <span·id="sphx-glr-auto-examples-image-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·headline">¶</a></h1>187 <span·id="sphx-glr-auto-examples-image-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·headline">¶</a></h1>
188 <p><strong>00:00.020</strong>·total·execution·time·for·<strong>auto_examples_image_processing</strong>·files:</p>188 <p><strong>00:00.181</strong>·total·execution·time·for·<strong>auto_examples_image_processing</strong>·files:</p>
189 <table·class="docutils·align-default">189 <table·class="docutils·align-default">
190 <colgroup>190 <colgroup>
191 <col·style="width:·84%"·/>191 <col·style="width:·84%"·/>
192 <col·style="width:·9%"·/>192 <col·style="width:·9%"·/>
193 <col·style="width:·7%"·/>193 <col·style="width:·7%"·/>
194 </colgroup>194 </colgroup>
195 <tbody>195 <tbody>
196 <tr·class="row-odd"><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>196 <tr·class="row-odd"><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>
197 <td><p>00:00.020</p></td>197 <td><p>00:00.181</p></td>
198 <td><p>0.0·MB</p></td>198 <td><p>0.0·MB</p></td>
199 </tr>199 </tr>
200 <tr·class="row-even"><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>200 <tr·class="row-even"><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>
201 <td><p>00:00.000</p></td>201 <td><p>00:00.000</p></td>
202 <td><p>0.0·MB</p></td>202 <td><p>0.0·MB</p></td>
203 </tr>203 </tr>
204 </tbody>204 </tbody>
2.96 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_printing_dataset.html
    
Offset 320, 15 lines modifiedOffset 320, 15 lines modified
  
320 <span·class="n">filename</span>·<span·class="o">=</span>·<a·href="../../reference/generated/pydicom.data.get_testdata_files.html#pydicom.data.get_testdata_files"·title="pydicom.data.get_testdata_files"·class="sphx-glr-backref-module-pydicom-data·sphx-glr-backref-type-py-function"><span·class="n">get_testdata_files</span></a><span·class="p">(</span><span·class="s1">&#39;MR_small.dcm&#39;</span><span·class="p">)[</span><span·class="mi">0</span><span·class="p">]</span>320 <span·class="n">filename</span>·<span·class="o">=</span>·<a·href="../../reference/generated/pydicom.data.get_testdata_files.html#pydicom.data.get_testdata_files"·title="pydicom.data.get_testdata_files"·class="sphx-glr-backref-module-pydicom-data·sphx-glr-backref-type-py-function"><span·class="n">get_testdata_files</span></a><span·class="p">(</span><span·class="s1">&#39;MR_small.dcm&#39;</span><span·class="p">)[</span><span·class="mi">0</span><span·class="p">]</span>
321 <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>321 <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>
  
322 <span·class="n">myprint</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>322 <span·class="n">myprint</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>
323 </pre></div>323 </pre></div>
324 </div>324 </div>
325 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.026·seconds)</p>325 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.120·seconds)</p>
326 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-printing-dataset-py">326 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-printing-dataset-py">
327 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">327 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
328 <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>328 <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>
329 </div>329 </div>
330 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">330 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
331 <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>331 <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>
332 </div>332 </div>
702 B
html2text {}
    
Offset 159, 15 lines modifiedOffset 159, 15 lines modified
159 ···················································repr_value))159 ···················································repr_value))
  
  
160 filename·=·get_testdata_files('MR_small.dcm')[0]160 filename·=·get_testdata_files('MR_small.dcm')[0]
161 ds·=·pydicom.dcmread(filename)161 ds·=·pydicom.dcmread(filename)
  
162 myprint(ds)162 myprint(ds)
163 Total·running·time·of·the·script:·(·0·minutes·0.026·seconds)163 Total·running·time·of·the·script:·(·0·minutes·0.120·seconds)
164 Download_Python_source_code:_plot_printing_dataset.py164 Download_Python_source_code:_plot_printing_dataset.py
165 Download_Jupyter_notebook:_plot_printing_dataset.ipynb165 Download_Jupyter_notebook:_plot_printing_dataset.ipynb
166 Gallery_generated_by_Sphinx-Gallery166 Gallery_generated_by_Sphinx-Gallery
167 Next·Previous167 Next·Previous
168 ===============================================================================168 ===============================================================================
169 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.169 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
170 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.170 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
3.15 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_dicom.html
    
Offset 257, 15 lines modifiedOffset 257, 15 lines modified
257 <span·class="nb">print</span><span·class="p">(</span><span·class="s2">&quot;Slice·location...:&quot;</span><span·class="p">,</span>·<span·class="n">dataset</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="s2">&quot;(missing)&quot;</span><span·class="p">))</span>257 <span·class="nb">print</span><span·class="p">(</span><span·class="s2">&quot;Slice·location...:&quot;</span><span·class="p">,</span>·<span·class="n">dataset</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="s2">&quot;(missing)&quot;</span><span·class="p">))</span>
  
258 <span·class="c1">#·plot·the·image·using·matplotlib</span>258 <span·class="c1">#·plot·the·image·using·matplotlib</span>
259 <span·class="n">plt</span><span·class="o">.</span><span·class="n">imshow</span><span·class="p">(</span><span·class="n">dataset</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">bone</span><span·class="p">)</span>259 <span·class="n">plt</span><span·class="o">.</span><span·class="n">imshow</span><span·class="p">(</span><span·class="n">dataset</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">bone</span><span·class="p">)</span>
260 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>260 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
261 </pre></div>261 </pre></div>
262 </div>262 </div>
263 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.435·seconds)</p>263 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··1.895·seconds)</p>
264 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-py">264 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-dicom-py">
265 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">265 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
266 <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>266 <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>
267 </div>267 </div>
268 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">268 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
269 <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>269 <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>
270 </div>270 </div>
775 B
html2text {}
    
Offset 96, 15 lines modifiedOffset 96, 15 lines modified
  
96 #·use·.get()·if·not·sure·the·item·exists,·and·want·a·default·value·if·missing96 #·use·.get()·if·not·sure·the·item·exists,·and·want·a·default·value·if·missing
97 print("Slice·location...:",·dataset.get('SliceLocation',·"(missing)"))97 print("Slice·location...:",·dataset.get('SliceLocation',·"(missing)"))
  
98 #·plot·the·image·using·matplotlib98 #·plot·the·image·using·matplotlib
99 plt.imshow(dataset.pixel_array,·cmap=plt.cm.bone)99 plt.imshow(dataset.pixel_array,·cmap=plt.cm.bone)
100 plt.show()100 plt.show()
101 Total·running·time·of·the·script:·(·0·minutes·0.435·seconds)101 Total·running·time·of·the·script:·(·0·minutes·1.895·seconds)
102 Download_Python_source_code:_plot_read_dicom.py102 Download_Python_source_code:_plot_read_dicom.py
103 Download_Jupyter_notebook:_plot_read_dicom.ipynb103 Download_Jupyter_notebook:_plot_read_dicom.ipynb
104 Gallery_generated_by_Sphinx-Gallery104 Gallery_generated_by_Sphinx-Gallery
105 Next·Previous105 Next·Previous
106 ===============================================================================106 ===============================================================================
107 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.107 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
108 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.108 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
3.36 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_dicom_directory.html
    
Offset 393, 15 lines modifiedOffset 393, 15 lines modified
393 ············<span·class="c1">#·Show·the·set·of·all·names,·IDs·found·(should·each·have·one)</span>393 ············<span·class="c1">#·Show·the·set·of·all·names,·IDs·found·(should·each·have·one)</span>
394 ············<span·class="nb">print</span><span·class="p">(</span><span·class="s2">&quot;·&quot;</span>·<span·class="o">*</span>·<span·class="mi">12</span>·<span·class="o">+</span>·<span·class="s2">&quot;Patient·Names·in·images..:·</span><span·class="si">{}</span><span·class="s2">&quot;</span><span·class="o">.</span><span·class="n">format</span><span·class="p">(</span>394 ············<span·class="nb">print</span><span·class="p">(</span><span·class="s2">&quot;·&quot;</span>·<span·class="o">*</span>·<span·class="mi">12</span>·<span·class="o">+</span>·<span·class="s2">&quot;Patient·Names·in·images..:·</span><span·class="si">{}</span><span·class="s2">&quot;</span><span·class="o">.</span><span·class="n">format</span><span·class="p">(</span>
395 ················<span·class="n">patient_names</span><span·class="p">))</span>395 ················<span·class="n">patient_names</span><span·class="p">))</span>
396 ············<span·class="nb">print</span><span·class="p">(</span><span·class="s2">&quot;·&quot;</span>·<span·class="o">*</span>·<span·class="mi">12</span>·<span·class="o">+</span>·<span·class="s2">&quot;Patient·IDs·in·images..:·</span><span·class="si">{}</span><span·class="s2">&quot;</span><span·class="o">.</span><span·class="n">format</span><span·class="p">(</span>396 ············<span·class="nb">print</span><span·class="p">(</span><span·class="s2">&quot;·&quot;</span>·<span·class="o">*</span>·<span·class="mi">12</span>·<span·class="o">+</span>·<span·class="s2">&quot;Patient·IDs·in·images..:·</span><span·class="si">{}</span><span·class="s2">&quot;</span><span·class="o">.</span><span·class="n">format</span><span·class="p">(</span>
397 ················<span·class="n">patient_IDs</span><span·class="p">))</span>397 ················<span·class="n">patient_IDs</span><span·class="p">))</span>
398 </pre></div>398 </pre></div>
399 </div>399 </div>
400 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.173·seconds)</p>400 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.766·seconds)</p>
401 <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">401 <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">
402 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">402 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
403 <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>403 <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>
404 </div>404 </div>
405 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">405 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
406 <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>406 <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>
407 </div>407 </div>
886 B
html2text {}
    
Offset 263, 15 lines modifiedOffset 263, 15 lines modified
  
263 ············#·Expect·all·images·to·have·same·patient·name,·id263 ············#·Expect·all·images·to·have·same·patient·name,·id
264 ············#·Show·the·set·of·all·names,·IDs·found·(should·each·have·one)264 ············#·Show·the·set·of·all·names,·IDs·found·(should·each·have·one)
265 ············print("·"·*·12·+·"Patient·Names·in·images..:·{}".format(265 ············print("·"·*·12·+·"Patient·Names·in·images..:·{}".format(
266 ················patient_names))266 ················patient_names))
267 ············print("·"·*·12·+·"Patient·IDs·in·images..:·{}".format(267 ············print("·"·*·12·+·"Patient·IDs·in·images..:·{}".format(
268 ················patient_IDs))268 ················patient_IDs))
269 Total·running·time·of·the·script:·(·0·minutes·0.173·seconds)269 Total·running·time·of·the·script:·(·0·minutes·0.766·seconds)
270 Download_Python_source_code:_plot_read_dicom_directory.py270 Download_Python_source_code:_plot_read_dicom_directory.py
271 Download_Jupyter_notebook:_plot_read_dicom_directory.ipynb271 Download_Jupyter_notebook:_plot_read_dicom_directory.ipynb
272 Gallery_generated_by_Sphinx-Gallery272 Gallery_generated_by_Sphinx-Gallery
273 Next·Previous273 Next·Previous
274 ===============================================================================274 ===============================================================================
275 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.275 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
276 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.276 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
3.02 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_read_rtplan.html
    
Offset 234, 15 lines modifiedOffset 234, 15 lines modified
  
  
234 <span·class="n">filename</span>·<span·class="o">=</span>·<a·href="../../reference/generated/pydicom.data.get_testdata_files.html#pydicom.data.get_testdata_files"·title="pydicom.data.get_testdata_files"·class="sphx-glr-backref-module-pydicom-data·sphx-glr-backref-type-py-function"><span·class="n">get_testdata_files</span></a><span·class="p">(</span><span·class="s1">&#39;rtplan.dcm&#39;</span><span·class="p">)[</span><span·class="mi">0</span><span·class="p">]</span>234 <span·class="n">filename</span>·<span·class="o">=</span>·<a·href="../../reference/generated/pydicom.data.get_testdata_files.html#pydicom.data.get_testdata_files"·title="pydicom.data.get_testdata_files"·class="sphx-glr-backref-module-pydicom-data·sphx-glr-backref-type-py-function"><span·class="n">get_testdata_files</span></a><span·class="p">(</span><span·class="s1">&#39;rtplan.dcm&#39;</span><span·class="p">)[</span><span·class="mi">0</span><span·class="p">]</span>
235 <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>235 <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>
236 <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>236 <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>
237 </pre></div>237 </pre></div>
238 </div>238 </div>
239 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.011·seconds)</p>239 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.032·seconds)</p>
240 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-rtplan-py">240 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-read-rtplan-py">
241 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">241 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
242 <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>242 <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>
243 </div>243 </div>
244 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">244 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
245 <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>245 <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>
246 </div>246 </div>
736 B
html2text {}
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ·······················································ssd=SSD))72 ·······················································ssd=SSD))
73 ····return·"\n".join(lines)73 ····return·"\n".join(lines)
  
  
74 filename·=·get_testdata_files('rtplan.dcm')[0]74 filename·=·get_testdata_files('rtplan.dcm')[0]
75 dataset·=·pydicom.dcmread(filename)75 dataset·=·pydicom.dcmread(filename)
76 print(list_beams(dataset))76 print(list_beams(dataset))
77 Total·running·time·of·the·script:·(·0·minutes·0.011·seconds)77 Total·running·time·of·the·script:·(·0·minutes·0.032·seconds)
78 Download_Python_source_code:_plot_read_rtplan.py78 Download_Python_source_code:_plot_read_rtplan.py
79 Download_Jupyter_notebook:_plot_read_rtplan.ipynb79 Download_Jupyter_notebook:_plot_read_rtplan.ipynb
80 Gallery_generated_by_Sphinx-Gallery80 Gallery_generated_by_Sphinx-Gallery
81 Next·Previous81 Next·Previous
82 ===============================================================================82 ===============================================================================
83 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.83 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
84 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.84 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
8.19 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/plot_write_dicom.html
    
Offset 203, 40 lines modifiedOffset 203, 40 lines modified
203 <span·id="sphx-glr-auto-examples-input-output-plot-write-dicom-py"></span><h1>Write·DICOM·data<a·class="headerlink"·href="#write-dicom-data"·title="Permalink·to·this·headline">¶</a></h1>203 <span·id="sphx-glr-auto-examples-input-output-plot-write-dicom-py"></span><h1>Write·DICOM·data<a·class="headerlink"·href="#write-dicom-data"·title="Permalink·to·this·headline">¶</a></h1>
204 <p>This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This204 <p>This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This
205 example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will205 example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will
206 have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.</p>206 have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.</p>
207 <p·class="sphx-glr-script-out">Out:</p>207 <p·class="sphx-glr-script-out">Out:</p>
208 <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>Setting·file·meta·information...208 <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>Setting·file·meta·information...
209 Setting·dataset·values...209 Setting·dataset·values...
210 Writing·test·file·/tmp/tmp803qnuw0.dcm210 Writing·test·file·/tmp/tmpfznp4t1_.dcm
211 File·saved.211 File·saved.
212 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpwi1tjpql.dcm212 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpoxa8vs37.dcm
213 Load·file·/tmp/tmp803qnuw0.dcm·...213 Load·file·/tmp/tmpfznp4t1_.dcm·...
214 Dataset.file_meta·-------------------------------214 Dataset.file_meta·-------------------------------
215 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage215 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
216 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3216 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
217 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4217 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
218 -------------------------------------------------218 -------------------------------------------------
219 (0008,·0023)·Content·Date························DA:·&#39;20240109&#39;219 (0008,·0023)·Content·Date························DA:·&#39;20240110&#39;
220 (0008,·0033)·Content·Time························TM:·&#39;033448.614311&#39;220 (0008,·0033)·Content·Time························TM:·&#39;055208.719659&#39;
221 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;221 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;
222 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;222 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;
223 Remove·file·/tmp/tmp803qnuw0.dcm·...223 Remove·file·/tmp/tmpfznp4t1_.dcm·...
224 Load·file·/tmp/tmpwi1tjpql.dcm·...224 Load·file·/tmp/tmpoxa8vs37.dcm·...
225 Dataset.file_meta·-------------------------------225 Dataset.file_meta·-------------------------------
226 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage226 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
227 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3227 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
228 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian228 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian
229 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4229 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
230 -------------------------------------------------230 -------------------------------------------------
231 (0008,·0023)·Content·Date························DA:·&#39;20240109&#39;231 (0008,·0023)·Content·Date························DA:·&#39;20240110&#39;
232 (0008,·0033)·Content·Time························TM:·&#39;033448.614311&#39;232 (0008,·0033)·Content·Time························TM:·&#39;055208.719659&#39;
233 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;233 (0010,·0010)·Patient&#39;s·Name······················PN:·&#39;Test^Firstname&#39;
234 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;234 (0010,·0020)·Patient·ID··························LO:·&#39;123456&#39;
235 Remove·file·/tmp/tmpwi1tjpql.dcm·...235 Remove·file·/tmp/tmpoxa8vs37.dcm·...
236 </pre></div>236 </pre></div>
237 </div>237 </div>
238 <div·class="line-block">238 <div·class="line-block">
239 <div·class="line"><br·/></div>239 <div·class="line"><br·/></div>
240 </div>240 </div>
241 <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="c1">#·authors·:·Guillaume·Lemaitre·&lt;g.lemaitre58@gmail.com&gt;</span>241 <div·class="highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="c1">#·authors·:·Guillaume·Lemaitre·&lt;g.lemaitre58@gmail.com&gt;</span>
242 <span·class="c1">#·license·:·MIT</span>242 <span·class="c1">#·license·:·MIT</span>
Offset 301, 15 lines modifiedOffset 301, 15 lines modified
301 ····<span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>301 ····<span·class="nb">print</span><span·class="p">(</span><span·class="n">ds</span><span·class="p">)</span>
  
302 ····<span·class="c1">#·remove·the·created·file</span>302 ····<span·class="c1">#·remove·the·created·file</span>
303 ····<span·class="nb">print</span><span·class="p">(</span><span·class="s1">&#39;Remove·file·</span><span·class="si">{}</span><span·class="s1">·...&#39;</span><span·class="o">.</span><span·class="n">format</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">))</span>303 ····<span·class="nb">print</span><span·class="p">(</span><span·class="s1">&#39;Remove·file·</span><span·class="si">{}</span><span·class="s1">·...&#39;</span><span·class="o">.</span><span·class="n">format</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">))</span>
304 ····<span·class="n">os</span><span·class="o">.</span><span·class="n">remove</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">)</span>304 ····<span·class="n">os</span><span·class="o">.</span><span·class="n">remove</span><span·class="p">(</span><span·class="n">filename</span><span·class="p">)</span>
305 </pre></div>305 </pre></div>
306 </div>306 </div>
307 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.024·seconds)</p>307 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.073·seconds)</p>
308 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-write-dicom-py">308 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-input-output-plot-write-dicom-py">
309 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">309 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
310 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/7e3f494a513e0ac1eb4963e47afed114/plot_write_dicom.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_write_dicom.py</span></code></a></p>310 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/7e3f494a513e0ac1eb4963e47afed114/plot_write_dicom.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">plot_write_dicom.py</span></code></a></p>
311 </div>311 </div>
312 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">312 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
313 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/44c3a2647e8572357403f4dc998e2848/plot_write_dicom.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_write_dicom.ipynb</span></code></a></p>313 <p><a·class="reference·download·internal"·download=""·href="../../_downloads/44c3a2647e8572357403f4dc998e2848/plot_write_dicom.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">plot_write_dicom.ipynb</span></code></a></p>
314 </div>314 </div>
3.14 KB
html2text {}
    
Offset 47, 40 lines modifiedOffset 47, 40 lines modified
47 ******·Write·DICOM·data¶·******47 ******·Write·DICOM·data¶·******
48 This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This48 This·example·shows·how·to·write·a·DICOM·file·from·scratch·using·pydicom.·This
49 example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will49 example·does·not·produce·a·DICOM·standards·compliant·file·as·written,·you·will
50 have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.50 have·to·change·UIDs·to·valid·values·and·add·all·required·DICOM·data·elements.
51 Out:51 Out:
52 Setting·file·meta·information...52 Setting·file·meta·information...
53 Setting·dataset·values...53 Setting·dataset·values...
54 Writing·test·file·/tmp/tmp803qnuw0.dcm54 Writing·test·file·/tmp/tmpfznp4t1_.dcm
55 File·saved.55 File·saved.
56 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpwi1tjpql.dcm56 Writing·test·file·as·Big·Endian·Explicit·VR·/tmp/tmpoxa8vs37.dcm
57 Load·file·/tmp/tmp803qnuw0.dcm·...57 Load·file·/tmp/tmpfznp4t1_.dcm·...
58 Dataset.file_meta·-------------------------------58 Dataset.file_meta·-------------------------------
59 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage59 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
60 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.360 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
61 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.461 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
62 -------------------------------------------------62 -------------------------------------------------
63 (0008,·0023)·Content·Date························DA:·'20240109'63 (0008,·0023)·Content·Date························DA:·'20240110'
64 (0008,·0033)·Content·Time························TM:·'033448.614311'64 (0008,·0033)·Content·Time························TM:·'055208.719659'
65 (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'65 (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'
66 (0010,·0020)·Patient·ID··························LO:·'123456'66 (0010,·0020)·Patient·ID··························LO:·'123456'
67 Remove·file·/tmp/tmp803qnuw0.dcm·...67 Remove·file·/tmp/tmpfznp4t1_.dcm·...
68 Load·file·/tmp/tmpwi1tjpql.dcm·...68 Load·file·/tmp/tmpoxa8vs37.dcm·...
69 Dataset.file_meta·-------------------------------69 Dataset.file_meta·-------------------------------
70 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage70 (0002,·0002)·Media·Storage·SOP·Class·UID·········UI:·CT·Image·Storage
71 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.371 (0002,·0003)·Media·Storage·SOP·Instance·UID······UI:·1.2.3
72 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian72 (0002,·0010)·Transfer·Syntax·UID·················UI:·Explicit·VR·Big·Endian
73 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.473 (0002,·0012)·Implementation·Class·UID············UI:·1.2.3.4
74 -------------------------------------------------74 -------------------------------------------------
75 (0008,·0023)·Content·Date························DA:·'20240109'75 (0008,·0023)·Content·Date························DA:·'20240110'
76 (0008,·0033)·Content·Time························TM:·'033448.614311'76 (0008,·0033)·Content·Time························TM:·'055208.719659'
77 (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'77 (0010,·0010)·Patient's·Name······················PN:·'Test^Firstname'
78 (0010,·0020)·Patient·ID··························LO:·'123456'78 (0010,·0020)·Patient·ID··························LO:·'123456'
79 Remove·file·/tmp/tmpwi1tjpql.dcm·...79 Remove·file·/tmp/tmpoxa8vs37.dcm·...
  
80 #·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com>80 #·authors·:·Guillaume·Lemaitre·<g.lemaitre58@gmail.com>
81 #·license·:·MIT81 #·license·:·MIT
  
82 import·os82 import·os
83 import·tempfile83 import·tempfile
84 import·datetime84 import·datetime
Offset 139, 15 lines modifiedOffset 139, 15 lines modified
139 ····print('Load·file·{}·...'.format(filename))139 ····print('Load·file·{}·...'.format(filename))
140 ····ds·=·pydicom.dcmread(filename)140 ····ds·=·pydicom.dcmread(filename)
141 ····print(ds)141 ····print(ds)
  
142 ····#·remove·the·created·file142 ····#·remove·the·created·file
143 ····print('Remove·file·{}·...'.format(filename))143 ····print('Remove·file·{}·...'.format(filename))
144 ····os.remove(filename)144 ····os.remove(filename)
145 Total·running·time·of·the·script:·(·0·minutes·0.024·seconds)145 Total·running·time·of·the·script:·(·0·minutes·0.073·seconds)
146 Download_Python_source_code:_plot_write_dicom.py146 Download_Python_source_code:_plot_write_dicom.py
147 Download_Jupyter_notebook:_plot_write_dicom.ipynb147 Download_Jupyter_notebook:_plot_write_dicom.ipynb
148 Gallery_generated_by_Sphinx-Gallery148 Gallery_generated_by_Sphinx-Gallery
149 Next·Previous149 Next·Previous
150 ===============================================================================150 ===============================================================================
151 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.151 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
152 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.152 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
4.4 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/input_output/sg_execution_times.html
    
Offset 181, 40 lines modifiedOffset 181, 40 lines modified
181 ··<hr/>181 ··<hr/>
182 </div>182 </div>
183 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">183 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">
184 ···········<div·itemprop="articleBody">184 ···········<div·itemprop="articleBody">
185 ············185 ············
186 ··<div·class="section"·id="computation-times">186 ··<div·class="section"·id="computation-times">
187 <span·id="sphx-glr-auto-examples-input-output-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·headline">¶</a></h1>187 <span·id="sphx-glr-auto-examples-input-output-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·headline">¶</a></h1>
188 <p><strong>00:00.670</strong>·total·execution·time·for·<strong>auto_examples_input_output</strong>·files:</p>188 <p><strong>00:02.885</strong>·total·execution·time·for·<strong>auto_examples_input_output</strong>·files:</p>
189 <table·class="docutils·align-default">189 <table·class="docutils·align-default">
190 <colgroup>190 <colgroup>
191 <col·style="width:·85%"·/>191 <col·style="width:·85%"·/>
192 <col·style="width:·9%"·/>192 <col·style="width:·9%"·/>
193 <col·style="width:·6%"·/>193 <col·style="width:·6%"·/>
194 </colgroup>194 </colgroup>
195 <tbody>195 <tbody>
196 <tr·class="row-odd"><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·DICOM·and·ploting·using·matplotlib</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom.py</span></code>)</p></td>196 <tr·class="row-odd"><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·DICOM·and·ploting·using·matplotlib</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom.py</span></code>)</p></td>
197 <td><p>00:00.435</p></td>197 <td><p>00:01.895</p></td>
198 <td><p>0.0·MB</p></td>198 <td><p>0.0·MB</p></td>
199 </tr>199 </tr>
200 <tr·class="row-even"><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·DICOM·directory</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom_directory.py</span></code>)</p></td>200 <tr·class="row-even"><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·DICOM·directory</span></a>·(<code·class="docutils·literal·notranslate"><span·class="pre">plot_read_dicom_directory.py</span></code>)</p></td>
201 <td><p>00:00.173</p></td>201 <td><p>00:00.766</p></td>
202 <td><p>0.0·MB</p></td>202 <td><p>0.0·MB</p></td>
203 </tr>203 </tr>
204 <tr·class="row-odd"><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>204 <tr·class="row-odd"><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>
205 <td><p>00:00.026</p></td>205 <td><p>00:00.120</p></td>
206 <td><p>0.0·MB</p></td>206 <td><p>0.0·MB</p></td>
207 </tr>207 </tr>
208 <tr·class="row-even"><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>208 <tr·class="row-even"><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>
209 <td><p>00:00.024</p></td>209 <td><p>00:00.073</p></td>
210 <td><p>0.0·MB</p></td>210 <td><p>0.0·MB</p></td>
211 </tr>211 </tr>
212 <tr·class="row-odd"><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>212 <tr·class="row-odd"><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>
213 <td><p>00:00.011</p></td>213 <td><p>00:00.032</p></td>
214 <td><p>0.0·MB</p></td>214 <td><p>0.0·MB</p></td>
215 </tr>215 </tr>
216 </tbody>216 </tbody>
217 </table>217 </table>
218 </div>218 </div>
  
  
1.39 KB
html2text {}
    
Offset 31, 18 lines modifiedOffset 31, 18 lines modified
31 ····*·Frequently_asked_questions31 ····*·Frequently_asked_questions
32 ····*·Release_notes32 ····*·Release_notes
33 ····pydicom33 ····pydicom
34 ····*··»34 ····*··»
35 ····*·Computation·times35 ····*·Computation·times
36 ===============================================================================36 ===============================================================================
37 ******·Computation·times¶·******37 ******·Computation·times¶·******
38 00:00.670·total·execution·time·for·auto_examples_input_output·files:38 00:02.885·total·execution·time·for·auto_examples_input_output·files:
39 Read_DICOM_and_ploting_using_matplotlib·(plot_read_dicom.py)·00:00.435·0.0·MB39 Read_DICOM_and_ploting_using_matplotlib·(plot_read_dicom.py)·00:01.895·0.0·MB
40 Read_DICOM_directory·(plot_read_dicom_directory.py)··········00:00.173·0.0·MB40 Read_DICOM_directory·(plot_read_dicom_directory.py)··········00:00.766·0.0·MB
41 Format_the_output_of_the_data_set_printing···················00:00.026·0.0·MB41 Format_the_output_of_the_data_set_printing···················00:00.120·0.0·MB
42 (plot_printing_dataset.py)42 (plot_printing_dataset.py)
43 Write_DICOM_data·(plot_write_dicom.py)·······················00:00.024·0.0·MB43 Write_DICOM_data·(plot_write_dicom.py)·······················00:00.073·0.0·MB
44 Read_RTPLAN_DICOM_and_list_information·(plot_read_rtplan.py)·00:00.011·0.0·MB44 Read_RTPLAN_DICOM_and_list_information·(plot_read_rtplan.py)·00:00.032·0.0·MB
  
45 ===============================================================================45 ===============================================================================
46 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.46 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
47 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.47 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
2.95 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/plot_add_dict_entries.html
    
Offset 248, 15 lines modifiedOffset 248, 15 lines modified
248 <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestOne</span>·<span·class="o">=</span>·<span·class="mi">42</span>248 <span·class="n">ds</span><span·class="o">.</span><span·class="n">TestOne</span>·<span·class="o">=</span>·<span·class="mi">42</span>
249 <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>249 <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>
250 <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>250 <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>
  
251 <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>251 <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>
252 </pre></div>252 </pre></div>
253 </div>253 </div>
254 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.004·seconds)</p>254 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.018·seconds)</p>
255 <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">255 <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">
256 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">256 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
257 <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>257 <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>
258 </div>258 </div>
259 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">259 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
260 <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>260 <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>
261 </div>261 </div>
676 B
html2text {}
    
Offset 84, 15 lines modifiedOffset 84, 15 lines modified
84 ds·=·Dataset()··#·or·could·get·one·from·dcmread,·etc84 ds·=·Dataset()··#·or·could·get·one·from·dcmread,·etc
  
85 ds.TestOne·=·4285 ds.TestOne·=·42
86 ds.TestTwo·=·'12345'86 ds.TestTwo·=·'12345'
87 ds.TestThree·=·'1.2.3.4.5'87 ds.TestThree·=·'1.2.3.4.5'
  
88 print(ds.top())88 print(ds.top())
89 Total·running·time·of·the·script:·(·0·minutes·0.004·seconds)89 Total·running·time·of·the·script:·(·0·minutes·0.018·seconds)
90 Download_Python_source_code:_plot_add_dict_entries.py90 Download_Python_source_code:_plot_add_dict_entries.py
91 Download_Jupyter_notebook:_plot_add_dict_entries.ipynb91 Download_Jupyter_notebook:_plot_add_dict_entries.ipynb
92 Gallery_generated_by_Sphinx-Gallery92 Gallery_generated_by_Sphinx-Gallery
93 Next·Previous93 Next·Previous
94 ===============================================================================94 ===============================================================================
95 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.95 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
96 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.96 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
2.53 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/plot_anonymize.html
    
Offset 284, 15 lines modifiedOffset 284, 15 lines modified
284 </pre></div>284 </pre></div>
285 </div>285 </div>
286 <p·class="sphx-glr-script-out">Out:</p>286 <p·class="sphx-glr-script-out">Out:</p>
287 <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>(0010,·0020)·Patient·ID··························LO:·&#39;id&#39;287 <div·class="sphx-glr-script-out·highlight-none·notranslate"><div·class="highlight"><pre><span></span>(0010,·0020)·Patient·ID··························LO:·&#39;id&#39;
288 (0010,·0030)·Patient&#39;s·Birth·Date················DA:·&#39;19000101&#39;288 (0010,·0030)·Patient&#39;s·Birth·Date················DA:·&#39;19000101&#39;
289 </pre></div>289 </pre></div>
290 </div>290 </div>
291 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.035·seconds)</p>291 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.148·seconds)</p>
292 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-anonymize-py">292 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-anonymize-py">
293 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">293 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
294 <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>294 <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>
295 </div>295 </div>
296 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">296 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
297 <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>297 <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>
298 </div>298 </div>
779 B
html2text {}
    
Offset 104, 15 lines modifiedOffset 104, 15 lines modified
104 ····print(dataset.data_element(de))104 ····print(dataset.data_element(de))
  
105 output_filename·=·tempfile.NamedTemporaryFile().name105 output_filename·=·tempfile.NamedTemporaryFile().name
106 dataset.save_as(output_filename)106 dataset.save_as(output_filename)
107 Out:107 Out:
108 (0010,·0020)·Patient·ID··························LO:·'id'108 (0010,·0020)·Patient·ID··························LO:·'id'
109 (0010,·0030)·Patient's·Birth·Date················DA:·'19000101'109 (0010,·0030)·Patient's·Birth·Date················DA:·'19000101'
110 Total·running·time·of·the·script:·(·0·minutes·0.035·seconds)110 Total·running·time·of·the·script:·(·0·minutes·0.148·seconds)
111 Download_Python_source_code:_plot_anonymize.py111 Download_Python_source_code:_plot_anonymize.py
112 Download_Jupyter_notebook:_plot_anonymize.ipynb112 Download_Jupyter_notebook:_plot_anonymize.ipynb
113 Gallery_generated_by_Sphinx-Gallery113 Gallery_generated_by_Sphinx-Gallery
114 Next·Previous114 Next·Previous
115 ===============================================================================115 ===============================================================================
116 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.116 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
117 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.117 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
3.22 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/plot_sequences.html
    
Offset 237, 15 lines modifiedOffset 237, 15 lines modified
237 <span·class="n">block_ds3</span>·<span·class="o">=</span>·<span·class="n">Dataset</span><span·class="p">()</span>237 <span·class="n">block_ds3</span>·<span·class="o">=</span>·<span·class="n">Dataset</span><span·class="p">()</span>
238 <span·class="c1">#·add·data·elements·to·it·as·above·and·don&#39;t·forget·to·update·Number·of·Blocks</span>238 <span·class="c1">#·add·data·elements·to·it·as·above·and·don&#39;t·forget·to·update·Number·of·Blocks</span>
239 <span·class="c1">#·data·element</span>239 <span·class="c1">#·data·element</span>
240 <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>240 <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>
241 <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>241 <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>
242 </pre></div>242 </pre></div>
243 </div>243 </div>
244 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.004·seconds)</p>244 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.014·seconds)</p>
245 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-sequences-py">245 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-metadata-processing-plot-sequences-py">
246 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">246 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
247 <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>247 <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>
248 </div>248 </div>
249 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">249 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
250 <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>250 <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>
251 </div>251 </div>
751 B
html2text {}
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
  
77 #·create·a·new·data·set77 #·create·a·new·data·set
78 block_ds3·=·Dataset()78 block_ds3·=·Dataset()
79 #·add·data·elements·to·it·as·above·and·don't·forget·to·update·Number·of·Blocks79 #·add·data·elements·to·it·as·above·and·don't·forget·to·update·Number·of·Blocks
80 #·data·element80 #·data·element
81 beam0.BlockSequence.append(block_ds3)81 beam0.BlockSequence.append(block_ds3)
82 del·plan_ds.BeamSequence[0].BlockSequence[1]82 del·plan_ds.BeamSequence[0].BlockSequence[1]
83 Total·running·time·of·the·script:·(·0·minutes·0.004·seconds)83 Total·running·time·of·the·script:·(·0·minutes·0.014·seconds)
84 Download_Python_source_code:_plot_sequences.py84 Download_Python_source_code:_plot_sequences.py
85 Download_Jupyter_notebook:_plot_sequences.ipynb85 Download_Jupyter_notebook:_plot_sequences.ipynb
86 Gallery_generated_by_Sphinx-Gallery86 Gallery_generated_by_Sphinx-Gallery
87 Next·Previous87 Next·Previous
88 ===============================================================================88 ===============================================================================
89 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.89 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
90 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.90 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
2.24 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/metadata_processing/sg_execution_times.html
    
Offset 181, 32 lines modifiedOffset 181, 32 lines modified
181 ··<hr/>181 ··<hr/>
182 </div>182 </div>
183 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">183 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">
184 ···········<div·itemprop="articleBody">184 ···········<div·itemprop="articleBody">
185 ············185 ············
186 ··<div·class="section"·id="computation-times">186 ··<div·class="section"·id="computation-times">
187 <span·id="sphx-glr-auto-examples-metadata-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·headline">¶</a></h1>187 <span·id="sphx-glr-auto-examples-metadata-processing-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·headline">¶</a></h1>
188 <p><strong>00:00.043</strong>·total·execution·time·for·<strong>auto_examples_metadata_processing</strong>·files:</p>188 <p><strong>00:00.180</strong>·total·execution·time·for·<strong>auto_examples_metadata_processing</strong>·files:</p>
189 <table·class="docutils·align-default">189 <table·class="docutils·align-default">
190 <colgroup>190 <colgroup>
191 <col·style="width:·85%"·/>191 <col·style="width:·85%"·/>
192 <col·style="width:·9%"·/>192 <col·style="width:·9%"·/>
193 <col·style="width:·6%"·/>193 <col·style="width:·6%"·/>
194 </colgroup>194 </colgroup>
195 <tbody>195 <tbody>
196 <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>196 <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>
197 <td><p>00:00.035</p></td>197 <td><p>00:00.148</p></td>
198 <td><p>0.0·MB</p></td>198 <td><p>0.0·MB</p></td>
199 </tr>199 </tr>
200 <tr·class="row-even"><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>200 <tr·class="row-even"><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>
201 <td><p>00:00.004</p></td>201 <td><p>00:00.018</p></td>
202 <td><p>0.0·MB</p></td>202 <td><p>0.0·MB</p></td>
203 </tr>203 </tr>
204 <tr·class="row-odd"><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>204 <tr·class="row-odd"><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>
205 <td><p>00:00.004</p></td>205 <td><p>00:00.014</p></td>
206 <td><p>0.0·MB</p></td>206 <td><p>0.0·MB</p></td>
207 </tr>207 </tr>
208 </tbody>208 </tbody>
209 </table>209 </table>
210 </div>210 </div>
  
  
2.98 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/plot_dicom_difference.html
    
Offset 904, 15 lines modifiedOffset 904, 15 lines modified
  
904 <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>904 <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>
905 <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>905 <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>
906 ····<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>906 ····<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>
907 ········<span·class="nb">print</span><span·class="p">(</span><span·class="n">line</span><span·class="p">)</span>907 ········<span·class="nb">print</span><span·class="p">(</span><span·class="n">line</span><span·class="p">)</span>
908 </pre></div>908 </pre></div>
909 </div>909 </div>
910 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··0.334·seconds)</p>910 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(·0·minutes··2.191·seconds)</p>
911 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-plot-dicom-difference-py">911 <div·class="sphx-glr-footer·class·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-auto-examples-plot-dicom-difference-py">
912 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">912 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
913 <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>913 <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>
914 </div>914 </div>
915 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">915 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
916 <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>916 <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>
917 </div>917 </div>
676 B
html2text {}
    
Offset 760, 15 lines modifiedOffset 760, 15 lines modified
760 ····rep.append(lines)760 ····rep.append(lines)
  
  
761 diff·=·difflib.Differ()761 diff·=·difflib.Differ()
762 for·line·in·diff.compare(rep[0],·rep[1]):762 for·line·in·diff.compare(rep[0],·rep[1]):
763 ····if·line[0]·!=·"?":763 ····if·line[0]·!=·"?":
764 ········print(line)764 ········print(line)
765 Total·running·time·of·the·script:·(·0·minutes·0.334·seconds)765 Total·running·time·of·the·script:·(·0·minutes·2.191·seconds)
766 Download_Python_source_code:_plot_dicom_difference.py766 Download_Python_source_code:_plot_dicom_difference.py
767 Download_Jupyter_notebook:_plot_dicom_difference.ipynb767 Download_Jupyter_notebook:_plot_dicom_difference.ipynb
768 Gallery_generated_by_Sphinx-Gallery768 Gallery_generated_by_Sphinx-Gallery
769 Next·Previous769 Next·Previous
770 ===============================================================================770 ===============================================================================
771 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.771 ©·Copyright·2008-2020,·Darcy·Mason·and·pydicom·contributors.
772 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.772 Built·with·Sphinx·using·a·theme·provided·by·Read_the_Docs.
1.96 KB
./usr/share/doc/python-pydicom-doc/html/auto_examples/sg_execution_times.html
    
Offset 181, 24 lines modifiedOffset 181, 24 lines modified
181 ··<hr/>181 ··<hr/>
182 </div>182 </div>
183 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">183 ··········<div·role="main"·class="document"·itemscope="itemscope"·itemtype="http://schema.org/Article">
184 ···········<div·itemprop="articleBody">184 ···········<div·itemprop="articleBody">
185 ············185 ············
186 ··<div·class="section"·id="computation-times">186 ··<div·class="section"·id="computation-times">
187 <span·id="sphx-glr-auto-examples-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·headline">¶</a></h1>187 <span·id="sphx-glr-auto-examples-sg-execution-times"></span><h1>Computation·times<a·class="headerlink"·href="#computation-times"·title="Permalink·to·this·headline">¶</a></h1>
188 <p><strong>00:00.334</strong>·total·execution·time·for·<strong>auto_examples</strong>·files:</p>188 <p><strong>00:02.191</strong>·total·execution·time·for·<strong>auto_examples</strong>·files:</p>
189 <table·class="docutils·align-default">189 <table·class="docutils·align-default">
190 <colgroup>190 <colgroup>
191 <col·style="width:·82%"·/>191 <col·style="width:·82%"·/>
192 <col·style="width:·10%"·/>192 <col·style="width:·10%"·/>
193 <col·style="width:·8%"·/>193 <col·style="width:·8%"·/>
194 </colgroup>194 </colgroup>
195 <tbody>195 <tbody>
196 <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>196 <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>
197 <td><p>00:00.334</p></td>197 <td><p>00:02.191</p></td>
198 <td><p>0.0·MB</p></td>198 <td><p>0.0·MB</p></td>
199 </tr>199 </tr>
200 <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>200 <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>
201 <td><p>00:00.000</p></td>201 <td><p>00:00.000</p></td>
202 <td><p>0.0·MB</p></td>202 <td><p>0.0·MB</p></td>
203 </tr>203 </tr>
204 <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>204 <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>
7.14 KB
./usr/share/doc/python-pydicom-doc/html/searchindex.js
7.03 KB
js-beautify {}
    
Offset 551, 15 lines modifiedOffset 551, 14 lines modified
551 ········"0028":·[1,·16,·26,·34,·112,·114,·169,·171,·172,·236,·249,·251,·255],551 ········"0028":·[1,·16,·26,·34,·112,·114,·169,·171,·172,·236,·249,·251,·255],
552 ········"0029":·16,552 ········"0029":·16,
553 ········"0030":·[1,·13,·16,·24],553 ········"0030":·[1,·13,·16,·24],
554 ········"0031":·[1,·16],554 ········"0031":·[1,·16],
555 ········"0032":·[1,·16],555 ········"0032":·[1,·16],
556 ········"0033":·[9,·16],556 ········"0033":·[9,·16],
557 ········"0037":·[1,·16],557 ········"0037":·[1,·16],
558 ········"004":·[12,·14,·15], 
559 ········"0040":·[1,·16],558 ········"0040":·[1,·16],
560 ········"0041":·102,559 ········"0041":·102,
561 ········"0043":·[16,·255],560 ········"0043":·[16,·255],
562 ········"0050":·[1,·16,·24,·33],561 ········"0050":·[1,·16,·24,·33],
563 ········"0052":·[1,·16],562 ········"0052":·[1,·16],
564 ········"0060":·[1,·16,·24],563 ········"0060":·[1,·16,·24],
565 ········"007":·11,564 ········"007":·11,
Offset 577, 35 lines modifiedOffset 576, 33 lines modified
577 ········"00fe":·14,576 ········"00fe":·14,
578 ········"0100":·[1,·16,·26,·156,·166,·169,·171,·172],577 ········"0100":·[1,·16,·26,·156,·166,·169,·171,·172],
579 ········"0101":·[1,·16,·172],578 ········"0101":·[1,·16,·172],
580 ········"0102":·[1,·16,·156,·166],579 ········"0102":·[1,·16,·156,·166],
581 ········"0103":·[1,·16,·169,·171,·172],580 ········"0103":·[1,·16,·169,·171,·172],
582 ········"0106":·[1,·16],581 ········"0106":·[1,·16],
583 ········"0107":·[1,·16],582 ········"0107":·[1,·16],
584 ········"011":·[8,·10], 
585 ········"0120":·16,583 ········"0120":·16,
 584 ········"014":·[14,·15],
586 ········"0166":·16,585 ········"0166":·16,
 586 ········"018":·[12,·15],
587 ········"0182":·25,587 ········"0182":·25,
588 ········"0197b5846bb5":·[236,·243],588 ········"0197b5846bb5":·[236,·243],
589 ········"01b2":·25,589 ········"01b2":·25,
590 ········"020":·[1,·3], 
591 ········"0201":·[1,·16,·236,·248],590 ········"0201":·[1,·16,·236,·248],
592 ········"024":·[9,·10],591 ········"032":·[8,·10],
593 ········"026":·[5,·10], 
594 ········"033":·18,592 ········"033":·18,
595 ········"033448":·9, 
596 ········"035":·[13,·15], 
597 ········"035797":·16,593 ········"035797":·16,
598 ········"03579711914062":·16,594 ········"03579711914062":·16,
599 ········"0400":·[1,·5,·16],595 ········"0400":·[1,·5,·16],
600 ········"0411bab7c985":·[236,·243],596 ········"0411bab7c985":·[236,·243],
601 ········"043":·15, 
602 ········"0500":·16,597 ········"0500":·16,
 598 ········"055208":·9,
603 ········"072730":·16,599 ········"072730":·16,
604 ········"072731":·[16,·255],600 ········"072731":·[16,·255],
 601 ········"073":·[9,·10],
605 ········"07992553710938":·16,602 ········"07992553710938":·16,
606 ········"079926":·16,603 ········"079926":·16,
607 ········"079956":·16,604 ········"079956":·16,
608 ········"085000":·16,605 ········"085000":·16,
609 ········"095":·16,606 ········"095":·16,
610 ········"095000":·16,607 ········"095000":·16,
611 ········"0x00":·[110,·111,·143,·221],608 ········"0x00":·[110,·111,·143,·221],
Offset 803, 15 lines modifiedOffset 800, 15 lines modified
803 ········"1152":·16,800 ········"1152":·16,
804 ········"116":·16,801 ········"116":·16,
805 ········"1160":·16,802 ········"1160":·16,
806 ········"117":·[236,·239],803 ········"117":·[236,·239],
807 ········"119":·[236,·239],804 ········"119":·[236,·239],
808 ········"1190":·16,805 ········"1190":·16,
809 ········"11s":·8,806 ········"11s":·8,
810 ········"120":·[0,·16],807 ········"120":·[0,·5,·10,·16],
811 ········"1200":·0,808 ········"1200":·0,
812 ········"1201":·172,809 ········"1201":·172,
813 ········"1203":·172,810 ········"1203":·172,
814 ········"1204":·172,811 ········"1204":·172,
815 ········"1210":·16,812 ········"1210":·16,
816 ········"121006":·259,813 ········"121006":·259,
817 ········"122":·[236,·239],814 ········"122":·[236,·239],
Offset 836, 14 lines modifiedOffset 833, 15 lines modified
836 ········"134":·7,833 ········"134":·7,
837 ········"1346":·34,834 ········"1346":·34,
838 ········"135803":·16,835 ········"135803":·16,
839 ········"1369":·34,836 ········"1369":·34,
840 ········"13s":·8,837 ········"13s":·8,
841 ········"143":·[236,·245],838 ········"143":·[236,·245],
842 ········"1436":·255,839 ········"1436":·255,
 840 ········"148":·[13,·15],
843 ········"150":·[0,·16],841 ········"150":·[0,·16],
844 ········"150031":·24,842 ········"150031":·24,
845 ········"151":·[236,·245],843 ········"151":·[236,·245],
846 ········"152":·24,844 ········"152":·24,
847 ········"153557":·24,845 ········"153557":·24,
848 ········"156":·24,846 ········"156":·24,
849 ········"157":·24,847 ········"157":·24,
Offset 862, 29 lines modifiedOffset 860, 29 lines modified
862 ········"1703":·255,860 ········"1703":·255,
863 ········"171":·24,861 ········"171":·24,
864 ········"17106":·7,862 ········"17106":·7,
865 ········"17136":·7,863 ········"17136":·7,
866 ········"17166":·7,864 ········"17166":·7,
867 ········"17196":·7,865 ········"17196":·7,
868 ········"172":·[236,·245],866 ········"172":·[236,·245],
869 ········"173":·[7,·10], 
870 ········"17355902":·0,867 ········"17355902":·0,
871 ········"175":·24,868 ········"175":·24,
872 ········"178":·16,869 ········"178":·16,
873 ········"179":·16,870 ········"179":·16,
874 ········"1794":·255,871 ········"1794":·255,
875 ········"180":·[16,·24],872 ········"180":·[15,·16,·24],
876 ········"181":·24,873 ········"181":·[1,·3,·24],
877 ········"183":·24,874 ········"183":·24,
878 ········"184":·24,875 ········"184":·24,
879 ········"185059":·[1,·5,·16],876 ········"185059":·[1,·5,·16],
880 ········"185434":·[1,·5,·16],877 ········"185434":·[1,·5,·16],
881 ········"186":·24,878 ········"186":·24,
882 ········"190":·[1,·16,·24],879 ········"190":·[1,·16,·24],
883 ········"19000101":·13,880 ········"19000101":·13,
 881 ········"191":·[16,·17],
884 ········"192":·[16,·27,·255],882 ········"192":·[16,·27,·255],
885 ········"1969":·16,883 ········"1969":·16,
886 ········"197":·[236,·245],884 ········"197":·[236,·245],
887 ········"197968":·16,885 ········"197968":·16,
888 ········"19950903":·7,886 ········"19950903":·7,
889 ········"19970430":·16,887 ········"19970430":·16,
890 ········"19999694824219":·16,888 ········"19999694824219":·16,
Offset 909, 15 lines modifiedOffset 907, 15 lines modified
909 ········"2017c":·[236,·245],907 ········"2017c":·[236,·245],
910 ········"2018":·[19,·254],908 ········"2018":·[19,·254],
911 ········"2018b":·[236,·246],909 ········"2018b":·[236,·246],
912 ········"2018c":·[236,·247],910 ········"2018c":·[236,·247],
913 ········"2019":·19,911 ········"2019":·19,
914 ········"2019e":·[236,·249],912 ········"2019e":·[236,·249],
915 ········"2020":·[19,·29,·233],913 ········"2020":·[19,·29,·233],
916 ········"20240109":·9,914 ········"20240110":·9,
Max diff block lines reached; 3750/7171 bytes (52.29%) of diff not shown.