Skip to content

Commit

Permalink
DOC #1192 apply to similar
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian authored May 16, 2024
1 parent 4c2b525 commit 8ebb8a0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ophyd/pseudopos.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def _setup_move(self, position, status):
def move(self, pos, **kwargs):
"""Move this pseudo axis to a specific position.
See `PseudoPositioner.move_single` for more information.
See ``PseudoPositioner.move_single`` for more information.
Parameters
----------
Expand Down Expand Up @@ -522,11 +522,11 @@ def _pseudo_position_tuple(cls):
def _get_pseudo_positioners(cls):
"""Inspect the components and find the pseudo positioners
All `PseudoSingle` (and subclassed) components will be returned, by
All ``PseudoSingle`` (and subclassed) components will be returned, by
default.
The built-in mechanism to override the list of pseudo positioners on a
PseudoPositioner is to define '_pseudo' on the class-level. It should
``PseudoPositioner`` is to define ``_pseudo`` on the class-level. It should
be a list of attribute names.
Yields
Expand All @@ -549,7 +549,7 @@ def _get_real_positioners(cls):
returned, by default.
The built-in mechanism to override the list of real positioners on a
PseudoPositioner is to define '_real' on the class-level. It should be
``PseudoPositioner`` is to define ``_real`` on the class-level. It should be
a list of attribute names. This allows you to group real motors
logically on the device but not have them included in motions or
calculations.
Expand Down Expand Up @@ -748,7 +748,7 @@ def _real_finished(self, status=None, *, obj=None):
"""Callback: A single real positioner has finished moving.
Used for asynchronous motion, if all have finished moving then fire a
callback (via `Positioner._done_moving`)
callback (via ``Positioner._done_moving``)
"""
with self._finished_lock:
real = obj
Expand All @@ -765,7 +765,7 @@ def move_single(self, pseudo, position, **kwargs):
All other positioners will use their current setpoint/target value, if
available. Failing that, their current readback value will be used (see
`PseudoSingle.sync` and `PseudoSingle.target`).
``PseudoSingle.sync`` and ``PseudoSingle.target``).
Parameters
----------
Expand Down Expand Up @@ -878,7 +878,7 @@ def move(self, position, wait=True, timeout=None, moved_cb=None):
Raises
------
TimeoutError
When motion takes longer than `timeout`
When motion takes longer than ``timeout``
ValueError
On invalid positions
RuntimeError
Expand All @@ -902,7 +902,7 @@ def _setup_move(self, position, status):
Parameters
----------
position : PseudoPosition
Position to move to (already verified by `check_value`)
Position to move to (already verified by ``check_value``)
status : MoveStatus
Status object created by PositionerBase.move()
"""
Expand Down

0 comments on commit 8ebb8a0

Please sign in to comment.