This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Bluesky: Align and Acquire
Qingteng Zhang edited this page Oct 7, 2020
·
1 revision
cd ~/.ipython-bluesky/user/${Name_of_Cycle}/${Name_of_User_Data_Folder}/
bluesky8IDI
pre_align()
This command moves the pin diode into the beam. Needs to be done only once.
The diode is in front of the detector so make sure to run post_align()
before using the detector.
mov samplestage.x 0
RE(align_x())
RE(align_x(pos_start=-1, pos_stop=1, num_pts=61))
If the graph is not closed, the next scan will be plotted on top of the first one if the same motor is used. If the graph is closed, the next scan will automatically open a new graph.
Use align_x??
to show the source code including the full path and default values
mov samplestage.z 0
RE(align_z())
post_align()
(Only once)
%run -m bp_${Name_of_User}
(Run it every time bp_${Name_of_User}.py
is changed)