Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update prettystr and reduce the number of options when tab-to-completing #13

Merged
merged 10 commits into from
Jul 9, 2024
Merged
Binary file modified src/ari_sxn_common/__pycache__/ari_ophyd.cpython-312.pyc
Binary file not shown.
Binary file modified src/ari_sxn_common/__pycache__/common_ophyd.cpython-312.pyc
Binary file not shown.
8 changes: 7 additions & 1 deletion src/ari_sxn_common/bluesky_test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
from ari_ophyd import M1
from bluesky import RunEngine
from bluesky.callbacks.best_effort import BestEffortCallback
from bluesky.plans import count, scan, grid_scan
from bluesky.plans import *
from bluesky.plan_stubs import mv, mvr
from bluesky.utils import ProgressBarManager
from databroker import Broker
from ophyd.signal import EpicsSignalBase
Expand All @@ -20,6 +21,11 @@

EpicsSignalBase.set_defaults(timeout=10, connection_timeout=10)

# Create some aliases which might help new users
move = mv
rel_move = mvr
relative_move = mvr

# Setup the m1 mirror ophyd object
m1_locations_data = {'measure': {'diag.locations': ('Out', None),
'slits.locations': ('nominal', None)},
Expand Down
Loading