-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStanford_smaha.py
175 lines (140 loc) · 4.33 KB
/
Stanford_smaha.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
def LiCuV_overnight():
ext_vg = 11
total_time = 600
cyc = 6
en = 930.2
#en = 929.3
sec_x_pt = 2
yield from pol_V()
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'LCV-LV')
def hbs_tth150():
ext_vg = 11
total_time = 600
cyc = 6
en = 930.3
#en = 929.3
sec_x_pt = 4
yield from pol_V()
#yield from pol_H(-6.5)
#yield from sleep(15)
#yield from beamline_align_v2()
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'HBS h0l - LV')
#yield from pol_V()
#yield from sleep(15)
#yield from beamline_align_v2()
#yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'HBS h0l - LV')
def barlowite_tth150():
ext_vg = 11
total_time = 600
#cyc = 6
cyc = 4
en = 930.35
sec_x_pt = 4
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LV')
#yield from pol_H(-6.5)
#yield from sleep(15)
#yield from beamline_align_v2()
#yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LH')
#yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LH')
def Zn_barlowite_tth150():
ext_vg = 11
total_time = 900
#cyc = 6
cyc = 2
en = 930.35
sec_x_pt = 5
#yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LH')
#yield from pol_V()
#yield from sleep(15)
#yield from beamline_align_v2()
#yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LH')
#yield from pol_H(-6.5)
#yield from sleep(15)
#yield from beamline_align_v2()
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LV')
#yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LH')
def test_macro():
ext_vg = 11
total_time = 600
#cyc = 6
cyc = 6
en = 930.3
sec_x_pt = 4
yield from pol_V()
yield from sleep(15)
yield from beamline_align_v2()
def barlowite_dinner():
ext_vg = 11
total_time = 600
#cyc = 6
cyc = 6
en = 930.3
sec_x_pt = 4
yield from pol_V()
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LV')
yield from pol_H(-6.5)
yield from sleep(15)
yield from beamline_align_v2()
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LH')
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LH')
def barlowite_night():
ext_vg = 11
total_time = 600
#cyc = 6
cyc = 6
en = 930.3
sec_x_pt = 4
#yield from pol_V()
#yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LV')
#yield from pol_H(-6.5)
#yield from sleep(15)
#yield from beamline_align_v2()
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'ZnBarl - LH')
def hbs_hhl_overnight():
ext_vg = 11
total_time = 600
cyc = 6
en = 930.2
sec_x_pt = 4
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'HBS hhl - LV')
#yield from pol_V()
#yield from beamline_align_v2()
#yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'HBS hhl - LV')
#yield from pol_H(-6.5)
def hbs_h0l_overnight_1():
ext_vg = 11
total_time = 600
cyc = 8
en = 930.3
sec_x_pt = 4
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'HBS h0l - LH')
#yield from pol_V()
#yield from beamline_align_v2()
#yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'HBS h0l - LV')
#yield from pol_H(-6.5)
def hbs_h0l_overnight_2():
ext_vg = 11
total_time = 600
cyc = 6
en = 930.3
sec_x_pt = 4
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'HBS h0l - LV')
yield from pol_H(-6.5)
#yield from beamline_align_v2()
#yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'HBS h0l - LH')
def hbs_h0l():
ext_vg = 11
total_time = 600
cyc = 5
en = 930.6
sec_x_pt = 4
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'HBS h0l - LH')
yield from pol_V()
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'HBS h0l - LV')
def barlowite():
ext_vg = 11
total_time = 300
cyc = 9
en = 931.4
sec_x_pt = 2
yield from rixs_one_energy_1(sec_x_pt,total_time,cyc,en,ext_vg, 'test')