dbdicom 0.2.4__tar.gz → 0.2.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of dbdicom might be problematic. Click here for more details.

Files changed (80) hide show
  1. {dbdicom-0.2.4/src/dbdicom.egg-info → dbdicom-0.2.6}/PKG-INFO +5 -22
  2. {dbdicom-0.2.4 → dbdicom-0.2.6}/pyproject.toml +21 -23
  3. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/extensions/skimage.py +1 -1
  4. {dbdicom-0.2.4 → dbdicom-0.2.6/src/dbdicom.egg-info}/PKG-INFO +5 -22
  5. dbdicom-0.2.6/src/dbdicom.egg-info/requires.txt +17 -0
  6. dbdicom-0.2.4/src/dbdicom.egg-info/requires.txt +0 -36
  7. {dbdicom-0.2.4 → dbdicom-0.2.6}/LICENSE +0 -0
  8. {dbdicom-0.2.4 → dbdicom-0.2.6}/MANIFEST.in +0 -0
  9. {dbdicom-0.2.4 → dbdicom-0.2.6}/README.md +0 -0
  10. {dbdicom-0.2.4 → dbdicom-0.2.6}/setup.cfg +0 -0
  11. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/__init__.py +0 -0
  12. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/create.py +0 -0
  13. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/dro.py +0 -0
  14. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/ds/__init__.py +0 -0
  15. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/ds/create.py +0 -0
  16. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/ds/dataset.py +0 -0
  17. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/ds/dictionaries.py +0 -0
  18. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/ds/types/ct_image.py +0 -0
  19. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/ds/types/enhanced_mr_image.py +0 -0
  20. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/ds/types/mr_image.py +0 -0
  21. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/ds/types/parametric_map.py +0 -0
  22. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/ds/types/ultrasound_multiframe_image.py +0 -0
  23. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/ds/types/xray_angiographic_image.py +0 -0
  24. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/extensions/__init__.py +0 -0
  25. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/extensions/dipy.py +0 -0
  26. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/extensions/elastix.py +0 -0
  27. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/extensions/matplotlib.py +0 -0
  28. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/extensions/numpy.py +0 -0
  29. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/extensions/scipy.py +0 -0
  30. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/extensions/sklearn.py +0 -0
  31. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/extensions/vreg.py +0 -0
  32. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/__init__.py +0 -0
  33. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/README.md +0 -0
  34. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/__init__.py +0 -0
  35. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/bin/__init__.py +0 -0
  36. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/bin/deidentify +0 -0
  37. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/bin/deidentify.bat +0 -0
  38. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/bin/emf2sf +0 -0
  39. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/bin/emf2sf.bat +0 -0
  40. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/etc/__init__.py +0 -0
  41. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/etc/emf2sf/__init__.py +0 -0
  42. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/etc/emf2sf/log4j.properties +0 -0
  43. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/__init__.py +0 -0
  44. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/commons-cli-1.4.jar +0 -0
  45. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/dcm4che-core-5.23.1.jar +0 -0
  46. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/dcm4che-emf-5.23.1.jar +0 -0
  47. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/dcm4che-tool-common-5.23.1.jar +0 -0
  48. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/dcm4che-tool-emf2sf-5.23.1.jar +0 -0
  49. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/log4j-1.2.17.jar +0 -0
  50. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/macosx-x86-64/libopencv_java.jnilib +0 -0
  51. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/slf4j-api-1.7.30.jar +0 -0
  52. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/slf4j-log4j12-1.7.30.jar +0 -0
  53. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/windows-x86/clib_jiio.dll +0 -0
  54. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/windows-x86/clib_jiio_sse2.dll +0 -0
  55. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/windows-x86/clib_jiio_util.dll +0 -0
  56. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/windows-x86/opencv_java.dll +0 -0
  57. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/external/dcm4che/lib/windows-x86-64/opencv_java.dll +0 -0
  58. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/manager.py +0 -0
  59. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/message.py +0 -0
  60. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/pipelines.py +0 -0
  61. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/record.py +0 -0
  62. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/types/database.py +0 -0
  63. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/types/instance.py +0 -0
  64. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/types/patient.py +0 -0
  65. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/types/series.py +0 -0
  66. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/types/study.py +0 -0
  67. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/utils/dcm4che.py +0 -0
  68. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/utils/files.py +0 -0
  69. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/utils/image.py +0 -0
  70. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom/utils/variables.py +0 -0
  71. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom.egg-info/SOURCES.txt +0 -0
  72. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom.egg-info/dependency_links.txt +0 -0
  73. {dbdicom-0.2.4 → dbdicom-0.2.6}/src/dbdicom.egg-info/top_level.txt +0 -0
  74. {dbdicom-0.2.4 → dbdicom-0.2.6}/tests/test_dataset.py +0 -0
  75. {dbdicom-0.2.4 → dbdicom-0.2.6}/tests/test_dcm4che.py +0 -0
  76. {dbdicom-0.2.4 → dbdicom-0.2.6}/tests/test_dro.py +0 -0
  77. {dbdicom-0.2.4 → dbdicom-0.2.6}/tests/test_extensions.py +0 -0
  78. {dbdicom-0.2.4 → dbdicom-0.2.6}/tests/test_manager.py +0 -0
  79. {dbdicom-0.2.4 → dbdicom-0.2.6}/tests/test_record.py +0 -0
  80. {dbdicom-0.2.4 → dbdicom-0.2.6}/tests/test_series.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: dbdicom
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary: A pythonic interface for reading and writing DICOM databases
5
5
  Author-email: Steven Sourbron <s.sourbron@sheffield.ac.uk>, Ebony Gunwhy <e.gunwhy@sheffield.ac.uk>
6
6
  Project-URL: Homepage, https://qib-sheffield.github.io/dbdicom/
@@ -19,7 +19,7 @@ Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
20
  Requires-Dist: matplotlib
21
21
  Requires-Dist: nibabel
22
- Requires-Dist: numpy<=1.26.4
22
+ Requires-Dist: numpy
23
23
  Requires-Dist: pandas
24
24
  Requires-Dist: pydicom
25
25
  Requires-Dist: python-gdcm
@@ -28,29 +28,12 @@ Requires-Dist: importlib-resources
28
28
  Requires-Dist: scipy
29
29
  Requires-Dist: imageio
30
30
  Requires-Dist: vreg
31
- Provides-Extra: docs
32
- Requires-Dist: sphinx; extra == "docs"
33
- Requires-Dist: pydata-sphinx-theme; extra == "docs"
34
- Requires-Dist: myst-parser; extra == "docs"
35
- Requires-Dist: sphinx-copybutton; extra == "docs"
36
- Requires-Dist: sphinx-design; extra == "docs"
37
- Requires-Dist: sphinx-remove-toctrees; extra == "docs"
38
- Requires-Dist: autodocsumm; extra == "docs"
39
- Requires-Dist: docutils; extra == "docs"
40
- Requires-Dist: sphinxcontrib-applehelp; extra == "docs"
41
- Requires-Dist: sphinxcontrib-devhelp; extra == "docs"
42
- Requires-Dist: sphinxcontrib-htmlhelp; extra == "docs"
43
- Requires-Dist: sphinxcontrib-jsmath; extra == "docs"
44
- Requires-Dist: sphinxcontrib-qthelp; extra == "docs"
45
- Requires-Dist: sphinxcontrib-serializinghtml; extra == "docs"
46
- Requires-Dist: sphinx-gallery; extra == "docs"
47
31
  Provides-Extra: extensions
48
- Requires-Dist: scipy; extra == "extensions"
49
- Requires-Dist: scikit-image<=0.19.0; extra == "extensions"
50
- Requires-Dist: SimpleITK-SimpleElastix; extra == "extensions"
32
+ Requires-Dist: scikit-image; extra == "extensions"
51
33
  Requires-Dist: itk-elastix; extra == "extensions"
52
34
  Requires-Dist: dipy; extra == "extensions"
53
35
  Requires-Dist: scikit-learn; extra == "extensions"
36
+ Dynamic: license-file
54
37
 
55
38
  `dbdicom` is a Pythonic interface for reading and writing DICOM databases.
56
39
 
@@ -7,11 +7,11 @@ requires = ['setuptools>=61.2']
7
7
 
8
8
  [project]
9
9
  name = "dbdicom"
10
- version = "0.2.4"
10
+ version = "0.2.6"
11
11
  dependencies = [
12
12
  "matplotlib",
13
13
  "nibabel",
14
- "numpy<=1.26.4",
14
+ "numpy",
15
15
  "pandas",
16
16
  "pydicom",
17
17
  "python-gdcm",
@@ -60,25 +60,25 @@ requires-python = ">=3.6"
60
60
  where = ["src"]
61
61
 
62
62
  [project.optional-dependencies]
63
- docs = [
64
- "sphinx",
65
- "pydata-sphinx-theme",
66
- "myst-parser",
67
- "sphinx-copybutton",
68
- "sphinx-design",
69
- "sphinx-remove-toctrees",
70
- "autodocsumm",
71
- "docutils",
72
- "sphinxcontrib-applehelp",
73
- "sphinxcontrib-devhelp",
74
- "sphinxcontrib-htmlhelp",
75
- "sphinxcontrib-jsmath",
76
- "sphinxcontrib-qthelp",
77
- "sphinxcontrib-serializinghtml",
78
- "sphinx-gallery",
79
- ]
63
+ # docs = [
64
+ # "sphinx",
65
+ # "pydata-sphinx-theme",
66
+ # "myst-parser",
67
+ # "sphinx-copybutton",
68
+ # "sphinx-design",
69
+ # "sphinx-remove-toctrees",
70
+ # "autodocsumm",
71
+ # "docutils",
72
+ # "sphinxcontrib-applehelp",
73
+ # "sphinxcontrib-devhelp",
74
+ # "sphinxcontrib-htmlhelp",
75
+ # "sphinxcontrib-jsmath",
76
+ # "sphinxcontrib-qthelp",
77
+ # "sphinxcontrib-serializinghtml",
78
+ # "sphinx-gallery",
79
+ # ]
80
80
  extensions = [
81
- "scipy",
81
+ # "scipy",
82
82
  # restricting to the latest stable release for now due to a bug
83
83
  # introduced in 0.20.0 that causes executables to crash. The bug is known
84
84
  # and a fix will presumably be included in upcoming releases
@@ -88,9 +88,7 @@ extensions = [
88
88
  # Note on pyton 3.11 scikit image must be installed as
89
89
  # pip install --pre scikit-image<=0.19.0
90
90
  # until a new version is released (0.21.0)
91
- "scikit-image<=0.19.0",
92
- #"SimpleITK", "itk-elastix",
93
- "SimpleITK-SimpleElastix",
91
+ "scikit-image",
94
92
  "itk-elastix",
95
93
  "dipy",
96
94
  "scikit-learn",
@@ -97,7 +97,7 @@ def _volume_features(arr, spacing=[1,1,1], affine=None, show_progress=print):
97
97
  slice_spacing = np.linalg.norm(affine[:3, 2])
98
98
  spacing = (column_spacing, row_spacing, slice_spacing)
99
99
  voxel_volume = spacing[0]*spacing[1]*spacing[2]
100
- nr_of_voxels = np.count_nonzero(array)
100
+ nr_of_voxels = np.count_nonzero(array > 0.5)
101
101
  volume = nr_of_voxels * voxel_volume
102
102
  # Surface properties - for now only extracting surface area
103
103
  # Note: this is smoothing the surface first - not tested in depth whether this is necessary or helpful.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: dbdicom
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary: A pythonic interface for reading and writing DICOM databases
5
5
  Author-email: Steven Sourbron <s.sourbron@sheffield.ac.uk>, Ebony Gunwhy <e.gunwhy@sheffield.ac.uk>
6
6
  Project-URL: Homepage, https://qib-sheffield.github.io/dbdicom/
@@ -19,7 +19,7 @@ Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
20
  Requires-Dist: matplotlib
21
21
  Requires-Dist: nibabel
22
- Requires-Dist: numpy<=1.26.4
22
+ Requires-Dist: numpy
23
23
  Requires-Dist: pandas
24
24
  Requires-Dist: pydicom
25
25
  Requires-Dist: python-gdcm
@@ -28,29 +28,12 @@ Requires-Dist: importlib-resources
28
28
  Requires-Dist: scipy
29
29
  Requires-Dist: imageio
30
30
  Requires-Dist: vreg
31
- Provides-Extra: docs
32
- Requires-Dist: sphinx; extra == "docs"
33
- Requires-Dist: pydata-sphinx-theme; extra == "docs"
34
- Requires-Dist: myst-parser; extra == "docs"
35
- Requires-Dist: sphinx-copybutton; extra == "docs"
36
- Requires-Dist: sphinx-design; extra == "docs"
37
- Requires-Dist: sphinx-remove-toctrees; extra == "docs"
38
- Requires-Dist: autodocsumm; extra == "docs"
39
- Requires-Dist: docutils; extra == "docs"
40
- Requires-Dist: sphinxcontrib-applehelp; extra == "docs"
41
- Requires-Dist: sphinxcontrib-devhelp; extra == "docs"
42
- Requires-Dist: sphinxcontrib-htmlhelp; extra == "docs"
43
- Requires-Dist: sphinxcontrib-jsmath; extra == "docs"
44
- Requires-Dist: sphinxcontrib-qthelp; extra == "docs"
45
- Requires-Dist: sphinxcontrib-serializinghtml; extra == "docs"
46
- Requires-Dist: sphinx-gallery; extra == "docs"
47
31
  Provides-Extra: extensions
48
- Requires-Dist: scipy; extra == "extensions"
49
- Requires-Dist: scikit-image<=0.19.0; extra == "extensions"
50
- Requires-Dist: SimpleITK-SimpleElastix; extra == "extensions"
32
+ Requires-Dist: scikit-image; extra == "extensions"
51
33
  Requires-Dist: itk-elastix; extra == "extensions"
52
34
  Requires-Dist: dipy; extra == "extensions"
53
35
  Requires-Dist: scikit-learn; extra == "extensions"
36
+ Dynamic: license-file
54
37
 
55
38
  `dbdicom` is a Pythonic interface for reading and writing DICOM databases.
56
39
 
@@ -0,0 +1,17 @@
1
+ matplotlib
2
+ nibabel
3
+ numpy
4
+ pandas
5
+ pydicom
6
+ python-gdcm
7
+ pylibjpeg-libjpeg
8
+ importlib-resources
9
+ scipy
10
+ imageio
11
+ vreg
12
+
13
+ [extensions]
14
+ scikit-image
15
+ itk-elastix
16
+ dipy
17
+ scikit-learn
@@ -1,36 +0,0 @@
1
- matplotlib
2
- nibabel
3
- numpy<=1.26.4
4
- pandas
5
- pydicom
6
- python-gdcm
7
- pylibjpeg-libjpeg
8
- importlib-resources
9
- scipy
10
- imageio
11
- vreg
12
-
13
- [docs]
14
- sphinx
15
- pydata-sphinx-theme
16
- myst-parser
17
- sphinx-copybutton
18
- sphinx-design
19
- sphinx-remove-toctrees
20
- autodocsumm
21
- docutils
22
- sphinxcontrib-applehelp
23
- sphinxcontrib-devhelp
24
- sphinxcontrib-htmlhelp
25
- sphinxcontrib-jsmath
26
- sphinxcontrib-qthelp
27
- sphinxcontrib-serializinghtml
28
- sphinx-gallery
29
-
30
- [extensions]
31
- scipy
32
- scikit-image<=0.19.0
33
- SimpleITK-SimpleElastix
34
- itk-elastix
35
- dipy
36
- scikit-learn
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes