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.
- {mippy-2.23.2 → mippy-2.23.4}/PKG-INFO +1 -1
- {mippy-2.23.2 → mippy-2.23.4}/mippy/launcher.py +1 -1
- {mippy-2.23.2 → mippy-2.23.4}/mippy.egg-info/PKG-INFO +1 -1
- {mippy-2.23.2 → mippy-2.23.4}/scripts/_mippy.py +1 -1
- mippy-2.23.4/scripts/mippy.bat +15 -0
- mippy-2.23.4/scripts/setup_mippy.bat +16 -0
- {mippy-2.23.2 → mippy-2.23.4}/scripts/setup_mippy.py +1 -1
- mippy-2.23.2/scripts/mippy.bat +0 -3
- mippy-2.23.2/scripts/setup_mippy.bat +0 -4
- {mippy-2.23.2 → mippy-2.23.4}/LICENSE +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/README.md +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/__init__.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/application.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/fileio.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/html.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/improcess.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/16_colors.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/blue.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/colours_roman.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/cyan.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/fire.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/green.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/green_fire_blue.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/hi_lo.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/ice.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/magenta.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/phase.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/physics.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/rainbow.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/red.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/red_green.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/red_grey_green.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/red_grey_green_clipped.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/spectrum.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/luts/yellow.csv +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/math.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/__init__.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/anon.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/io.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/SIEMENS.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/__init__.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/ge_fallback.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/implementations.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/philips_fallback.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/siemens_fallback.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/syngo_mr_xa20a.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/syngo_mr_xa31a.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/syngo_mr_xa50a.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/syngo_mr_xa60.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/miners/syngo_mr_xa61a.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/mrenhanced.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/mrspectroscopy.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/pixel.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/reading.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/siemens.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/sorting.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mdicom/xml.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/misc.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mlogging.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mviewer/__init__.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mviewer/config +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/mviewer/module_main.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/add.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/brain_bw.xbm +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/brain_orange.ico +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/common.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/dcmdjpeg_linux +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/dcmdjpeg_mac +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/dcmdjpeg_win.exe +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/ellipse_roi.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/freehand_roi.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/line_roi.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/mrs.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_circle.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_ellipse.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_freehand.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_line.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_rectangular.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/roi_rectangular_ab.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/splash11.jpg +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/splash20.bmp +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/splash20.jpg +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/splash3.jpg +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/square_roi.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/resources/subtract.png +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/splash.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/threading.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy/viewing.py +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy.egg-info/SOURCES.txt +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy.egg-info/dependency_links.txt +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy.egg-info/requires.txt +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/mippy.egg-info/top_level.txt +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/setup.cfg +0 -0
- {mippy-2.23.2 → mippy-2.23.4}/setup.py +0 -0
|
@@ -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())
|
|
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
|
|
@@ -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
|
|
19
|
+
choices = ['Default directory ('+DEFAULT_DIR+')','Different directory']
|
|
20
20
|
|
|
21
21
|
user_choice = choicebox(msg=MESSAGE,title="INSTALL MIPPY",
|
|
22
22
|
choices=choices,
|
mippy-2.23.2/scripts/mippy.bat
DELETED
|
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
|
|
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
|
|
File without changes
|