-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparameter_d1.py
executable file
·51 lines (44 loc) · 1.2 KB
/
parameter_d1.py
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
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/python2
from __future__ import division
import sys
import numpy as np
import string
from atom import Atom
from math import pow
from parameter_common import *
# D1 line Energy level diagram
# _ F=4 9 levels -
# _< _B } group1
# | _C F=3 7 levels -
# |
# |A
# |
# | _ F=4 9 levels group 2
# _< _D
# _E F=3 7 levels group 3
# total 32 levels
twopi = 2*np.pi
#following freq are in rad
A=335.116048807e12*twopi
B=510.860e6*twopi
C=656.820e6*twopi
D=4.021776399375e9*twopi
E=5.170855370625e9*twopi
if __name__ == '__main__':
filename = sys.argv[1]
arg_dict = {
'l1f':(4,3),#p and f = 4 and 3
'l0f':(4,3),#s and f = 4 and 3
'B':0.00,#magnetic field
'd1':1,#d1
'gamma':0.0,#little gamma
'egpair':(((1,3),(0,4)),((1,3),(0,3)),((1,4),(0,4)),((1,4),(0,3))),
'omega_list':(E+A+B,E+A-C,E+D,0),
'parameter':{#'nu': [3.35120562842e14-9192411945.14,3.35120562842e14-220526.367456],
'nup': [((1,4,0),(0,4,-1)),((1,4,0),(0,3,1))],
'e_amp': [(2,(1,)), (2,(1,))],
},
'filename':filename
}
para = Parameter(**arg_dict)
para.write()