PaIRS-UniNa 0.2.8__cp312-cp312-win_amd64.whl → 0.2.10__cp312-cp312-win_amd64.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.
Files changed (49) hide show
  1. PaIRS_UniNa/Calibration_Tab.py +16 -0
  2. PaIRS_UniNa/Changes.txt +21 -0
  3. PaIRS_UniNa/Explorer.py +3312 -3126
  4. PaIRS_UniNa/FolderLoop.py +561 -561
  5. PaIRS_UniNa/Input_Tab.py +824 -826
  6. PaIRS_UniNa/Input_Tab_CalVi.py +1 -0
  7. PaIRS_UniNa/Input_Tab_tools.py +3020 -3019
  8. PaIRS_UniNa/PaIRS.py +17 -17
  9. PaIRS_UniNa/PaIRS_pypacks.py +18 -65
  10. PaIRS_UniNa/Process_Tab.py +19 -15
  11. PaIRS_UniNa/Process_Tab_Disp.py +8 -1
  12. PaIRS_UniNa/SPIVCalHelp.py +155 -0
  13. PaIRS_UniNa/Saving_tools.py +279 -277
  14. PaIRS_UniNa/TabTools.py +165 -6
  15. PaIRS_UniNa/Vis_Tab.py +11 -4
  16. PaIRS_UniNa/Vis_Tab_CalVi.py +1 -2
  17. PaIRS_UniNa/_PaIRS_PIV.pyd +0 -0
  18. PaIRS_UniNa/__init__.py +3 -3
  19. PaIRS_UniNa/addwidgets_ps.py +570 -70
  20. PaIRS_UniNa/gPaIRS.py +3933 -3889
  21. PaIRS_UniNa/icons/information.png +0 -0
  22. PaIRS_UniNa/icons/information2.png +0 -0
  23. PaIRS_UniNa/icons/spiv_setup_no.png +0 -0
  24. PaIRS_UniNa/icons/spiv_setup_ok.png +0 -0
  25. PaIRS_UniNa/listLib.py +301 -301
  26. PaIRS_UniNa/parForMulti.py +433 -433
  27. PaIRS_UniNa/rqrdpckgs.txt +7 -7
  28. PaIRS_UniNa/tabSplitter.py +606 -606
  29. PaIRS_UniNa/ui_Calibration_Tab.py +576 -543
  30. PaIRS_UniNa/ui_Custom_Top.py +294 -294
  31. PaIRS_UniNa/ui_Input_Tab.py +1098 -1098
  32. PaIRS_UniNa/ui_Input_Tab_CalVi.py +1280 -1280
  33. PaIRS_UniNa/ui_Log_Tab.py +261 -261
  34. PaIRS_UniNa/ui_Output_Tab.py +2360 -2360
  35. PaIRS_UniNa/ui_Process_Tab.py +3808 -3808
  36. PaIRS_UniNa/ui_Process_Tab_CalVi.py +1547 -1547
  37. PaIRS_UniNa/ui_Process_Tab_Disp.py +1139 -1139
  38. PaIRS_UniNa/ui_Process_Tab_Min.py +435 -435
  39. PaIRS_UniNa/ui_ResizePopup.py +203 -203
  40. PaIRS_UniNa/ui_Vis_Tab.py +1626 -1626
  41. PaIRS_UniNa/ui_Vis_Tab_CalVi.py +1249 -1249
  42. PaIRS_UniNa/ui_Whatsnew.py +131 -131
  43. PaIRS_UniNa/ui_gPairs.py +873 -873
  44. PaIRS_UniNa/ui_infoPaIRS.py +550 -550
  45. PaIRS_UniNa/whatsnew.txt +2 -4
  46. {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.10.dist-info}/METADATA +7 -13
  47. {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.10.dist-info}/RECORD +49 -45
  48. {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.10.dist-info}/WHEEL +0 -0
  49. {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.10.dist-info}/top_level.txt +0 -0
@@ -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,24 @@
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
+
1
22
  ********* Changes in version 0.2.8 (2025.11.14) **********
2
23
  Bug fixes:
3
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;