ó
zxTc           @   sJ   d  d l  m Z d  d l m Z d  d l m Z d e f d     YZ d S(   i˙˙˙˙(   t   division(   t	   ADSCImage(   t   DetectorImageBaset   HamamatsuImagec           B   s    e  Z d  Z d   Z d   Z RS(   sç   Hamamatsu CMOS Detector
  Beamline BL32XU, SPring-8
  RIKEN/SPring-8 Center
  Research Infrastructure Group,
  SR Life Science Instrumentation Unit

  1-1-1 Kouto Sayo-cho Sayo-gun
  Hyogo, 679-5148 JAPAN
  Contact: Kunio Hirata
  c         C   s   t  j |  |  d |  _ d  S(   Nt	   Hamamatsu(   R   t   __init__t
   vendortype(   t   selft   filename(    (    sG   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/detectors/hamamatsu.pyR      s    c         C   sK   t  j |  d d d t f g |  j d j   j d  d k sG t  d  S(   Nt   external_keyst   DETECTOR_NAMEt	   hamamatsui    (   R   t
   readHeadert   strt
   parameterst   lowert   findt   AssertionError(   R   (    (    sG   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/detectors/hamamatsu.pyR      s    ((   t   __name__t
   __module__t   __doc__R   R   (    (    (    sG   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/detectors/hamamatsu.pyR      s   
	N(   t
   __future__R    t   iotbx.detectors.adscR   t   iotbx.detectors.detectorbaseR   R   (    (    (    sG   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/iotbx/detectors/hamamatsu.pyt   <module>   s   