Example #1
0
 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)
Example #4
0
 def setMaskFile(self, argin):
     mask = getDataFromFile(*argin)
     self.__roiCounterMgr.setMask(mask)
Example #5
0
 def setMaskFile(self, argin):
     mask = getDataFromFile(*argin)
     self.__roi2spectrumMgr.setMask(mask)
Example #6
0
 def setMaskImage(self,filepath) :
     self.__maskImage = getDataFromFile(filepath)
     if(self.__maskTask) :
         self.__maskTask.setMaskImage(self.__maskImage)