ó
8á{Tc           @   s©  d  d l  m Z e d' k r4 d „  Z e ƒ  Z [ n d  d l Z [ y
 e Z Wn e k
 r` n Xd d „ Z d	 „  Z d
 „  Z	 d „  Z
 y e Z d Z Wn* e k
 rÄ d d( d „  ƒ  YZ d Z n Xd e f d „  ƒ  YZ e j Z e e ƒ d „  Z e j Z d e f d „  ƒ  YZ e j Z e e ƒ d „  Z e j Z d e f d „  ƒ  YZ e j Z e e ƒ d „  Z e j Z d e f d „  ƒ  YZ e j Z e e ƒ d „  Z e j Z d e f d „  ƒ  YZ e j Z e e ƒ d „  Z e j Z d e f d „  ƒ  YZ e j Z e e ƒ d „  Z  e j  Z  d  „  Z! e j! Z! d! „  Z" e j" Z" d" „  Z# e j# Z# d# „  Z$ e j$ Z$ d$ „  Z% e j% Z% d% „  Z& e j& Z& d& „  Z' e j' Z' d S()   iÿÿÿÿ(   t   version_infoi   i   i    c          C   s©   d d l  m }  d d  l } d  } y( | j d |  t ƒ g ƒ \ } } } Wn t k
 rj d d  l } | SX| d  k	 r¥ z | j d | | | ƒ } Wd  | j	 ƒ  X| Sd  S(   Niÿÿÿÿ(   t   dirnamet   _point_funcs(
   t   os.pathR   t   impt   Nonet   find_modulet   __file__t   ImportErrorR   t   load_modulet   close(   R   R   t   fpt   pathnamet   descriptionR   t   _mod(    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   swig_import_helper   s    (Ni   c         C   s£   | d k r |  j  j | ƒ S| d k rQ t | ƒ j d k rQ | |  j | <d  Sn  | j j | d  ƒ } | ry | |  | ƒ S| s� | |  j | <n t d |  ƒ ‚ d  S(   Nt   thisownt   thist   SwigPyObjects   You cannot add attributes to %s(	   R   t   ownt   typet   __name__t   __dict__t   __swig_setmethods__t   getR   t   AttributeError(   t   selft
   class_typet   namet   valuet   statict   method(    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   _swig_setattr_nondynamic%   s      c         C   s   t  |  | | | d ƒ S(   Ni    (   R    (   R   R   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   _swig_setattr2   s    c         C   sN   | d k r |  j  j ƒ  S| j j | d  ƒ } | r> | |  ƒ St | ƒ ‚ d  S(   NR   (   R   R   t   __swig_getmethods__R   R   R   (   R   R   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   _swig_getattr5   s      
c         C   sD   y d |  j  j ƒ  } Wn d } n Xd |  j j |  j j | f S(   Ns	   proxy of t    s   <%s.%s; %s >(   R   t   __repr__t	   __class__t
   __module__R   (   R   t   strthis(    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt
   _swig_repr;   s
      
t   _objectc           B   s   e  Z RS(    (   R   R'   (    (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR*   D   s    t   intpc           B   s‡   e  Z i  Z d  „  Z i  Z d „  Z e Z d „  Z e	 j
 Z d „  Z d „  Z d „  Z d „  Z d „  e d <e r… e e	 j ƒ Z n  RS(	   c         C   s   t  |  t | | ƒ S(   N(   R!   R+   (   R   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   <lambda>J   s    c         C   s   t  |  t | ƒ S(   N(   R#   R+   (   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   L   s    c         C   s7   t  j ƒ  } y |  j j | ƒ Wn | |  _ n Xd  S(   N(   R   t   new_intpR   t   append(   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   __init__N   s
      c         C   s   d  S(   N(   R   (   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   S   s    c         G   s   t  j |  | Œ S(   N(   R   t   intp_assign(   R   t   args(    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   assignT   s    c         C   s   t  j |  ƒ S(   N(   R   t
   intp_value(   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR   U   s    c         C   s   t  j |  ƒ S(   N(   R   t	   intp_cast(   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   castV   s    c         C   s   t  j S(   N(   R   t   intp_frompointer(   t   x(    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   W   s    t   frompointer(   R   R'   R   t   __setattr__R"   t   __getattr__R)   R%   R/   R   t   delete_intpt   __swig_destroy__t   __del__R2   R   R5   t	   _newclasst   staticmethodR6   R8   (    (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR+   H   s   								 c          G   s   t  j |  Œ  S(   N(   R   R6   (   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR6   \   s    t   doublepc           B   s‡   e  Z i  Z d  „  Z i  Z d „  Z e Z d „  Z e	 j
 Z d „  Z d „  Z d „  Z d „  Z d „  e d <e r… e e	 j ƒ Z n  RS(	   c         C   s   t  |  t | | ƒ S(   N(   R!   R@   (   R   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   b   s    c         C   s   t  |  t | ƒ S(   N(   R#   R@   (   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   d   s    c         C   s7   t  j ƒ  } y |  j j | ƒ Wn | |  _ n Xd  S(   N(   R   t   new_doublepR   R.   (   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR/   f   s
      c         C   s   d  S(   N(   R   (   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   k   s    c         G   s   t  j |  | Œ S(   N(   R   t   doublep_assign(   R   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR2   l   s    c         C   s   t  j |  ƒ S(   N(   R   t   doublep_value(   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR   m   s    c         C   s   t  j |  ƒ S(   N(   R   t   doublep_cast(   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR5   n   s    c         C   s   t  j S(   N(   R   t   doublep_frompointer(   R7   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   o   s    R8   (   R   R'   R   R9   R"   R:   R)   R%   R/   R   t   delete_doublepR<   R=   R2   R   R5   R>   R?   RE   R8   (    (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR@   `   s   								 c          G   s   t  j |  Œ  S(   N(   R   RE   (   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRE   t   s    t   floatpc           B   s‡   e  Z i  Z d  „  Z i  Z d „  Z e Z d „  Z e	 j
 Z d „  Z d „  Z d „  Z d „  Z d „  e d <e r… e e	 j ƒ Z n  RS(	   c         C   s   t  |  t | | ƒ S(   N(   R!   RG   (   R   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   z   s    c         C   s   t  |  t | ƒ S(   N(   R#   RG   (   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   |   s    c         C   s7   t  j ƒ  } y |  j j | ƒ Wn | |  _ n Xd  S(   N(   R   t
   new_floatpR   R.   (   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR/   ~   s
      c         C   s   d  S(   N(   R   (   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   ƒ   s    c         G   s   t  j |  | Œ S(   N(   R   t   floatp_assign(   R   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR2   „   s    c         C   s   t  j |  ƒ S(   N(   R   t   floatp_value(   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR   …   s    c         C   s   t  j |  ƒ S(   N(   R   t   floatp_cast(   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR5   †   s    c         C   s   t  j S(   N(   R   t   floatp_frompointer(   R7   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   ‡   s    R8   (   R   R'   R   R9   R"   R:   R)   R%   R/   R   t   delete_floatpR<   R=   R2   R   R5   R>   R?   RL   R8   (    (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRG   x   s   								 c          G   s   t  j |  Œ  S(   N(   R   RL   (   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRL   Œ   s    t   intac           B   s‡   e  Z i  Z d  „  Z i  Z d „  Z e Z d „  Z e	 j
 Z d „  Z d „  Z d „  Z d „  Z d „  e d <e r… e e	 j ƒ Z n  RS(	   c         C   s   t  |  t | | ƒ S(   N(   R!   RN   (   R   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   ’   s    c         C   s   t  |  t | ƒ S(   N(   R#   RN   (   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   ”   s    c         G   s:   t  j | Œ  } y |  j j | ƒ Wn | |  _ n Xd  S(   N(   R   t   new_intaR   R.   (   R   R1   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR/   –   s
      c         C   s   d  S(   N(   R   (   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   ›   s    c         G   s   t  j |  | Œ S(   N(   R   t   inta___getitem__(   R   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   __getitem__œ   s    c         G   s   t  j |  | Œ S(   N(   R   t   inta___setitem__(   R   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   __setitem__�   s    c         C   s   t  j |  ƒ S(   N(   R   t	   inta_cast(   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR5   ž   s    c         C   s   t  j S(   N(   R   t   inta_frompointer(   R7   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   Ÿ   s    R8   (   R   R'   R   R9   R"   R:   R)   R%   R/   R   t   delete_intaR<   R=   RQ   RS   R5   R>   R?   RU   R8   (    (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRN   �   s   								 c          G   s   t  j |  Œ  S(   N(   R   RU   (   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRU   ¤   s    t   doubleac           B   s‡   e  Z i  Z d  „  Z i  Z d „  Z e Z d „  Z e	 j
 Z d „  Z d „  Z d „  Z d „  Z d „  e d <e r… e e	 j ƒ Z n  RS(	   c         C   s   t  |  t | | ƒ S(   N(   R!   RW   (   R   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   ª   s    c         C   s   t  |  t | ƒ S(   N(   R#   RW   (   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   ¬   s    c         G   s:   t  j | Œ  } y |  j j | ƒ Wn | |  _ n Xd  S(   N(   R   t   new_doubleaR   R.   (   R   R1   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR/   ®   s
      c         C   s   d  S(   N(   R   (   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   ³   s    c         G   s   t  j |  | Œ S(   N(   R   t   doublea___getitem__(   R   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRQ   ´   s    c         G   s   t  j |  | Œ S(   N(   R   t   doublea___setitem__(   R   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRS   µ   s    c         C   s   t  j |  ƒ S(   N(   R   t   doublea_cast(   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR5   ¶   s    c         C   s   t  j S(   N(   R   t   doublea_frompointer(   R7   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   ·   s    R8   (   R   R'   R   R9   R"   R:   R)   R%   R/   R   t   delete_doubleaR<   R=   RQ   RS   R5   R>   R?   R\   R8   (    (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRW   ¨   s   								 c          G   s   t  j |  Œ  S(   N(   R   R\   (   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR\   ¼   s    t   floatac           B   s‡   e  Z i  Z d  „  Z i  Z d „  Z e Z d „  Z e	 j
 Z d „  Z d „  Z d „  Z d „  Z d „  e d <e r… e e	 j ƒ Z n  RS(	   c         C   s   t  |  t | | ƒ S(   N(   R!   R^   (   R   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   Â   s    c         C   s   t  |  t | ƒ S(   N(   R#   R^   (   R   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   Ä   s    c         G   s:   t  j | Œ  } y |  j j | ƒ Wn | |  _ n Xd  S(   N(   R   t
   new_floataR   R.   (   R   R1   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR/   Æ   s
      c         C   s   d  S(   N(   R   (   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   Ë   s    c         G   s   t  j |  | Œ S(   N(   R   t   floata___getitem__(   R   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRQ   Ì   s    c         G   s   t  j |  | Œ S(   N(   R   t   floata___setitem__(   R   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRS   Í   s    c         C   s   t  j |  ƒ S(   N(   R   t   floata_cast(   R   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR5   Î   s    c         C   s   t  j S(   N(   R   t   floata_frompointer(   R7   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR,   Ï   s    R8   (   R   R'   R   R9   R"   R:   R)   R%   R/   R   t   delete_floataR<   R=   RQ   RS   R5   R>   R?   Rc   R8   (    (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyR^   À   s   								 c          G   s   t  j |  Œ  S(   N(   R   Rc   (   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRc   Ô   s    c          G   s   t  j |  Œ  S(   N(   R   t   STLDoubleVecToCArray(   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRe   Ù   s    c          G   s   t  j |  Œ  S(   N(   R   t   STLIntVecToCArray(   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRf   Ý   s    c          G   s   t  j |  Œ  S(   N(   R   t   STLVectorDoublePFree(   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRg   á   s    c          G   s   t  j |  Œ  S(   N(   R   t   declfp(   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRh   å   s    c          G   s   t  j |  Œ  S(   N(   R   t   delfp(   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRi   é   s    c          G   s   t  j |  Œ  S(   N(   R   t   delcdp(   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRj   í   s    c          G   s   t  j |  Œ  S(   N(   R   t   deldp(   R1   (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyRk   ñ   s    (   i   i   i    (    ((   t   sysR    R   R   t   propertyt   _swig_propertyt	   NameErrorR    R!   R#   R)   t   objectR*   R>   R   R+   t   intp_swigregisterR6   R@   t   doublep_swigregisterRE   RG   t   floatp_swigregisterRL   RN   t   inta_swigregisterRU   RW   t   doublea_swigregisterR\   R^   t   floata_swigregisterRc   Re   Rf   Rg   Rh   Ri   Rj   Rk   (    (    (    s8   /opt/xtal/ccp4-6.5-linux32/lib/py2/ccp4mg/point_funcs.pyt   <module>   s€   		
			

	
			
			
			
			
			
															