bluesky.plan_stubs.one_shot

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

Inner loop of a count.

This is the default function for per_shot in count plans.

Parameters
detectorsIterable[OphydObj]

devices to read

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