21 lines
464 B
Python
21 lines
464 B
Python
#%run -i ./script.py
|
|
|
|
import time
|
|
|
|
## go to Ne K
|
|
#sasespecs.ds_det.cryst_y.set_target_value(-84.178).wait()
|
|
#sasespecs.ds_det.cam_y.set_target_value(-125.327).wait()
|
|
|
|
# go to out of beam position
|
|
#sasespecs.ds_det.cryst_y.set_target_value(-84.178).wait()
|
|
|
|
# test repeated motion of camera + shield
|
|
sasespecs.ds_det.cam_y.set_target_value(-1).wait()
|
|
time.sleep(60)
|
|
print('top')
|
|
|
|
sasespecs.ds_det.cam_y.set_target_value(-298).wait()
|
|
time.sleep(60)
|
|
print('bottom')
|
|
|