U
    e»{j·	  ã                   @   sL  d Z ddlZddlmZ ddlmZmZmZ ddl	m
Z
mZmZ eƒ Zeddgejed	d
d� eddgejdej dej d   ed	dd� eddgdej ejd  ej ej ed	dd� eddgdej ejd  ej ej ed	dd� eddgedgdgdfgd d� d!d"„ Z[[[[[dd#lmZ e dk	�rHe eeƒ ƒ7 Z dS )$zÞ
This module defines magnitude zero points and related photometric quantities.

The corresponding magnitudes are given in the description of each unit
(the actual definitions are in `~astropy.units.function.logarithmic`).
é    N)Úsié   )Ú	astrophysÚcgsr   )ÚUnitÚUnitBaseÚdef_unitZBolZL_bolFzULuminosity corresponding to absolute bolometric magnitude zero (magnitude ``M_bol``).)Ú	namespaceÚprefixesÚdocZbolZf_bolé   g      $@é   zVIrradiance corresponding to appparent bolometric magnitude zero (magnitude ``m_bol``).ZABZABfluxg™Í1®nå;éþÿÿÿz5AB magnitude zero flux density (magnitude ``ABmag``).ZSTZSTfluxgž|~½+0/>z5ST magnitude zero flux density (magnitude ``STmag``).ZmgyÚmaggyÚnZnanog•Ö&è.>z¤Maggies - a linear flux unit that is the flux for a mag=0 object.To tie this onto a specific calibrated unit system, the zero_point_flux equivalency should be used.c                 C   s   t | ƒ}t|fgS )a  
    An equivalency for converting linear flux units ("maggys") defined relative
    to a standard source into a standardized system.

    Parameters
    ----------
    flux0 : `~astropy.units.Quantity`
        The flux of a magnitude-0 object in the "maggy" system.
    )r   r   )Zflux0Z
flux_unit0© r   úX/var/www/html/bwave/python/venv/lib/python3.8/site-packages/astropy/units/photometric.pyÚzero_point_fluxB   s    
r   )Úgenerate_unit_summary)Ú__doc__ÚnumpyZ_numpyZastropy.constantsr   Z_siÚ r   r   Úcorer   r   r   ÚglobalsZ_nsZL_bol0ÚpiZpcZergÚcmÚsZHzZAAr   Úutilsr   Z_generate_unit_summaryr   r   r   r   Ú<module>   s\   ú
ú
ûûû
