コード例 #1
0
ファイル: GEimage.py プロジェクト: pommier/dawn-fable
 def previous(self):
     """
     Get the previous image in a series as a fabio image
     """
     if self.currentframe > 0:
         return self.getframe(self.currentframe - 1)
     else:
         newobj = GEimage()
         newobj.read(previous_filename(self.sequencefilename))
         return newobj
コード例 #2
0
ファイル: GEimage.py プロジェクト: DawnScience/dawn-fable
 def previous(self):
     """
     Get the previous image in a series as a fabio image
     """
     if self.currentframe > 0:
         return self.getframe(self.currentframe - 1)
     else:
         newobj = GEimage()
         newobj.read(previous_filename(self.sequencefilename))
         return newobj
コード例 #3
0
ファイル: fabioimage.py プロジェクト: DawnScience/dawn-fable
 def previous(self):
     """ returns the previous file in the series as a fabioimage """
     import openimage
     return openimage.openimage(
         fabioutils.previous_filename(self.filename))
コード例 #4
0
 def previous(self):
     """ returns the previous file in the series as a fabioimage """
     import openimage
     return openimage.openimage(fabioutils.previous_filename(self.filename))