getImagettes problmen in branch
spam-ldic -glt 29000 00/00.tif +356g/01.tif -od . -pf 00-01-pixelSearch.tsv -pfd -hws 5 -ns 10 -tif -vtk
""" Traceback (most recent call last): File "/usr/lib/python3.8/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/opt/spam/spam/bin/spam-ldic", line 121, in correlateOneNode imagetteReturns = spam.DIC.getImagettes(im1, nodePositions[nodeNumber], args.HWS, PhiInit.copy(), im2, margin, im1mask=im1mask, minMaskCoverage=args.MASK_COVERAGE, greyThreshold=[args.GREY_LOW_THRESH, args.GREY_HIGH_THRESH], applyF='no', twoD=twoD) File "/opt/spam/spam/lib/python3.8/site-packages/spam/DIC/grid.py", line 289, in getImagettes imagette2 = spam.helpers.slicePadded(im2, startStopIm2) File "/opt/spam/spam/lib/python3.8/site-packages/spam/helpers/imageManipulation.py", line 486, in slicePadded assert (startStop[1]>startStop[0]), "spam.helpers.slicePadded(): Zmax should be bigger than Zmin" AssertionError: spam.helpers.slicePadded(): Zmax should be bigger than Zmin ""