B
    q\                 @   s0  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 [[ddulm Z! e dvk	r$e e!e 7 Z dwdx Z"dvS )ya  
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ftZfoot   zInternational footZydZyard   zInternational yardZmiZmilei  zInternational mileZmilZthougMbP?zThousandth of an inchnmiZnauticalmileZNMi<  zNautical mileZfurZfurlongi  ZFurlongZ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lbmZpound   z%International avoirdupois pound: massstZstone   z%International avoirdupois stone: massZtoni  z#International avoirdupois ton: masssluggds<G@@z
slug: massZknZ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 CalorieZpsizPound per square inch: pressureZhpZ
horsepowergjCU?zElectrical horsepowerZdeg_FZ
FahrenheitzDegrees Fahrenheitz{}^{\circ}Fu   °F)ZlatexZunicode)r   r   format)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    inspectZ	getmoduleenable)r    r#    r%   5lib/python3.7/site-packages/astropy/units/imperial.pyr$      s    
r$   )#__doc__r"   r   r    r   globalsZ_nscmr   r   mZliterr   r   r   r   r   r   gr   r   r   hr   sr   ZkJJr   WZutilsr   Z_generate_unit_summaryr$   r%   r%   r%   r&   <module>   s   
