403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/scipy/constants/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/scipy/constants/__pycache__/_constants.cpython-311.pyc
�

d�c#(���dZddlmZddlZddlmZmZddlm	Z
ddlZerddl
mZ	gd�ZejZdejd��zd	zxZZd
ZdZdZd
ZdZdZdZdZdZdZdZdZdZ dZ!dZ"dZ#dZ$dZ%dZ&dZ'dZ(dZ)d Z*d!Z+d"Z,d#Z-d	d$zZ.d	d%zZ/e
d&��xZ0Z1e
d'��Z2e
d(��Z3e
d)��xZ4Z5e4d	ezzZ6e
d*��xZ7Z8e
d+��Z9e
d,��xZ:Z;e
d-��xZ<Z=e
d.��xZ>Z?e
d/��xZ@ZAe
d0��xZBZCe
d1��xZDZEe
d2��ZFe
d3��ZGdZHdZId4ZJd5eJzxZKZLeLe9zd6zxZMZNeMd7zZOeLd8zxZPZQd9eLzZRd:eLzZSd;eLzZTd<eJzZUd7eUzZVd=ZWe
d>��xZXZYe
d?��xZZZ[e
d@��xZ\Z]e
dA��xZ^xZ_Z`edBzZaeadCzxZbZcebdCzxZdZedDZfdCefzZgdEegzZhdFehzZidGehzZjdHehzZkd6Zld7elzZmdIemzZndJenzZoeldKzZpeldLzxZqZrdMZsdNeszZtdOZudZvdPZwdZxdQxZyZzeke0zZ{eyedzZ|e
dR��xZ}Z~dSZe}dTzxZ�Z�eLe9zelelzzZ�dUZ�dVemd	zzZ�dxZ�Z�dWeldIzzxZ�Z�e�dXzxZ�Z�dYe�zxZ�Z�dZZ�e�d[zZ�degzZ�eoegzZ�d\xZ�Z�euegzZ�d]Z�d^Z�e;xZ�Z�d_xZ�Z�d`Z�daZ�eLe�ze�zeHzZ�eLe�ze�zeHzxZ�Z�de�zZ�dbemzeLze9zxZ�Z�dcxZ�Z�eLe9zxZ�Z�e9xZ�Z�dpdk�Z�dqdm�Z�drdo�Z�dS)sa
Collection of physical constants and conversion factors.

Most constants are in SI units, so you can do
print '10 mile per minute is', 10*mile/minute, 'm/s or', 10*mile/(minute*knot), 'knots'

The list is not meant to be comprehensive, but just convenient for everyday use.
�)�annotationsN)�
TYPE_CHECKING�Any�)�value)��Avogadro�	Boltzmann�Btu�Btu_IT�Btu_th�G�Julian_year�N_A�Planck�R�Rydberg�Stefan_Boltzmann�Wien�acre�alpha�angstrom�arcmin�	arcminute�arcsec�	arcsecond�astronomical_unit�atm�
atmosphere�atomic_mass�atto�au�bar�barrel�bbl�blob�c�calorie�
calorie_IT�
calorie_th�carat�centi�convert_temperature�day�deci�degree�degree_Fahrenheit�deka�dyn�dyne�e�eV�
electron_mass�
electron_volt�elementary_charge�	epsilon_0�erg�exa�exbi�femto�fermi�fine_structure�fluid_ounce�fluid_ounce_US�fluid_ounce_imp�foot�g�gallon�	gallon_US�
gallon_imp�gas_constant�gibi�giga�golden�golden_ratio�grain�gram�gravitational_constant�h�hbar�hectare�hecto�
horsepower�hour�hp�inch�k�kgf�kibi�kilo�kilogram_force�kmh�knot�	lambda2nu�lb�lbf�
light_year�liter�litre�long_ton�m_e�m_n�m_p�m_u�mach�mebi�mega�
metric_ton�micro�micron�mil�mile�milli�minute�mmHg�mph�mu_0�nano�
nautical_mile�neutron_mass�	nu2lambda�ounce�oz�parsec�pebi�peta�pi�pico�point�pound�pound_force�proton_mass�psi�pt�	short_ton�sigma�slinch�slug�speed_of_light�speed_of_sound�stone�survey_foot�survey_mile�tebi�tera�ton_TNT�torr�
troy_ounce�
troy_pound�u�week�yard�year�yobi�yocto�yotta�zebi�zepto�zero_Celsius�zetta��g���yCx�DgP����KDg�Ngm��Cg4&�kCg��mBge��Ag��.Ag@�@gY@g$@g�������?g{�G�z�?g����MbP?g���ư>g��&�.>g�-���q=gV瞯�<g�C��]r2<gO�
��;g�����W�:iii@ll l�F�Pzspeed of light in vacuumzvacuum mag. permeabilityzvacuum electric permittivityzPlanck constantz!Newtonian constant of gravitationz standard acceleration of gravityzelementary chargezmolar gas constantzfine-structure constantzAvogadro constantzBoltzmann constantzStefan-Boltzmann constantz)Wien wavelength displacement law constantzRydberg constantg�̔�?iXg�
F%u�?���i�i�i�g-C��6*?z
electron masszproton masszneutron masszatomic mass constant��<gN@��img�v@�i�i��Hg;p�jځ�?i�g�@g�����|�=g6-]jABzstandard atmospheregj�@i�g��@i(�����*g�����r?�gHu@gfffffq@gr�q��?g#�~j�@g:��H�@gH�����z>i&g�h㈵��>�val�
npt.ArrayLike�	old_scale�str�	new_scale�returnrc���|���dvrtj|��tz}n�|���dvrtj|��}n|���dvr&tj|��dz
dzdztz}nC|���dvrtj|��dzdz}nt	d|z���|���dvr|tz
}nt|���dvr|}n[|���dvr|tz
dzdzdz}n1|���dvr	|dzdz}nt	d	|z���|S)
a]
    Convert from a temperature scale to another one among Celsius, Kelvin,
    Fahrenheit, and Rankine scales.

    Parameters
    ----------
    val : array_like
        Value(s) of the temperature(s) to be converted expressed in the
        original scale.
    old_scale : str
        Specifies as a string the original scale from which the temperature
        value(s) will be converted. Supported scales are Celsius ('Celsius',
        'celsius', 'C' or 'c'), Kelvin ('Kelvin', 'kelvin', 'K', 'k'),
        Fahrenheit ('Fahrenheit', 'fahrenheit', 'F' or 'f'), and Rankine
        ('Rankine', 'rankine', 'R', 'r').
    new_scale : str
        Specifies as a string the new scale to which the temperature
        value(s) will be converted. Supported scales are Celsius ('Celsius',
        'celsius', 'C' or 'c'), Kelvin ('Kelvin', 'kelvin', 'K', 'k'),
        Fahrenheit ('Fahrenheit', 'fahrenheit', 'F' or 'f'), and Rankine
        ('Rankine', 'rankine', 'R', 'r').

    Returns
    -------
    res : float or array of floats
        Value(s) of the converted temperature(s) expressed in the new scale.

    Notes
    -----
    .. versionadded:: 0.18.0

    Examples
    --------
    >>> from scipy.constants import convert_temperature
    >>> import numpy as np
    >>> convert_temperature(np.array([-40, 40]), 'Celsius', 'Kelvin')
    array([ 233.15,  313.15])

    )�celsiusr&)�kelvinrX)�
fahrenheit�f� r��	)�rankine�rzV%s scale is unsupported: supported scales are Celsius, Kelvin, Fahrenheit, and Rankinez`'%s' scale is unsupported: supported scales are 'Celsius', 'Kelvin', 'Fahrenheit', and 'Rankine')�lower�_np�
asanyarrayr��NotImplementedError)r�r�r��tempo�ress     �</usr/lib/python3/dist-packages/scipy/constants/_constants.pyr,r,�s���Z�����,�,�,���s�#�#�l�2���	���	�	�o�	-�	-���s�#�#���	���	�	�1�	1�	1����$�$�r�)�Q�.��2�\�A���	���	�	�.�	.�	.���s�#�#�a�'�!�+���!�#,�.7�#8�9�9�	9������,�,�,��l�"���	���	�	�o�	-�	-����	���	�	�1�	1�	1��|�#�q�(�1�,�r�1���	���	�	�.�	.�	.��a�i�!�m���!�#@�BK�#L�M�M�	M��J��lambda_c�:�ttj|��zS)aL
    Convert wavelength to optical frequency

    Parameters
    ----------
    lambda_ : array_like
        Wavelength(s) to be converted.

    Returns
    -------
    nu : float or array of floats
        Equivalent optical frequency.

    Notes
    -----
    Computes ``nu = c / lambda`` where c = 299792458.0, i.e., the
    (vacuum) speed of light in meters/second.

    Examples
    --------
    >>> from scipy.constants import lambda2nu, speed_of_light
    >>> import numpy as np
    >>> lambda2nu(np.array((1, speed_of_light)))
    array([  2.99792458e+08,   1.00000000e+00])

    �r&r�r�)r�s r�r_r_,s��6
�s�~�g�&�&�&�&r��nuc�:�ttj|��zS)aL
    Convert optical frequency to wavelength.

    Parameters
    ----------
    nu : array_like
        Optical frequency to be converted.

    Returns
    -------
    lambda : float or array of floats
        Equivalent wavelength(s).

    Notes
    -----
    Computes ``lambda = c / nu`` where c = 299792458.0, i.e., the
    (vacuum) speed of light in meters/second.

    Examples
    --------
    >>> from scipy.constants import nu2lambda, speed_of_light
    >>> import numpy as np
    >>> nu2lambda(np.array((1, speed_of_light)))
    array([  2.99792458e+08,   1.00000000e+00])

    r�)r�s r�rzrzJs��6
�s�~�b�!�!�!�!r�)r�r�r�r�r�r�r�r)r�r�r�r)r�r�r�r)��__doc__�
__future__r�math�_math�typingrr�_codatar�_cd�numpyr��numpy.typing�npt�__all__r��sqrtrKrLr�r�r;rr�rJrlr[rSr1r.r+rrrnrwr�r=r r�r�rZrkrIr�r~r<r�r�r&r�rvr9rPrrQr
rOrDr4r8rrHrr?rrrXr	r�rrrrNrmrMr`r�r%r�r�r|r{r�rer�r�r�r*rfr6rhr�rgryrir�rr/rrrrrsrUr-r�r�rrWrCr�rqrpr�r�r�r�rxr>rror!rrbr}rrr"r�rtr�rRrrdrcrErFr@rAr$r#rGrBr]rurjr�r^r�r0r5r7r'r)r(r:rr
rr�rVrTr2r3rar�rYr\r,r_rz�r�r��<module>r�s�����#�"�"�"�"�"�����%�%�%�%�%�%�%�%�!�!�!�!�!�!��������������#�#�#��N�X���Z�U�Z��]�]�*�a�/�/���	
����
������
��
��
����
��������������
����
��
��
�������������"�u���"�u���S�3�4�4�4��N�
�s�%�&�&���C�.�/�/�	�
�S�"�
#�
#�#��F��A��F�|�� �S�!D�E�E�E����C�*�+�+����/�0�0�0����3�+�,�,�,��L���6�7�7�7�����(�)�)�)��h���(�)�)�)��I��3�:�;�;�;���
�s�6�7�7��

�#� �
!�
!����
�
���
�E�\���U���	�F�"�"��v��b�y��
�R�Z���U�
�U�
���%�<���5�L�	�
�5�[�
�
�*�_�
����c�/�*�*�*��m��C�
�&�&�&��k��S��(�(�(��l���2�3�3�3��3�a�+�
�c����b�[� ����b�[� ���
��	�F�{���4�i���3�w��
�S�y���s�l����	�D�y���4�x���d�{��
�T�k��
�B�Y���U����[� ���
�
����	
��'�'���
�1�_�
�	�f����3�,�-�-�-��j�	���C�i���t��a�i�4�$�;������t�Q�w��������4��7�]�"���(�3��.��n��I�~���f�
�
��s�"��
�D�j��
�T�k�����~��t�������'�&��]����*�
�
�
��	�"�	"�Z�	/�$�	6���(�(�:�5��<�<��f�

�
�
����*�u�$�q�(�(��Z����d��A�I���k����n�
G�G�G�G�Z'�'�'�'�<"�"�"�"�"�"r�

Youez - 2016 - github.com/yon3zu
LinuXploit