-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure_python_interpreter.txt
236 lines (180 loc) · 4.74 KB
/
configure_python_interpreter.txt
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
['ATAOS', 'ATDome', 'ATDomeTrajectory', 'ATHexapod', 'ATCS', 'ATPneumatics', 'ATPtg']
['ATMonochromator', 'FiberSpectrograph:3']
['CCArchiver', 'CCCamera', 'CCHeaderService']
['DIMM:1', 'DIMM:2,]
['DSM:1', 'DSM:2']
['ATArchiver', 'ATCamera', 'ATHeaderService', 'ATSpectrograph']
['MTMount', 'MTPtg', 'MTDome', 'MTDomeTrajectory', 'MTAOS', 'MTHexapod:1', 'MTHexapod:2', 'MTRotator', 'MTM1M3', 'MTM2']
['ScriptQueue:1', 'ScriptQueue:2', 'ScriptQueue:3', 'Watcher:1']
['Scheduler:1', 'Scheduler:2', 'Scheduler:3', 'OCPS:1', 'OCPS:2']
for csc in cscs:
print(csc)
if ":" in csc: index = csc.split(":")[1]
efd.get_recent_samples(csc.split(":")[0], "logevent_summaryState", "*", 4, index)
=====BTS=====
from QueryEfd import QueryEfd
efd = QueryEfd("9.0.0", "22.1.0", "6.10.4p2", "base_efd")
from utils import dataframe
from lsst_efd_client import EfdClient
efd_client = EfdClient("base_efd")
import asyncio
#loop = asyncio.get_event_loop()
=====TTS=====
from QueryEfd import QueryEfd
efd = QueryEfd("9.0.0", "22.1.0", "6.10.4p2", "tucson_teststand_efd")
from utils import dataframe
from lsst_efd_client import EfdClient
efd_client = EfdClient("tucson_teststand_efd")
import asyncio
#loop = asyncio.get_event_loop()
====Summit====
from QueryEfd import QueryEfd
efd = QueryEfd("9.0.0", "22.1.0", "6.10.4p2", "summit_efd")
from utils import dataframe
from lsst_efd_client import EfdClient
efd_client = EfdClient("summit_efd")
import asyncio
#loop = asyncio.get_event_loop()
loop.run_until_complete(efd_client.get_topics())
efd.get_recent_samples("Watcher", "logevent_summaryState", "*", 3, None)
loop = asyncio.get_event_loop()
loop.run_until_complete(efd_client.select_top_n("lsst.sal.CCCamera.logevent_summaryState", "*", 3, None))
======= on the fly script configurations =======
====AuxTel Housekeeping====
component: "ATDome"
cmd: "homeAzimuth"
component: "ATPtg"
cmd: azElTarget
parameters:
targetName: Park position
azDegs: 0
elDegs: 80
rotPA: 0
component: "ATDome"
cmd: moveAzimuth
parameters:
azimuth: 285
component: "ATPtg"
cmd: stopTracking
component: "ATMCS"
cmd: "setInstrumentPort"
parameters:
port: 2
====END====
track_target:
target_name: HD164461
rot_type: PhysicalSky
filter: SDSSr
grating: empty_1
exposure_time: 5.0
reason: IntegrationTesting
program: IntegrationTesting
component: ATCamera
cmd: play
parameters:
playlist: bias_dark_flat
repeat: False
component: ATAOS
cmd: enableCorrection
parameters:
m1: true
hexapod: true
atspectrograph: true
component: ATAOS
cmd: disableCorrection
parameters:
disableAll: true
component: ATAOS
cmd: resetOffset
parameters:
axis: all
component: ATAOS
cmd: enableCorrection
parameters:
enableAll: true
data:
- [ATMCS, DISABLED]
- [ATPneumatics, DISABLED]
data:
- [ATMCS, DISABLED]
- [ATDome, DISABLED]
- [ATDomeTrajectory, DISABLED]
- [ATMCS, DISABLED]
- [ATPneumatics, DISABLED]
- [ATAOS, DISABLED]
- [ATHexapod, DISABLED]
- [ATPtg, DISABLED]
data:
- [ATOODS, DISABLED]
- [ATCamera, DISABLED]
- [ATHeaderService, DISABLED]
- [ATSpectrograph, DISABLED]
data:
- [LaserTracker:1, DISABLED]
- [MTMount, DISABLED]
- [MTRotator, DISABLED]
- [MTHexapod:1, DISABLED]
- [MTHexapod:2, DISABLED]
- [MTDome, DISABLED]
- [MTDomeTrajectory, DISABLED]
- [MTM1M3, DISABLED]
- [MTPtg, DISABLED]
- [MTAOS, DISABLED]
- [MTM2, DISABLED]
data:
- [CCCamera, DISABLED]
- [CCHeaderService, DISABLED]
- [CCOODS, DISABLED]
- [GenericCamera:1, DISABLED]
- [GCHeaderService:1, DISABLED]
data:
- [DIMM:1, Disabled]
- [Scheduler:1, Disabled]
- [Scheduler:2, Disabled]
- [Scheduler:3, Disabled]
- [OCPS:1, Disabled]
- [OCPS:2, Disabled]
- [Watcher, Disabled]
data:
- [MTAirCompressor:1, Disabled]
- [MTAirCompressor:2, Disabled]
- [DSM:1, Disabled]
- [DSM:2, Disabled]
data:
- [ScriptQueue:1, Disabled]
- [ScriptQueue:2, Disabled]
- [ScriptQueue:3, Disabled]
data:
- [ATMCS, STANDBY]
data:
- [ATDome, STANDBY]
- [ATDomeTrajectory, STANDBY]
- [ATMCS, STANDBY]
- [ATPneumatics, STANDBY]
- [ATAOS, STANDBY]
- [ATHexapod, STANDBY]
- [ATPtg, STANDBY]
data:
- [ATOODS, STANDBY]
- [ATCamera, STANDBY]
- [ATHeaderService, STANDBY]
- [ATSpectrograph, STANDBY]
data:
- [LaserTracker:1, STANDBY]
- [MTMount, STANDBY]
- [MTRotator, STANDBY]
- [MTHexapod:1, STANDBY]
- [MTHexapod:2, STANDBY]
- [MTDome, STANDBY]
- [MTDomeTrajectory, STANDBY]
- [MTM1M3, STANDBY]
- [MTM2, STANDBY]
- [MTPtg, STANDBY]
- [MTAOS, STANDBY]
data:
- [CCCamera, STANDBY]
- [CCHeaderService, STANDBY]
- [CCOODS, STANDBY]
data:
- [GenericCamera:1, STANDBY]
- [GCHeaderService:1, STANDBY]