def setFlatFieldImage(self, filepath): self.__flatFieldImage = getDataFromFile(filepath) if (self.__flatFieldTask): self.__flatFieldTask.setFlatFieldImage(self.__flatFieldImage)
def setMaskFile(self, argin): mask = getDataFromFile(*argin) self.__peakFinderMgr.setMask(mask)
def setBackgroundImage(self, filepath): deb.Param('filepath=%s' % filepath) image = getDataFromFile(filepath) if self.__deleteDarkAfterRead: os.unlink(filepath) self._setBackgroundImage(image)
def setMaskFile(self, argin): mask = getDataFromFile(*argin) self.__roiCounterMgr.setMask(mask)
def setMaskFile(self, argin): mask = getDataFromFile(*argin) self.__roi2spectrumMgr.setMask(mask)
def setMaskImage(self,filepath) : self.__maskImage = getDataFromFile(filepath) if(self.__maskTask) : self.__maskTask.setMaskImage(self.__maskImage)