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
def previous(self): """ returns the previous file in the series as a fabioimage """ import openimage return openimage.openimage( fabioutils.previous_filename(self.filename))
def previous(self): """ returns the previous file in the series as a fabioimage """ import openimage return openimage.openimage(fabioutils.previous_filename(self.filename))