mippy 2.23.2__tar.gz → 2.23.4__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.
Files changed (94) hide show
  1. {mippy-2.23.2 → mippy-2.23.4}/PKG-INFO +1 -1
  2. {mippy-2.23.2 → mippy-2.23.4}/mippy/launcher.py +1 -1
  3. {mippy-2.23.2 → mippy-2.23.4}/mippy.egg-info/PKG-INFO +1 -1
  4. {mippy-2.23.2 → mippy-2.23.4}/scripts/_mippy.py +1 -1
  5. mippy-2.23.4/scripts/mippy.bat +15 -0
  6. mippy-2.23.4/scripts/setup_mippy.bat +16 -0
  7. {mippy-2.23.2 → mippy-2.23.4}/scripts/setup_mippy.py +1 -1
  8. mippy-2.23.2/scripts/mippy.bat +0 -3
  9. mippy-2.23.2/scripts/setup_mippy.bat +0 -4
  10. {mippy-2.23.2 → mippy-2.23.4}/LICENSE +0 -0
  11. {mippy-2.23.2 → mippy-2.23.4}/README.md +0 -0
  12. {mippy-2.23.2 → mippy-2.23.4}/mippy/__init__.py +0 -0
  13. {mippy-2.23.2 → mippy-2.23.4}/mippy/application.py +0 -0
  14. {mippy-2.23.2 → mippy-2.23.4}/mippy/fileio.py +0 -0
  15. {mippy-2.23.2 → mippy-2.23.4}/mippy/html.py +0 -0
  16. {mippy-2.23.2 → mippy-2.23.4}/mippy/improcess.py +0 -0
  17. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/16_colors.csv +0 -0
  18. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/blue.csv +0 -0
  19. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/colours_roman.csv +0 -0
  20. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/cyan.csv +0 -0
  21. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/fire.csv +0 -0
  22. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/green.csv +0 -0
  23. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/green_fire_blue.csv +0 -0
  24. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/hi_lo.csv +0 -0
  25. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/ice.csv +0 -0
  26. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/magenta.csv +0 -0
  27. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/phase.csv +0 -0
  28. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/physics.csv +0 -0
  29. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/rainbow.csv +0 -0
  30. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/red.csv +0 -0
  31. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/red_green.csv +0 -0
  32. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/red_grey_green.csv +0 -0
  33. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/red_grey_green_clipped.csv +0 -0
  34. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/spectrum.csv +0 -0
  35. {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/yellow.csv +0 -0
  36. {mippy-2.23.2 → mippy-2.23.4}/mippy/math.py +0 -0
  37. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/__init__.py +0 -0
  38. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/anon.py +0 -0
  39. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/io.py +0 -0
  40. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/SIEMENS.py +0 -0
  41. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/__init__.py +0 -0
  42. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/ge_fallback.py +0 -0
  43. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/implementations.py +0 -0
  44. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/philips_fallback.py +0 -0
  45. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/siemens_fallback.py +0 -0
  46. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/syngo_mr_xa20a.py +0 -0
  47. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/syngo_mr_xa31a.py +0 -0
  48. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/syngo_mr_xa50a.py +0 -0
  49. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/syngo_mr_xa60.py +0 -0
  50. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/syngo_mr_xa61a.py +0 -0
  51. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/mrenhanced.py +0 -0
  52. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/mrspectroscopy.py +0 -0
  53. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/pixel.py +0 -0
  54. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/reading.py +0 -0
  55. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/siemens.py +0 -0
  56. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/sorting.py +0 -0
  57. {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/xml.py +0 -0
  58. {mippy-2.23.2 → mippy-2.23.4}/mippy/misc.py +0 -0
  59. {mippy-2.23.2 → mippy-2.23.4}/mippy/mlogging.py +0 -0
  60. {mippy-2.23.2 → mippy-2.23.4}/mippy/mviewer/__init__.py +0 -0
  61. {mippy-2.23.2 → mippy-2.23.4}/mippy/mviewer/config +0 -0
  62. {mippy-2.23.2 → mippy-2.23.4}/mippy/mviewer/module_main.py +0 -0
  63. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/add.png +0 -0
  64. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/brain_bw.xbm +0 -0
  65. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/brain_orange.ico +0 -0
  66. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/common.png +0 -0
  67. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/dcmdjpeg_linux +0 -0
  68. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/dcmdjpeg_mac +0 -0
  69. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/dcmdjpeg_win.exe +0 -0
  70. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/ellipse_roi.png +0 -0
  71. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/freehand_roi.png +0 -0
  72. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/line_roi.png +0 -0
  73. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/mrs.png +0 -0
  74. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_circle.png +0 -0
  75. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_ellipse.png +0 -0
  76. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_freehand.png +0 -0
  77. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_line.png +0 -0
  78. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_rectangular.png +0 -0
  79. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_rectangular_ab.png +0 -0
  80. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/splash11.jpg +0 -0
  81. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/splash20.bmp +0 -0
  82. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/splash20.jpg +0 -0
  83. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/splash3.jpg +0 -0
  84. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/square_roi.png +0 -0
  85. {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/subtract.png +0 -0
  86. {mippy-2.23.2 → mippy-2.23.4}/mippy/splash.py +0 -0
  87. {mippy-2.23.2 → mippy-2.23.4}/mippy/threading.py +0 -0
  88. {mippy-2.23.2 → mippy-2.23.4}/mippy/viewing.py +0 -0
  89. {mippy-2.23.2 → mippy-2.23.4}/mippy.egg-info/SOURCES.txt +0 -0
  90. {mippy-2.23.2 → mippy-2.23.4}/mippy.egg-info/dependency_links.txt +0 -0
  91. {mippy-2.23.2 → mippy-2.23.4}/mippy.egg-info/requires.txt +0 -0
  92. {mippy-2.23.2 → mippy-2.23.4}/mippy.egg-info/top_level.txt +0 -0
  93. {mippy-2.23.2 → mippy-2.23.4}/setup.cfg +0 -0
  94. {mippy-2.23.2 → mippy-2.23.4}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mippy
3
- Version: 2.23.2
3
+ Version: 2.23.4
4
4
  Summary: Modular Image Processing in Python
5
5
  Home-page: https://gitlab.com/rbf906/mippy
6
6
  Author: Robert Flintham
@@ -23,7 +23,7 @@ def launch_mippy(skip_update=False):
23
23
  max_threads_mem = int(round(sqrt(total_memory*2//(1024*1024*1024))))
24
24
  if max_threads_mem == 0:
25
25
  max_threads_mem = 1
26
- max_threads_cpu = int(cpu_count())+1
26
+ max_threads_cpu = int(cpu_count(logical=True))-1
27
27
  if max_threads_mem<max_threads_cpu:
28
28
  cprint("WARNING: NUMPY threads limited by available RAM")
29
29
  threads=max_threads_mem
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mippy
3
- Version: 2.23.2
3
+ Version: 2.23.4
4
4
  Summary: Modular Image Processing in Python
5
5
  Home-page: https://gitlab.com/rbf906/mippy
6
6
  Author: Robert Flintham
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env python3.7
1
+ #!/usr/bin/env python3
2
2
  if __name__=='__main__':
3
3
  from mippy.launcher import *
4
4
  launch_mippy()
@@ -0,0 +1,15 @@
1
+ @echo off
2
+ cd %~1
3
+ :: Test python installation
4
+ py -3.13 -c "import sys;sys.exit(0)" || goto :nopreferredversion
5
+
6
+ :: Runs if the above is successful
7
+ py -3.13 -c "from mippy.launcher import *;launch_mippy()"
8
+ goto :eof
9
+
10
+ :nopreferredversion
11
+ :: Runs if first python 3.13 test fails
12
+ echo "WARNING: Python 3.13 is preferred! Running on your default Python."
13
+ echo "Watch out for problems!!"
14
+ pause
15
+ py -c "from mippy.launcher import *;launch_mippy()"
@@ -0,0 +1,16 @@
1
+ @echo off
2
+ echo "%~dp0setup_mippy.py"
3
+
4
+ :: Test python installation
5
+ py -3.13 -c "import sys;sys.exit(0)" || goto :nopreferredversion
6
+
7
+ :: Runs if the above is successful
8
+ py -3.13 "%~dp0setup_mippy.py"
9
+ goto :eof
10
+
11
+ :nopreferredversion
12
+ :: Runs if first python 3.13 test fails
13
+ echo "WARNING: Python 3.13 is preferred! Running on your default Python."
14
+ echo "Watch out for problems!!"
15
+ pause
16
+ py "%~dp0setup_mippy.py"
@@ -16,7 +16,7 @@ MESSAGE = (
16
16
  +'Would you like to use the default directory ('+DEFAULT_DIR+') or\n'
17
17
  +'select a different directory?')
18
18
 
19
- choices = ['Default directory ('+DEFAULT_DIR+')','Different direcrtory']
19
+ choices = ['Default directory ('+DEFAULT_DIR+')','Different directory']
20
20
 
21
21
  user_choice = choicebox(msg=MESSAGE,title="INSTALL MIPPY",
22
22
  choices=choices,
@@ -1,3 +0,0 @@
1
- @echo off
2
- cd %~1
3
- py -3.13 -c "from mippy.launcher import *;launch_mippy()"
@@ -1,4 +0,0 @@
1
- @echo off
2
-
3
- echo "%~dp0setup_mippy.py"
4
- py -3.13 "%~dp0setup_mippy.py"
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
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
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