Commit a8b38338 authored by Edward Andò's avatar Edward Andò
Browse files

resolves #187 (REFsubvol overwritten after masking)

parent 5d047cc1
......@@ -98,6 +98,7 @@ class MainWindow(QWidget):
nonConvergedGrain = self.nonConvergedGrains[self.N]
print("\tGrain {}".format(nonConvergedGrain))
print("\t\tPosition in reference image: {}".format(REFlabCOM[nonConvergedGrain]))
Phi = DDIC['PhiField'][nonConvergedGrain]
......@@ -120,7 +121,6 @@ class MainWindow(QWidget):
REFsubvol[REFgl['subvol'] == 0] = 0
# 2020-10-23: EA on Issue #186: using spam.helpers.slicePadded
REFsubvol = spam.helpers.slicePadded(REFgrey, REFgl['boundingBox']+numpy.array([0,1,0,1,0,1]))
DEFsubvol = spam.helpers.slicePadded(DEFgrey, REFgl['boundingBox']+
numpy.array([0,1,0,1,0,1])+
numpy.array([displacementInt[0], displacementInt[0],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment