ó
šßÈ[c        	   @` s´  d  Z  d d l m Z m Z m Z m Z d d l Z d d l m	 Z	 m
 Z
 d d l m Z d d l m Z m Z e ƒ  Z e
 d	 d
 g e j d e d e d d ƒe
 d d g e j d e j d e j d d e d e d d ƒe
 d g d d d e j e j d e j d e d e d d ƒe
 d g d d d e j e j d e j d e d e d d ƒ[	 [
 [ [ d d l m Z e  d k	 r§e  e e ƒ  ƒ 7Z  n  d „  Z d S(    u  
This package defines magnitude zero points.  By default, they are used to
define corresponding magnitudes, but not enabled as regular physical units.
To enable them, do::

    >>> from astropy.units import magnitude_zero_points
    >>> magnitude_zero_points.enable()  # doctest: +SKIP
i    (   t   absolute_importt   divisiont   print_functiont   unicode_literalsNi   (   t   UnitBaset   def_uniti   (   t   si(   R   t	   astrophysu   Bolu   L_bolt	   namespacet   prefixest   docu>   Luminosity corresponding to absolute bolometric magnitude zerou   bolu   f_boli   g      $@u?   Irradiance corresponding to appparent bolometric magnitude zerou   ABgš™™™™™Ù¿gÍÌÌÌÌLH@gü©ñÒMbP?u   AB magnitude zero flux density.u   STgš™™™™5@u   ST magnitude zero flux density.(   t   generate_unit_summaryc          C` s/   d d l  m }  d d l } |  | j t ƒ ƒ S(   u  
    Enable magnitude zero point 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 these
    units only temporarily.
    i   (   t   add_enabled_unitsi    N(   t   coreR   t   inspectt	   getmodulet   enable(   R   R   (    (    sK   lib/python2.7/site-packages/astropy/units/function/magnitude_zero_points.pyR   9   s    
gq=
×£p3Àgâz®Gá À(   t   __doc__t
   __future__R    R   R   R   t   numpyt   _numpyR   R   R   t	   constantsR   t   _sit    R   t   globalst   _nst   L_bol0t   Falset   pit   pct   Wt   mt   Hzt   AAt   utilsR   t   _generate_unit_summaryt   NoneR   (    (    (    sK   lib/python2.7/site-packages/astropy/units/function/magnitude_zero_points.pyt   <module>   s0   "	!/00