B
    dG                 @   sB  d Z ddlmZmZ ddlmZ e Zedgdej edd edd	gd
e	 edd eddgde
 edd eddgde
 edd eddgde	 edd edddgdej edd eddgde
 ed d ed!d"gd#e
d$  ed%d ed&gejd' ed(d ed)ged* ed+d ed,ged$ ed-d ed.ged$ ed/d ed0d1d2ged3 ed4d ed5d6ged$ ed7d ed8d9ged ed:d ed;d<gd=ej ed>d ed?d@dAgdBe edCd edDdEgdFe edGd edHgdIe edJd edKgdLe edMd edNdOdPdQgeej edRd edSee
 ejdT  edUd edVdWgdXe edYd edZd[gd\ej ed]d ed^d_gd`ej edad edbdcdddedfgdXe edgd edhee	dT  edid edjdkgejdl edmd edndogedpdqdrdsdt edudvgedwd [[ddxlm Z! e dyk	r6e e!e 7 Z dzd{ Z"dyS )|a  
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
   )UnitBasedef_unit)siinchgRQ@zInternational inch)	namespacedocftfoot   zInternational footZydZyard   zInternational yardmiZmilei  zInternational milemilZthougMbP?zThousandth of an inchnmiZnauticalmileZNMi<  zNautical mileZfurZfurlongi  ZFurlongacZacrei(     zInternational acregallong1?zU.S. liquid gallonquart   zU.S. liquid quartpintzU.S. liquid pintcupzU.S. customary cupfozZfluid_ozZfluid_ounce   zU.S. fluid ouncetbspZ
tablespoonzU.S. customary tablespoonZtspZteaspoonzU.S. customary teaspoonozZouncegXzY<@z%International avoirdupois ounce: masslbZlbmpound   z%International avoirdupois pound: massstZstone   z%International avoirdupois stone: massZtoni  z#International avoirdupois ton: masssluggds<G@@z
slug: massknktZknotZNMPHz&nautical unit of speed: 1 nmi per hourlbfzPound: forceZkipZ	kilopoundi  zKilopound: forceZBTUZbtugvA3>?zBritish thermal unitcalZcalorieg#~j@z4Thermochemical calorie: pre-SI metric unit of energyZkcalZCalZCalorieZkilocalZkilocaloriez)Calorie: colloquial definition of CaloriepsizPound per square inch: pressurehpZ
horsepowergjCU?zElectrical horsepowerZdeg_FZ
FahrenheitzDegrees Fahrenheitz{}^{\circ}Fu   °F)latexunicode)r   r   formatZdeg_RZRankinez:Rankine scale: absolute scale of thermodynamic temperature)generate_unit_summaryNc              C   s"   ddl m}  ddl}| |tS )z
    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.
    r   )add_enabled_units    N)corer+   inspect	getmoduleenable)r+   r.    r1   c/work/yifan.wang/ringdown/master-ringdown-env/lib/python3.7/site-packages/astropy/units/imperial.pyr0      s    
r0   )#__doc__r-   r   r    r   globalsZ_nscmr   r   mZliterr   r   r   r   r   r   gr   r   r   hr   sr"   ZkJJr$   Wutilsr*   Z_generate_unit_summaryr0   r1   r1   r1   r2   <module>   s   
