You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EpicsMotor class has a notable inconsistency from other positioners. The names for readback and setpoint components differ from all other positioners.
I'm sure the user_ prefix used in EpicsMotor is inherited from the EPICS motor record which has raw, dial, and user coordinates. But NO bluesky users (maybe there is a rare exception) use motors with dial coordinates.
Not only is this confusing for newer Bluesky users, this leads to special-case programming when handling positioners v. motors.
Is there a way to resolve this inconsistency that remains backwards-compatible? Adding a synonym?
# position readback=user_readback=Cpt(EpicsSignalRO, ".RBV", kind="hinted", auto_monitor=True)
setpoint=user_setpoint=Cpt(EpicsSignal, ".VAL", limits=True, auto_monitor=True)
The text was updated successfully, but these errors were encountered:
The
EpicsMotor
class has a notable inconsistency from other positioners. The names for readback and setpoint components differ from all other positioners.ophyd/ophyd/epics_motor.py
Lines 42 to 44 in 1e5f037
ophyd/ophyd/pv_positioner.py
Line 587 in 1e5f037
ophyd/ophyd/pseudopos.py
Lines 51 to 52 in 1e5f037
ophyd/ophyd/tests/fake_motor_ioc.py
Lines 7 to 8 in 1e5f037
I'm sure the
user_
prefix used inEpicsMotor
is inherited from the EPICS motor record which has raw, dial, and user coordinates. But NO bluesky users (maybe there is a rare exception) use motors with dial coordinates.Not only is this confusing for newer Bluesky users, this leads to special-case programming when handling positioners v. motors.
Is there a way to resolve this inconsistency that remains backwards-compatible? Adding a synonym?
The text was updated successfully, but these errors were encountered: