def __init__(self, image_file): '''Initialise the image structure from the given file, including a proper model of the experiment. Easy from Rigaku A200 images as they contain everything pretty much we need...''' assert(self.understand(image_file)) FormatSMVRigakuA200.__init__(self, image_file) return
def __init__(self, image_file, **kwargs): '''Initialise the image structure from the given file, including a proper model of the experiment. Easy from Rigaku A200 images as they contain everything pretty much we need...''' from dxtbx import IncorrectFormatError if not self.understand(image_file): raise IncorrectFormatError(self, image_file) FormatSMVRigakuA200.__init__(self, image_file, **kwargs)
def __init__(self, image_file, **kwargs): '''Initialise the image structure from the given file, including a proper model of the experiment. Easy from Rigaku A200 images as they contain everything pretty much we need...''' assert (self.understand(image_file)) FormatSMVRigakuA200.__init__(self, image_file, **kwargs) return
def _start(self): FormatSMVRigakuA200._start(self)
def _start(self): FormatSMVRigakuA200._start(self) from iotbx.detectors.dtrek import DTREKImage self.detectorbase = DTREKImage(self._image_file) self.detectorbase.readHeader()