Skip to content

Commit 531c2df

Browse files
committed
review docstrings
1 parent 98aaab6 commit 531c2df

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

src/dodal/plans/wrapped.py

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ def num_grid_scan(
147147
) -> MsgGenerator:
148148
"""Scan independent multi-motor trajectories.
149149
150-
Snakes all fast axes by default. The scan is defined by number of points along scan
151-
trajectories. Wraps bluesky.plans.grid_scan(det, *args, snake_axes, md=metadata).
150+
The scan is defined by number of points along scan trajectories. Snakes all fast
151+
axes by default. Wraps bluesky.plans.grid_scan(det, *args, snake_axes, md=metadata).
152152
"""
153153
# TODO: move to using Range spec and spec_scan when stable and tested at v1.0
154154
args, shape = _make_num_scan_args(params)
@@ -215,8 +215,8 @@ def num_grid_rscan(
215215
) -> MsgGenerator:
216216
"""Scan independent trajectories, relative to current positions.
217217
218-
Snakes all fast axes by default. The scan is defined by number of points along scan
219-
trajectories. Wraps bluesky.plans.rel_grid_scan(det, *args, md=metadata).
218+
The scan is defined by number of points along scan trajectories. Snakes all fast
219+
axes by default. Wraps bluesky.plans.rel_grid_scan(det, *args, md=metadata).
220220
"""
221221
# TODO: move to using Range spec and spec_scan when stable and tested at v1.0
222222
args, shape = _make_num_scan_args(params)
@@ -302,8 +302,8 @@ def list_grid_scan(
302302
) -> MsgGenerator:
303303
"""Scan independent trajectories.
304304
305-
Snakes slow axes by default. The scan is defined by providing a list of points for
306-
each scan trajectory. Wraps bluesky.plans.list_grid_scan(det, *args, md=metadata).
305+
The scan is defined by providing a list of points for each scan trajectory. Snakes
306+
slow axes by default. Wraps bluesky.plans.list_grid_scan(det, *args, md=metadata).
307307
"""
308308
args, shape = _make_list_scan_args(params=params, grid=True)
309309
metadata = metadata or {}
@@ -370,8 +370,9 @@ def list_grid_rscan(
370370
) -> MsgGenerator:
371371
"""Scan independent trajectories, relative to current positions.
372372
373-
The scan is defined by providing a list of points for each scan trajectory.
374-
Wraps bluesky.plans.rel_list_grid_scan(det, *args, md=metadata).
373+
The scan is defined by providing a list of points for each scan trajectory. Snakes
374+
all fast axes by default. Wraps bluesky.plans.rel_list_grid_scan(det, *args,
375+
md=metadata).
375376
"""
376377
args, shape = _make_list_scan_args(params=params, grid=True)
377378
metadata = metadata or {}
@@ -520,8 +521,9 @@ def step_grid_scan(
520521
) -> MsgGenerator:
521522
"""Scan independent trajectories with specified step size.
522523
523-
Snakes all slow axes by default. Generates list(s) of points for each trajectory,
524-
used with bluesky.plans.list_grid_scan(det, *args, md=metadata).
524+
Generates list(s) of points for each trajectory, used with
525+
bluesky.plans.list_grid_scan(det, *args, md=metadata). Snakes all fast axes by
526+
default.
525527
"""
526528
# TODO: move to using Linspace spec and spec_scan when stable and tested at v1.0
527529
args, shape = _make_step_scan_args(params, grid=True)
@@ -589,8 +591,9 @@ def step_grid_rscan(
589591
) -> MsgGenerator:
590592
"""Scan independent trajectories with specified step size, relative to position.
591593
592-
Snakes all slow axes by default. Generates list(s) of points for each trajectory,
593-
used with bluesky.plans.list_grid_scan(det, *args, md=metadata).
594+
Generates list(s) of points for each trajectory, used with
595+
bluesky.plans.list_grid_scan(det, *args, md=metadata). Snakes all fast axes by
596+
default.
594597
"""
595598
# TODO: move to using Linspace spec and spec_scan when stable and tested at v1.0
596599
args, shape = _make_step_scan_args(params, grid=True)

0 commit comments

Comments
 (0)