PaIRS-UniNa 0.2.5__cp312-cp312-win_amd64.whl → 0.2.8__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.
- PaIRS_UniNa/Changes.txt +45 -2
- PaIRS_UniNa/Explorer.py +3126 -3059
- PaIRS_UniNa/FolderLoop.py +561 -371
- PaIRS_UniNa/Input_Tab.py +826 -714
- PaIRS_UniNa/Input_Tab_CalVi.py +15 -17
- PaIRS_UniNa/Input_Tab_tools.py +3019 -3017
- PaIRS_UniNa/Output_Tab.py +2 -4
- PaIRS_UniNa/PaIRS.py +17 -17
- PaIRS_UniNa/PaIRS_pypacks.py +227 -56
- PaIRS_UniNa/Process_Tab.py +2 -2
- PaIRS_UniNa/Process_Tab_Disp.py +1 -1
- PaIRS_UniNa/Saving_tools.py +277 -277
- PaIRS_UniNa/TabTools.py +7 -4
- PaIRS_UniNa/Vis_Tab.py +129 -60
- PaIRS_UniNa/Whatsnew.py +15 -3
- PaIRS_UniNa/_PaIRS_PIV.pyd +0 -0
- PaIRS_UniNa/__init__.py +4 -4
- PaIRS_UniNa/addwidgets_ps.py +28 -20
- PaIRS_UniNa/calibView.py +7 -0
- PaIRS_UniNa/gPaIRS.py +3889 -3745
- PaIRS_UniNa/icons/flaticon_PaIRS_download_warning.png +0 -0
- PaIRS_UniNa/icons/folder_loop_cleanup.png +0 -0
- PaIRS_UniNa/icons/folder_loop_cleanup_off.png +0 -0
- PaIRS_UniNa/icons/pencil_bw.png +0 -0
- PaIRS_UniNa/icons/scan_path_loop.png +0 -0
- PaIRS_UniNa/icons/scan_path_loop_off.png +0 -0
- PaIRS_UniNa/listLib.py +301 -301
- PaIRS_UniNa/parForMulti.py +433 -433
- PaIRS_UniNa/pivParFor.py +1 -1
- PaIRS_UniNa/procTools.py +51 -3
- PaIRS_UniNa/rqrdpckgs.txt +6 -5
- PaIRS_UniNa/stereoPivParFor.py +1 -1
- PaIRS_UniNa/tabSplitter.py +606 -606
- PaIRS_UniNa/ui_Calibration_Tab.py +542 -542
- PaIRS_UniNa/ui_Custom_Top.py +294 -294
- PaIRS_UniNa/ui_Input_Tab.py +1098 -1098
- PaIRS_UniNa/ui_Input_Tab_CalVi.py +1280 -1280
- PaIRS_UniNa/ui_Log_Tab.py +261 -261
- PaIRS_UniNa/ui_Output_Tab.py +2360 -2360
- PaIRS_UniNa/ui_Process_Tab.py +3808 -3808
- PaIRS_UniNa/ui_Process_Tab_CalVi.py +1547 -1547
- PaIRS_UniNa/ui_Process_Tab_Disp.py +1139 -1139
- PaIRS_UniNa/ui_Process_Tab_Min.py +435 -435
- PaIRS_UniNa/ui_ResizePopup.py +203 -203
- PaIRS_UniNa/ui_Vis_Tab.py +1626 -1626
- PaIRS_UniNa/ui_Vis_Tab_CalVi.py +1249 -1249
- PaIRS_UniNa/ui_Whatsnew.py +131 -131
- PaIRS_UniNa/ui_gPairs.py +873 -867
- PaIRS_UniNa/ui_infoPaIRS.py +550 -550
- PaIRS_UniNa/whatsnew.txt +4 -4
- {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/METADATA +31 -17
- {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/RECORD +54 -48
- {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/WHEEL +0 -0
- {pairs_unina-0.2.5.dist-info → pairs_unina-0.2.8.dist-info}/top_level.txt +0 -0
PaIRS_UniNa/Input_Tab_CalVi.py
CHANGED
|
@@ -34,10 +34,12 @@ button_tips={
|
|
|
34
34
|
}
|
|
35
35
|
combo_tips={}
|
|
36
36
|
class INPpar_CalVi(TABpar):
|
|
37
|
+
pathCompleter=basefold_DEBUGOptions
|
|
38
|
+
|
|
37
39
|
def __init__(self,Process=ProcessTypes.null,Step=StepTypes.null):
|
|
38
40
|
self.setup(Process,Step)
|
|
39
41
|
super().__init__('INPpar_CalVi','Input_CalVi')
|
|
40
|
-
self.unchecked_fields+=['OptionValidPath','OptionValidPathOut','OptionValidRootOut','row','col','rows','cols']
|
|
42
|
+
self.unchecked_fields+=['OptionValidPath','OptionValidPathOut','OptionValidRootOut','row','col','rows','cols','pathCompleter']
|
|
41
43
|
|
|
42
44
|
def setup(self,Process,Step):
|
|
43
45
|
self.Process = Process
|
|
@@ -79,8 +81,6 @@ class INPpar_CalVi(TABpar):
|
|
|
79
81
|
|
|
80
82
|
self.errorMessage = ''
|
|
81
83
|
self.FlagReadCalib = False
|
|
82
|
-
|
|
83
|
-
self.pathCompleter=basefold_DEBUGOptions
|
|
84
84
|
|
|
85
85
|
class Input_Tab_CalVi(gPaIRS_Tab):
|
|
86
86
|
|
|
@@ -290,13 +290,13 @@ class Input_Tab_CalVi(gPaIRS_Tab):
|
|
|
290
290
|
def line_edit_path_preaction(self):
|
|
291
291
|
currpath=myStandardPath(self.ui.line_edit_path.text())
|
|
292
292
|
self.FlagScanPath=os.path.normpath(self.INPpar.path)!=currpath
|
|
293
|
-
|
|
294
|
-
if
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
293
|
+
currpath=relativizePath(currpath)
|
|
294
|
+
if os.path.exists(currpath) and currpath!='./':
|
|
295
|
+
pathCompleter=INPpar_CalVi.pathCompleter
|
|
296
|
+
if currpath in pathCompleter: pathCompleter.remove(currpath)
|
|
297
|
+
pathCompleter.insert(0,currpath)
|
|
298
|
+
if len(pathCompleter)>pathCompleterLength:
|
|
299
|
+
INPpar_CalVi.pathCompleter=pathCompleter[:pathCompleterLength]
|
|
300
300
|
self.ui.line_edit_path.setText(currpath)
|
|
301
301
|
|
|
302
302
|
def button_path_action(self):
|
|
@@ -311,7 +311,7 @@ class Input_Tab_CalVi(gPaIRS_Tab):
|
|
|
311
311
|
|
|
312
312
|
def line_edit_cameras_action(self):
|
|
313
313
|
text=self.ui.line_edit_cameras.text()
|
|
314
|
-
split_text=re.findall('(\d+)', text)
|
|
314
|
+
split_text=re.findall(r'(\d+)', text)
|
|
315
315
|
self.INPpar.cams=[]
|
|
316
316
|
for s in split_text:
|
|
317
317
|
i=int(s)
|
|
@@ -365,7 +365,7 @@ class Input_Tab_CalVi(gPaIRS_Tab):
|
|
|
365
365
|
f=os.path.basename(filename)
|
|
366
366
|
FlagWarn=False
|
|
367
367
|
if self.INPpar.FlagCam:
|
|
368
|
-
fsplitted=re.split('_cam\d+', f)
|
|
368
|
+
fsplitted=re.split(r'_cam\d+', f)
|
|
369
369
|
if len(fsplitted)>1:
|
|
370
370
|
fsplitted.insert(-1,'_cam*')
|
|
371
371
|
f="".join(fsplitted)
|
|
@@ -508,7 +508,7 @@ class Input_Tab_CalVi(gPaIRS_Tab):
|
|
|
508
508
|
if self.INPpar.FlagCam and len(self.INPpar.cams)==0:
|
|
509
509
|
ncam=0
|
|
510
510
|
for f in self.INPpar.filenames:
|
|
511
|
-
pats=re.findall('_cam\d+', f)
|
|
511
|
+
pats=re.findall(r'_cam\d+', f)
|
|
512
512
|
if len(pats):
|
|
513
513
|
ncam=int(pats[-1].replace("_cam",""))
|
|
514
514
|
break
|
|
@@ -534,7 +534,7 @@ class Input_Tab_CalVi(gPaIRS_Tab):
|
|
|
534
534
|
if self.INPpar.FlagCam:
|
|
535
535
|
for k,f in enumerate(self.INPpar.filenames):
|
|
536
536
|
if '_cam*' in f: continue
|
|
537
|
-
fsplitted=re.split('_cam\d+', f)
|
|
537
|
+
fsplitted=re.split(r'_cam\d+', f)
|
|
538
538
|
fsplitted.insert(-1,'_cam*')
|
|
539
539
|
f="".join(fsplitted)
|
|
540
540
|
self.INPpar.filenames[k]=f
|
|
@@ -691,9 +691,7 @@ class Input_Tab_CalVi(gPaIRS_Tab):
|
|
|
691
691
|
|
|
692
692
|
def line_edit_path_out_preaction(self):
|
|
693
693
|
currpath=myStandardPath(self.ui.line_edit_path_out.text())
|
|
694
|
-
|
|
695
|
-
if directory_path in currpath:
|
|
696
|
-
currpath=currpath.replace(directory_path,'./')
|
|
694
|
+
currpath=relativizePath(currpath)
|
|
697
695
|
self.ui.line_edit_path_out.setText(currpath)
|
|
698
696
|
|
|
699
697
|
def button_path_out_action(self):
|