Write a plan
An example is included in the file /home/beamline_user/bluesky/beamlinetools/beamlinetools/beamline_config/user_plans.py
# import everything from the beamline
from .beamline import *
# get some plans
from bluesky.plans import scan
import bluesky.plan_stubs as bps
# define a special one
def overnight():
"""
Run is like this:
RE(overnight())
"""
for i in range(10):
yield from scan([noisy_det],motor,-1,1,11)
yield from bps.mov(motor, 2)
yield from bps.sleep(1)