bluesky.plans.rel_scan#

bluesky.plans.rel_scan(detectors: Sequence[Readable], *args: Movable | Any, num=None, per_step: Callable[[Sequence[Readable], Movable, Any, Callable[[Sequence[Readable]], Generator[Msg, Any, Mapping[str, Reading]]] | None], Generator[Msg, Any, P]] | Callable[[Sequence[Readable], Mapping[Movable, Any], dict[Movable, Any], Callable[[Sequence[Readable]], Generator[Msg, Any, Mapping[str, Reading]]] | None], Generator[Msg, Any, P]] | None = None, md: dict[str, Any] | None = None) Generator[Msg, Any, str][source]#

Scan over one multi-motor trajectory relative to current position.

Parameters:
detectorslist

list of ‘readable’ objects

*args

For one dimension, motor, start, stop. In general:

motor1, start1, stop1,
motor2, start2, start2,
...,
motorN, startN, stopN,

Motors can be any ‘settable’ object (motor, temp controller, etc.)

numinteger

number of points

per_stepcallable, optional

hook for customizing action of inner loop (messages per step). See docstring of bluesky.plan_stubs.one_nd_step() (the default) for details.

mddict, optional

metadata

See also

bluesky.plans.rel_grid_scan()
bluesky.plans.inner_product_scan()
bluesky.plans.scan_nd()