ó
ý™xTc           @   sf   d  d l  m Z d  d l m Z d  d l m Z d  d l m Z d  d l Z d e f d „  ƒ  YZ	 d S(   iÿÿÿÿ(   t   division(   t   Format(   t   Detector(   t   BeamNt   FormatStillc           B   s#   e  Z d  „  Z d „  Z d „  Z RS(   c         C   s‘   |  j  ƒ  zu yX |  j ƒ  } t | t ƒ s1 t ‚ | |  _ |  j ƒ  } t | t ƒ s[ t ‚ | |  _ Wn t	 j
 k
 r} } n XWd |  j ƒ  Xd S(   s›  Read the image file, construct the information which we will be
    wanting about the experiment from this. N.B. in your implementation
    of this you will probably want to make use of the static methods
    below and probably add some format parsing code too. Please also keep
    in mind that your implementation may be further subclassed by
    someone else.

    Do not create scan or or goniometer objectsN(   t   _startt	   _detectort
   isinstanceR   t   AssertionErrort   _detector_instancet   _beamR   t   _beam_instancet
   exceptionst	   Exceptiont   _end(   t   selft   detector_instancet   beam_instancet   e(    (    sF   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/dxtbx/format/FormatStill.pyt   setup   s    	
 	c         C   s   d S(   s    Not sensible for still shot dataN(   t   None(   R   (    (    sF   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/dxtbx/format/FormatStill.pyt   _goniometer)   s    c         C   s   d S(   s    Not sensible for still shot dataN(   R   (   R   (    (    sF   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/dxtbx/format/FormatStill.pyt   _scan/   s    (   t   __name__t
   __module__R   R   R   (    (    (    sF   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/dxtbx/format/FormatStill.pyR      s   		(
   t
   __future__R    t   dxtbx.format.FormatR   t   dxtbx.model.detectorR   t   dxtbx.model.beamR   R   R   (    (    (    sF   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/dxtbx/format/FormatStill.pyt   <module>   s
   