U
    e»{j'  ã                	   @   sh  d Z ddlmZ ddlmZ ddlmZmZmZ eegƒ ddl	Z
eƒ Zeddgdgfejed	d
d� eddgejed	dd� edddgejedddddœd� edddddgejedddddœd � ed!d"d#gejedd$d%d&dœd � ed'd(gejej  ej¡ed	d)d� ed*d+gejej  ej¡edd,d� ed-d.d/gejedd0d1d2dœd � ed3d4d5d6d7gejedd8d9d:dœd � ed;d<d=gejedd>d?d@dœd � edAdBgejej ej ejej ¡  ej¡ed	dCdDdEdœd � edFdGdHgejeddIdJdKdœd � edLdMgdMgfdMdMdNœed	dO� edPdQdRgdSej ejdT  ej ed	dUd� edVdWdXgdYdZe
j   e! ejd[  ejd\  ej"d\  ed	d]d� ed^d_gd_gfd_d_d_d`œed	dagdb� edcged	dd� ededfgeddd� edggedh� ediged	dd� edjged	dd� edkged	dd� edlgdmedndodœdp� [[[ddql#m$Z% e dk	�r\e e%eƒ ƒ7 Z drds„ Z&dS )tzr
This package defines the astrophysics-specific units.  They are also
available in the `astropy.units` namespace.
é    )Úsié   )ÚUnitBaseÚdef_unitÚset_enabled_unitsNZAUÚauZastronomical_unitTz>astronomical unit: approximately the mean Earth--Sun distance.)Ú	namespaceÚprefixesÚdocÚpcZparsecz'parsec: approximately 3.26 light-years.ZsolRadÚR_sunZRsunzSolar radiusFz	R_{\odot}u   Râ˜‰)ÚlatexÚunicode)r   r
   r	   ÚformatZ
jupiterRadÚR_jupZRjupZ	R_jupiterZRjupiterzJupiter radiusz	R_{\rm J}u   Râ™ƒ)r   r	   r
   r   ZearthRadÚR_earthZRearthzEarth radiusz
R_{\oplus}u   RâŠ•ZlyrZ	lightyearz
Light yearZlsecZlightsecondzLight secondZsolMassÚM_sunZMsunz
Solar massz	M_{\odot}u   Mâ˜‰ZjupiterMassÚM_jupZMjupZ	M_jupiterZMjupiterzJupiter massz	M_{\rm J}u   Mâ™ƒZ	earthMassÚM_earthZMearthz
Earth massz
M_{\oplus}u   MâŠ•ZRyZrydbergzDRydberg: Energy of a photon whose wavenumber is the Rydberg constantz
R_{\infty}u   RâˆžZsolLumÚL_sunZLsunzSolar luminancez	L_{\odot}u   Lâ˜‰ÚphZphoton)ÚogipÚvounit)r   r   r	   ZJyZJanskyZjanskygË®Ä@Âˆ:é   zJansky: spectral flux densityÚRZRayleighZrayleighg    _ Bé   éþÿÿÿéÿÿÿÿzRayleigh: photon fluxÚctÚcount)Zfitsr   r   Úp)r   r   r	   Zexclude_prefixesZadu)r   r	   ZDNÚdnÚSun)r   ZchanÚbinZbeamZelectronzNumber of electronsze^{-}u   eâ�»)r
   r   r   )Úgenerate_unit_summaryc                 C   sR   | dkr8dd l }ddlm} ddlm} | d|¡ |S tdt›d| ›d�ƒ‚d S )	NÚlittlehr   )r%   )ÚAstropyDeprecationWarningz¦`littleh` is deprecated from module `astropy.units.astrophys` since astropy 5.0 and may be removed in a future version. Use `astropy.cosmology.units.littleh` instead.zmodule z has no attribute Ú.)ÚwarningsZastropy.cosmology.unitsr%   Zastropy.utils.exceptionsr&   ÚwarnÚAttributeErrorÚ__name__)Úattrr(   r%   r&   © r-   úV/var/www/html/bwave/python/venv/lib/python3.8/site-packages/astropy/units/astrophys.pyÚ__getattr__ð   s    ür/   )'Ú__doc__Zastropy.constantsr   Z_siÚ Úcorer   r   r   ÚnumpyZ_numpyÚglobalsZ_nsr   r   r   r   r   ÚcÚyrÚtoÚmÚsr   r   r   ZRydÚhZeVr   ÚWZHzÚpir   ÚsrÚutilsr$   Z_generate_unit_summaryr/   r-   r-   r-   r.   Ú<module>   sN  
ûûúù	ù	ûûúù	ù&úúüû.û
ûýýþýýýü

