예제 #1
0
 def maskImage(self):
     """ QT slot that toggles the mask for the image """
     if self.magnitudeImage.mask is None:
         self.magnitudeImage.setMask(Mask=filt.mask(self.image))
     else:
         self.magnitudeImage.removeMask()
예제 #2
0
 def maskPhase(self):
     """ QT slot that toggles the mask for the phase map """
     if self.phaseImage.mask is None:
         self.phaseImage.setMask(Mask=filt.mask(self.image))
     else:
         self.phaseImage.setMask(None)