-
-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathconstants.py
More file actions
38 lines (31 loc) · 779 Bytes
/
constants.py
File metadata and controls
38 lines (31 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# conversion constants to atomic units
hbar = 1.0
m_e = 1.0
a_0 = 1.0
e = 1.0
hartree = 1.0
Eh = hartree
nm = 1.8897261246257702e1
Å = 1.8897261246257702
eV = 0.03674932217565499
ps = 4.134137333518212e4
picoseconds = 4.134137333518212e4
fs = 4.134137333518212 * 10.
femtoseconds = 4.134137333518212 * 10.
V = 0.03674932217565499
V_m = 1.9446903811488876e-12
T = 4.254382157326325e-06
m = 1.8897261246257702e10
C = 6.241509074460763e+18
s = 4.134137333518173e+16
Hz = 2.4188843265857225e-17
kg = 1.0977691057577634e30
J = 2.293712278396328e+17
A = 150.974884744557
# some physical constants, expressed in atomic units
k = 0.5 # hbar**2 / (2*m_e)
m_p = 1836.1526734400013
𝜇0 = 0.0006691762566207213
ε0 = 0.0795774715459477
c = 137.035999083818
α = 0.0072973525693