bluesky.plan_stubs.one_nd_step

bluesky.plan_stubs.one_nd_step(detectors, step, pos_cache, take_reading=<function trigger_and_read>)[source]

Inner loop of an N-dimensional step scan

This is the default function for per_step param`` in ND plans.

Parameters
detectorsiterable

devices to read

stepdict

mapping motors to positions in this step

pos_cachedict

mapping motors to their last-set positions

take_readingplan, optional

function to do the actual acquisition

def take_reading(dets, name='primary'):
     yield from ...

Callable[List[OphydObj], Optional[str]] -> Generator[Msg], optional

Defaults to trigger_and_read