
[c        
   @` s  d  Z  d d l m Z m Z m Z m Z d d l m Z m Z d d l	 m
 Z
 e   Z e d g d e
 j d e d	 d
 e d d g d e d e d	 d e d d g d e d e d	 d e d d g d e d e d	 d e d d g d e d e d	 d e d d d g d e
 j d e d	 d e d  d! g d" e d e d	 d# e d$ d% g d& e d' d e d	 d( e d) g e
 j d* d e d	 d+ e d, g e d- d e d	 d. e d/ g e d' d e d	 d0 e d1 g e d' d e d	 d2 e d3 d4 d5 g e d6 d e d	 d7 e d8 d9 g e d' d e d	 d: e d; d< g e d d e d	 d= e d> d? g d@ e
 j d e d	 dA e dB dC dD g dE e d e d	 dF e dG dH g dI e d e d	 dJ e dK g dL e d e d	 dM e dN g dO e d e d	 dP e dQ dR dS dT g e e
 j d e d	 dU e dV e e e
 j dW d e d	 dX e dY dZ g d[ e d e d	 d\ e d] d^ g d_ e
 j  d e d	 d` e da db g dc e
 j! d e d	 dd e de df dg dh di g d[ e" d e d	 dj e dk e e dW d e d	 dl e dm dn g e
 j# do d e d	 dp e dq dr g d e d	 ds dt i du dv 6dw dx 6[ [ d dy l$ m% Z& e  d{ k	 re  e& e    7Z  n  dz   Z( d{ S(|   u  
This package defines colloquially used Imperial units.  They are
available in the `astropy.units.imperial` namespace, but not in the
top-level `astropy.units` namespace, e.g.::

    >>> import astropy.units as u
    >>> mph = u.imperial.mile / u.hour
    >>> mph
    Unit("mi / h")

To include them in `~astropy.units.UnitBase.compose` and the results of
`~astropy.units.UnitBase.find_equivalent_units`, do::

    >>> import astropy.units as u
    >>> u.imperial.enable()  # doctest: +SKIP
i    (   t   absolute_importt   divisiont   print_functiont   unicode_literalsi   (   t   UnitBaset   def_unit(   t   siu   inchgRQ@t	   namespacet   docu   International inchu   ftu   footi   u   International footu   ydu   yardi   u   International yardu   miu   milei  u   International mileu   milu   thougMbP?u   Thousandth of an inchu   nmiu   nauticalmileu   NMi<  u   Nautical mileu   furu   furlongi  u   Furlongu   acu   acrei(  i   u   International acreu   gallong1?u   U.S. liquid gallonu   quarti   u   U.S. liquid quartu   pintu   U.S. liquid pintu   cupu   U.S. customary cupu   fozu   fluid_ozu   fluid_ouncei   u   U.S. fluid ounceu   tbspu
   tablespoonu   U.S. customary tablespoonu   tspu   teaspoonu   U.S. customary teaspoonu   ozu   ouncegXzY<@u%   International avoirdupois ounce: massu   lbu   lbmu   poundi   u%   International avoirdupois pound: massu   stu   stonei   u%   International avoirdupois stone: massu   toni  u#   International avoirdupois ton: massu   sluggds<G@@u
   slug: massu   knu   ktu   knotu   NMPHu&   nautical unit of speed: 1 nmi per houru   lbfiu   Pound: forceu   kipu	   kilopoundi  u   Kilopound: forceu   BTUu   btugvA3>?u   British thermal unitu   calu   calorieg#~j@u4   Thermochemical calorie: pre-SI metric unit of energyu   kcalu   Calu   Calorieu   kilocalu   kilocalorieu)   Calorie: colloquial definition of Calorieu   psiu   Pound per square inch: pressureu   hpu
   horsepowergjCU?u   Electrical horsepoweru   deg_Fu
   Fahrenheitu   Degrees Fahrenheitt   formatu   {}^{\circ}Fu   latexu   °Fu   unicode(   t   generate_unit_summaryc          C` s/   d d l  m }  d d l } |  | j t   S(   u   
    Enable Imperial units so they appear in results of
    `~astropy.units.UnitBase.find_equivalent_units` and
    `~astropy.units.UnitBase.compose`.

    This may be used with the ``with`` statement to enable Imperial
    units only temporarily.
    i   (   t   add_enabled_unitsi    N(   t   coreR   t   inspectt	   getmodulet   enable(   R   R   (    (    s5   lib/python2.7/site-packages/astropy/units/imperial.pyR      s    
N()   t   __doc__t
   __future__R    R   R   R   R   R   R   t    R   t   globalst   _nst   cmt   incht   ftt   mt   litert   gallont   quartt   pintt   cupt   fozt   tbspt   gt   ozt   lbt   nmit   ht   slugt   st   lbft   kJt   Jt   calt   Wt   utilsR
   t   _generate_unit_summaryt   NoneR   (    (    (    s5   lib/python2.7/site-packages/astropy/units/imperial.pyt   <module>   s   "	" %!