
    IR-e;              
       H   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
            eddgej        ed	d            eg dej        eddddd            eg dej        eddddd            eg dej        eddddd            edd gej        ej        z                      ej                  ed	d!            ed"d#gej        ej        z                      ej                  edd$            eg d%ej        edd&d'd(d            eg d)ej        edd*d+d,d            eg d-ej        edd.d/d0d            ed1d2gej        ej        z  ej                            ej        ej        z            z                      ej                  ed	d3d4d5d            eg d6ej        edd7d8d9d            ed:d;gd;gfd;d;d<ed	=            eg d>d?ej        z  ej        d@z  z  ej        z  ed	dA            eg dBdCdDe
j         z  z  e!z  ej        dEz  z  ej        dFz  z  ej"        dFz  z  ed	dG            edHdIgdIgfdIdIdIdJed	dKgL            edMged	N            edOdPgedN            edQgeR            edSged	N            edTged	N            edUged	N            edVgdWedXdYdZ           [[[e dd[l#m$Z% e  e% e                      z  Z d\ Z&dS )]zr
This package defines the astrophysics-specific units.  They are also
available in the `astropy.units` namespace.
    )si   )UnitBasedef_unitset_enabled_unitsNAUauastronomical_unitTz>astronomical unit: approximately the mean Earth--Sun distance.)	namespaceprefixesdocpcparsecz'parsec: approximately 3.26 light-years.)solRadR_sunRsunzSolar radiusFz	R_{\odot}u   R☉)latexunicode)r   r   r   format)
jupiterRadR_jupRjup	R_jupiterRjupiterzJupiter radiusz	R_{\rm J}u   R♃)r   r   r   r   )earthRadR_earthRearthzEarth radiusz
R_{\oplus}u   R⊕lyr	lightyearz
Light yearlseclightsecondzLight second)solMassM_sunMsunz
Solar massz	M_{\odot}u   M☉)jupiterMassM_jupMjup	M_jupiterMjupiterzJupiter massz	M_{\rm J}u   M♃)	earthMassM_earthMearthz
Earth massz
M_{\oplus}u   M⊕RyrydbergzDRydberg: Energy of a photon whose wavenumber is the Rydberg constantz
R_{\infty}u   R∞)solLumL_sunLsunzSolar luminancez	L_{\odot}u   L☉phphoton)ogipvounit)r   r   r   )JyJanskyjanskygˮ@:   zJansky: spectral flux density)RRayleighrayleighg    _B   zRayleigh: photon fluxctcount)fitsr4   r5   p)r   r   r   exclude_prefixesadu)r   r   DNdnSun)r   chanbinbeamelectronzNumber of electronsze^{-}u   e⁻)r   r   r   )generate_unit_summaryc                     | dk    r(dd l }ddlm} ddlm} |                    d|           |S t          dt          d| d          )	Nlittlehr   )rO   )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 .)warningsastropy.cosmology.unitsrO   astropy.utils.exceptionsrP   warnAttributeError__name__)attrrR   rO   rP   s       7lib/python3.11/site-packages/astropy/units/astrophys.py__getattr__rZ      s    y333333FFFFFF= &		
 	
 	
 
J8JJJJJ
K
KK    )'__doc__astropy.constantsr   _si corer   r   r   numpy_npglobals_nsr	   r   r   r   r   cyrtomsr#   r&   r+   RydheVr0   WHzpir2   srutilsrM   _generate_unit_summaryrZ    r[   rY   <module>rt      s*    ( ' ' ' ' '       7 7 7 7 7 7 7 7 7 7  2$       gii
 	
D\'()FH    		8F1    	I!j99    	<<<I!n==    	%%%K"v66    	
KURU]rt    	]URT\bd    	   I!j99    	===I!n==    	&&&K"v66   " 		9Wsu_suxx---11"%88N"v66    	I!j99    	
Hz"11	    		BDL247RU"'    	!!!	QZBr)BD"H4ruby@    	
G_wi W@@U    	
G   
 		4L    	
G    	H   
 	
G   
 	H   
 	L&11	      GFFFFF%%ggii000GL L L L Lr[   