コード例 #1
0
 def next(self):
     """ returns the next file in the series as a fabioimage """
     if self.nframes == 1:
         return fabioimage.next(self)
     else:
         newFrameId = self.currentframe + 1
         return self.getframe(newFrameId)
コード例 #2
0
ファイル: edfimage.py プロジェクト: andygotz/dawn-fable
 def next(self):
     """ returns the next file in the series as a fabioimage """
     if self.nframes == 1:
         return fabioimage.next(self)
     else:
         newFrameId = self.currentframe + 1
         return self.getframe(newFrameId)
コード例 #3
0
ファイル: edfimage.py プロジェクト: DawnScience/dawn-fable
 def next(self):
     """ returns the next file in the series as a fabioimage """
     newImage = None
     if self.nframes == 1:
         newImage = fabioimage.next(self)
     else:
         newFrameId = self.currentframe + 1
         newImage = self.getframe(newFrameId)
     return newImage
コード例 #4
0
ファイル: edfimage.py プロジェクト: toqduj/fabio
 def next(self):
     """ returns the next file in the series as a fabioimage """
     newImage = None
     if self.nframes == 1:
         newImage = fabioimage.next(self)
     else:
         newFrameId = self.currentframe + 1
         newImage = self.getframe(newFrameId)
     return newImage