ó
0™xTc           @   s-   d  d l  m Z d  d l Td d d „ Z d S(   iÿÿÿÿ(   t   division(   t   *c         C   sj   d } | d k	 r | } n  d } | d k	 r6 | } n  t |  | | ƒ } |  j | _ | | _ | | _ | S(   s^    Creates a copy of the observation object and with new twin fractions
  and twin components
  (    N(    (   t   Nonet   observationst   fo_sqt   ref_twin_fractionst   ref_twin_components(   t   obst   twin_fractionst   twin_componentst   twft   twct   result(    (    sN   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/cctbx/xray/observations/__init__.pyt   customized_copy   s    				N(   t
   __future__R    t   cctbx_xray_observations_extR   R   (    (    (    sN   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/py2/cctbx/xray/observations/__init__.pyt   <module>   s   
