bluesky.plans.grid_scan(detectors, *args, snake_axes=None, per_step=None, md=None)[source]

Scan over a mesh; each motor is on an independent trajectory.

detectors: list

list of ‘readable’ objects

patterned like (motor1, start1, stop1, num1,

motor2, start2, stop2, num2, motor3, start3, stop3, num3,motorN, startN, stopN, numN)

The first motor is the “slowest”, the outer loop. For all motors except the first motor, there is a “snake” argument: a boolean indicating whether to following snake-like, winding trajectory or a simple left-to-right trajectory.

snake_axes: boolean or iterable, optional

which axes should be snaked, either False (do not snake any axes), True (snake all axes) or a list of axes to snake. “Snaking” an axis is defined as following snake-like, winding trajectory instead of a simple left-to-right trajectory. The elements of the list are motors that are listed in args. The list must not contain the slowest (first) motor, since it can’t be snaked.

per_step: callable, optional

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

md: dict, optional


See also