PaIRS-UniNa 0.2.7__cp312-cp312-macosx_11_0_universal2.whl → 0.2.10__cp312-cp312-macosx_11_0_universal2.whl
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.
- PaIRS_UniNa/Calibration_Tab.py +16 -0
- PaIRS_UniNa/Changes.txt +39 -0
- PaIRS_UniNa/Explorer.py +311 -75
- PaIRS_UniNa/FolderLoop.py +196 -6
- PaIRS_UniNa/Input_Tab.py +160 -53
- PaIRS_UniNa/Input_Tab_CalVi.py +11 -12
- PaIRS_UniNa/Input_Tab_tools.py +17 -15
- PaIRS_UniNa/Output_Tab.py +1 -3
- PaIRS_UniNa/PaIRS_pypacks.py +63 -65
- PaIRS_UniNa/Process_Tab.py +19 -15
- PaIRS_UniNa/Process_Tab_Disp.py +8 -1
- PaIRS_UniNa/SPIVCalHelp.py +155 -0
- PaIRS_UniNa/Saving_tools.py +2 -0
- PaIRS_UniNa/TabTools.py +165 -6
- PaIRS_UniNa/Vis_Tab.py +50 -22
- PaIRS_UniNa/Vis_Tab_CalVi.py +1 -2
- PaIRS_UniNa/Whatsnew.py +4 -3
- PaIRS_UniNa/_PaIRS_PIV.so +0 -0
- PaIRS_UniNa/__init__.py +3 -3
- PaIRS_UniNa/addwidgets_ps.py +570 -70
- PaIRS_UniNa/gPaIRS.py +118 -17
- PaIRS_UniNa/icons/folder_loop_cleanup.png +0 -0
- PaIRS_UniNa/icons/folder_loop_cleanup_off.png +0 -0
- PaIRS_UniNa/icons/information.png +0 -0
- PaIRS_UniNa/icons/information2.png +0 -0
- PaIRS_UniNa/icons/scan_path_loop.png +0 -0
- PaIRS_UniNa/icons/scan_path_loop_off.png +0 -0
- PaIRS_UniNa/icons/spiv_setup_no.png +0 -0
- PaIRS_UniNa/icons/spiv_setup_ok.png +0 -0
- PaIRS_UniNa/procTools.py +46 -1
- PaIRS_UniNa/rqrdpckgs.txt +7 -7
- PaIRS_UniNa/ui_Calibration_Tab.py +92 -59
- PaIRS_UniNa/ui_gPairs.py +8 -8
- PaIRS_UniNa/whatsnew.txt +2 -3
- {pairs_unina-0.2.7.dist-info → pairs_unina-0.2.10.dist-info}/METADATA +7 -8
- {pairs_unina-0.2.7.dist-info → pairs_unina-0.2.10.dist-info}/RECORD +38 -30
- {pairs_unina-0.2.7.dist-info → pairs_unina-0.2.10.dist-info}/WHEEL +0 -0
- {pairs_unina-0.2.7.dist-info → pairs_unina-0.2.10.dist-info}/top_level.txt +0 -0
PaIRS_UniNa/Calibration_Tab.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from .ui_Calibration_Tab import*
|
|
2
2
|
from .TabTools import*
|
|
3
3
|
from .listLib import*
|
|
4
|
+
from .SPIVCalHelp import showSPIVCalHelp
|
|
4
5
|
|
|
5
6
|
spin_tips={
|
|
6
7
|
'ncam' : 'Number of cameras',
|
|
@@ -21,6 +22,7 @@ button_tips={
|
|
|
21
22
|
combo_tips={}
|
|
22
23
|
|
|
23
24
|
class CALpar(TABpar):
|
|
25
|
+
FlagSPIVCal = True
|
|
24
26
|
def __init__(self,Process=ProcessTypes.null,Step=StepTypes.null):
|
|
25
27
|
self.setup(Process,Step)
|
|
26
28
|
super().__init__('CALpar','Calibration')
|
|
@@ -61,6 +63,8 @@ class Calibration_Tab(gPaIRS_Tab):
|
|
|
61
63
|
self.app=app
|
|
62
64
|
setAppGuiPalette(self)
|
|
63
65
|
|
|
66
|
+
self.ui.button_info.setStyleSheet("border: none;")
|
|
67
|
+
|
|
64
68
|
#------------------------------------- Declaration of parameters
|
|
65
69
|
self.CALpar_base=CALpar()
|
|
66
70
|
self.CALpar:CALpar=self.TABpar
|
|
@@ -133,6 +137,7 @@ class Calibration_Tab(gPaIRS_Tab):
|
|
|
133
137
|
self.ui.button_paste_below.setEnabled(FlagNCal and FlagCuttedItems)
|
|
134
138
|
self.ui.button_paste_above.setEnabled(FlagNCal and FlagCuttedItems)
|
|
135
139
|
self.ui.button_clean.setEnabled(FlagFiles)
|
|
140
|
+
self.ui.button_info.setVisible(self.CALpar.Process==ProcessTypes.spiv)
|
|
136
141
|
|
|
137
142
|
self.ui.button_CalVi.setVisible(self.CALpar.flagRun==0)
|
|
138
143
|
|
|
@@ -166,13 +171,23 @@ class Calibration_Tab(gPaIRS_Tab):
|
|
|
166
171
|
#*************************************************** Buttons
|
|
167
172
|
#******************** Actions
|
|
168
173
|
def button_CalVi_action(self):
|
|
174
|
+
if CALpar.FlagSPIVCal and self.ui.button_info.isVisible() and self.ui.button_CalVi.isChecked():
|
|
175
|
+
showSPIVCalHelp(self,self.dontShowAgainSPIVCalHelp)
|
|
169
176
|
self.CALpar.FlagCalVi=self.ui.button_CalVi.isChecked()
|
|
170
177
|
|
|
178
|
+
def dontShowAgainSPIVCalHelp(self):
|
|
179
|
+
CALpar.FlagSPIVCal = False
|
|
180
|
+
|
|
181
|
+
def button_info_action(self):
|
|
182
|
+
showSPIVCalHelp(self)
|
|
183
|
+
|
|
171
184
|
def button_scan_list_action(self):
|
|
172
185
|
self.ui.calTree.setLists()
|
|
173
186
|
self.CALpar.calEx=deep_duplicate(self.ui.calTree.calEx)
|
|
174
187
|
|
|
175
188
|
def button_import_action(self):
|
|
189
|
+
if CALpar.FlagSPIVCal and self.ui.button_info.isVisible():
|
|
190
|
+
showSPIVCalHelp(self,self.dontShowAgainSPIVCalHelp)
|
|
176
191
|
filenames, _ = QFileDialog.getOpenFileNames(self,\
|
|
177
192
|
"Select calibration files from the current directory", filter='*.cal',\
|
|
178
193
|
options=optionNativeDialog)
|
|
@@ -296,6 +311,7 @@ class Calibration_Tab(gPaIRS_Tab):
|
|
|
296
311
|
#*************************************************** Context Menu
|
|
297
312
|
def contextMenuEvent(self, event):
|
|
298
313
|
menu=QMenu(self)
|
|
314
|
+
menu.setStyleSheet(self.gui.ui.menu.styleSheet())
|
|
299
315
|
name=[]
|
|
300
316
|
act=[]
|
|
301
317
|
fun=[]
|
PaIRS_UniNa/Changes.txt
CHANGED
|
@@ -1,3 +1,42 @@
|
|
|
1
|
+
********* Changes in version 0.2.10 (2026.01.05) **********
|
|
2
|
+
Bug fixes:
|
|
3
|
+
- fixed a bug affecting the "Edit list" functionality of the image-tree in the Input tab; the feature is now fully operational and behaves as expected;
|
|
4
|
+
- fixed a minor issue that could affect the correct assessment of the PIV process stability.
|
|
5
|
+
|
|
6
|
+
User-interface enhancements:
|
|
7
|
+
- minor UI restyling aimed at improving visual feedback, with clearer highlighting of widgets involved in user interactions;
|
|
8
|
+
- improved the visualization of contextual help messages, providing clearer and more consistent tooltip-like feedback within the interface;
|
|
9
|
+
- enhanced the management and restoration of global tab settings to ensure better consistency when loading previously saved workspaces.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
********* Changes in version 0.2.9 (2025.12.12) **********
|
|
14
|
+
Bug fixes:
|
|
15
|
+
- fixed a bug in the batch folder-copy tool enabling automatic removal of incomplete image pairs and a full re-scan of destination folders to detect and resolve any image-set mismatches.
|
|
16
|
+
|
|
17
|
+
New features:
|
|
18
|
+
- a new help dialog has been introduced to assist users during the stereoscopic PIV calibration process. The dialog provides a detailed explanation of the required coordinate convention (plate defining the x–y plane, z-axis normal to the plate and x-axis aligned with the stereoscopic baseline) and displays example images illustrating correct and incorrect configurations.
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
********* Changes in version 0.2.8 (2025.11.14) **********
|
|
23
|
+
Bug fixes:
|
|
24
|
+
- corrected a bug in the z-vorticity computation: velocity gradients were not properly converted to physical units, causing an error in the magnitude scales though not in the qualitative distributions;
|
|
25
|
+
- corrected the display of maps of output variables and vector fields in Vis to ensure proper alignment across option changes;
|
|
26
|
+
- fixed issues related to path handling in the batch-folder copy and other modules: paths are no longer relativized, avoiding inconsistent behavior across different operating systems or different.
|
|
27
|
+
|
|
28
|
+
New features:
|
|
29
|
+
- added new options in the batch folder-copy tool to automatically remove image pairs where one or more files are missing in the destination folders and to fully re-scan the destination folders for cases in which mismatches in the image sets may occur;
|
|
30
|
+
- extended the existing functionality in Vis for loading and visualizing past results located under the specified output path and name root: when available, the corresponding saved log file is now automatically loaded and displayed in the Log tab.
|
|
31
|
+
|
|
32
|
+
User-interface enhancements:
|
|
33
|
+
- improved the naming logic for duplicated processes: copied processes are now assigned consistent incremental suffixes;
|
|
34
|
+
- improved the example-image tree and the behavior of the step spin box in the Image Import Tool (minimum step is now 1);
|
|
35
|
+
- refined the behavior of the import button: it is now always enabled, and when no changes in the image list are detected upon importing, the user simply receives a warning message;
|
|
36
|
+
- improved the behaviour of the list of path completers in the Input tabs;
|
|
37
|
+
- in Vis, resizing settings and automatic level-reset options are no longer global but apply individually per each step.
|
|
38
|
+
|
|
39
|
+
|
|
1
40
|
********* Changes in version 0.2.7 (2025.10.13) **********
|
|
2
41
|
Bug fixes:
|
|
3
42
|
- resolved an issue related to visulazion of streamlines when the image is shown in pixel units and a custom resolution is specified (in previous versions, streamlines were always represented in physical units);
|