Skip to content

Commit 4b83588

Browse files
committed
changed eps0 def.
1 parent 5252194 commit 4b83588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beamtools/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
hbar = 1.05457180013E-34 #Reduced Planck constant, J*s
1414
e = 1.602176620898E-19 #Elementary charge, C
1515
mu0 = pi*4E-7 #magnetic constant (permeability), N*A-2
16-
eps0 = 1/(mu0*c**2) #electric constant (permitivity), F*m-1
16+
eps0 = 1/(pi*4E-7*c**2) #electric constant (permitivity), F*m-1
1717
muB = 9.27400999457E-24 #Bohr magneton, J*T-1
1818

1919
me = 9.1093835611E-31 #electron mass, kg

0 commit comments

Comments
 (0)