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()
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)