L i& ddlmZmZmZmZmZddlmZmZm Z ddl m cm Z ddlm Z dZdZdZdZd Zd Zd Zd Zd Zy))findvaluecspeed_of_light precision) assert_equalassert_assert_almost_equalN) constantsctdd}t|dgtdd}t|gtdd}t|tgdy)Nz weak mixingFdispzweak mixing angle qwertyuiopz natural unit) znatural unit of velocityznatural unit of actionznatural unit of action in eV sznatural unit of massznatural unit of energyznatural unit of energy in MeVznatural unit of momentumz!natural unit of momentum in MeV/cznatural unit of lengthznatural unit of time)rrsorted)keyss g/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/scipy/constants/tests/test_codata.py test_findrsT  E *D+,-  5 )Dr U +Dv 8 9 :cld}tt|ttt|ty)Nspeed of light in vacuum)rrrr)c_ss rtest_basic_table_parsers# $CsQs^,rc tdjttjdtj ddy)Nz{} {}rz299792458 m s^-1)rformatint_cdrunitrrtest_basic_lookupr!s7CII.H$I J #)C DF#%rcFtttddkDy)NFr i,)r lenrrrr test_find_allr"'s C% !C '(rc8ttddddy)Nz Wien freqFr rz(Wien frequency displacement law constant)rrrrrtest_find_singler$+sk.q1;=rc@ttdtdy)Nzmagn. flux quantumzmag. flux quantum)r rrrrtest_2002_vs_2006r&0s23124rctdtjjD}tj|}|jD]*\}}t |t |t|dk(r*Jy)Nc30K|]\}}||dfyw)rNr).0kvs r z$test_exact_values..7sLtq!!QqTLsr)dictr_physical_constants_2018items exact2018rrr)exactreplacekeyvals rtest_exact_valuesr55sh Ls'C'C'I'I'KL LEmmE"GMMO#SS%*%~"""#rctj}tjdd}tjdd}||cxk(r|k(sJJy)Nzelectric constantrzvacuum electric permittivity)r epsilon_0physical_constants)abrs r test_gh11341r;>sP A$$%89!q A BC #::r)scipy.constantsrrrrr numpy.testingrr r scipy.constants._codatar _codatarscipyrrrr"r$r&r5r;r?rrrrEsGEEDD%%:(- % )= 4 #r