bluesky.plan_stubs.one_1d_step#
- bluesky.plan_stubs.one_1d_step(detectors: Sequence[Readable], motor: Movable, step: Any, take_reading: Callable[[Sequence[Readable]], Generator[Msg, Any, Mapping[str, Reading]]] | None = None) Generator[Msg, Any, Mapping[str, Reading]] [source]#
Inner loop of a 1D step scan
This is the default function for
per_step
param in 1D plans.- Parameters:
- detectorslist or tuple
devices to read
- motorSettable
The motor to move
- stepAny
Where to move the motor to
- 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
- Returns:
- readings
dict of device names to recorded information
- Yields:
- msgMsg