PaIRS-UniNa 0.2.8__cp312-cp312-win_amd64.whl → 0.2.9__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 (40) hide show
  1. PaIRS_UniNa/Calibration_Tab.py +15 -0
  2. PaIRS_UniNa/Changes.txt +9 -0
  3. PaIRS_UniNa/Explorer.py +3158 -3126
  4. PaIRS_UniNa/FolderLoop.py +561 -561
  5. PaIRS_UniNa/Input_Tab.py +826 -826
  6. PaIRS_UniNa/Input_Tab_tools.py +3016 -3019
  7. PaIRS_UniNa/PaIRS.py +17 -17
  8. PaIRS_UniNa/SPIVCalHelp.py +155 -0
  9. PaIRS_UniNa/Saving_tools.py +277 -277
  10. PaIRS_UniNa/_PaIRS_PIV.pyd +0 -0
  11. PaIRS_UniNa/__init__.py +2 -2
  12. PaIRS_UniNa/gPaIRS.py +3890 -3889
  13. PaIRS_UniNa/icons/information.png +0 -0
  14. PaIRS_UniNa/icons/information2.png +0 -0
  15. PaIRS_UniNa/icons/spiv_setup_no.png +0 -0
  16. PaIRS_UniNa/icons/spiv_setup_ok.png +0 -0
  17. PaIRS_UniNa/listLib.py +301 -301
  18. PaIRS_UniNa/parForMulti.py +433 -433
  19. PaIRS_UniNa/tabSplitter.py +606 -606
  20. PaIRS_UniNa/ui_Calibration_Tab.py +575 -542
  21. PaIRS_UniNa/ui_Custom_Top.py +294 -294
  22. PaIRS_UniNa/ui_Input_Tab.py +1098 -1098
  23. PaIRS_UniNa/ui_Input_Tab_CalVi.py +1280 -1280
  24. PaIRS_UniNa/ui_Log_Tab.py +261 -261
  25. PaIRS_UniNa/ui_Output_Tab.py +2360 -2360
  26. PaIRS_UniNa/ui_Process_Tab.py +3808 -3808
  27. PaIRS_UniNa/ui_Process_Tab_CalVi.py +1547 -1547
  28. PaIRS_UniNa/ui_Process_Tab_Disp.py +1139 -1139
  29. PaIRS_UniNa/ui_Process_Tab_Min.py +435 -435
  30. PaIRS_UniNa/ui_ResizePopup.py +203 -203
  31. PaIRS_UniNa/ui_Vis_Tab.py +1626 -1626
  32. PaIRS_UniNa/ui_Vis_Tab_CalVi.py +1249 -1249
  33. PaIRS_UniNa/ui_Whatsnew.py +131 -131
  34. PaIRS_UniNa/ui_gPairs.py +873 -873
  35. PaIRS_UniNa/ui_infoPaIRS.py +550 -550
  36. PaIRS_UniNa/whatsnew.txt +1 -1
  37. {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.9.dist-info}/METADATA +4 -3
  38. {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.9.dist-info}/RECORD +40 -36
  39. {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.9.dist-info}/WHEEL +0 -0
  40. {pairs_unina-0.2.8.dist-info → pairs_unina-0.2.9.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 self.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
+ self.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 self.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)
PaIRS_UniNa/Changes.txt CHANGED
@@ -1,3 +1,12 @@
1
+ ********* Changes in version 0.2.9 (2025.12.12) **********
2
+ Bug fixes:
3
+ - 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.
4
+
5
+ New features:
6
+ - 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.
7
+
8
+
9
+
1
10
  ********* Changes in version 0.2.8 (2025.11.14) **********
2
11
  Bug fixes:
3
12
  - 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;