LaneValues
- class caqtus.device.sequencer.channel_commands.LaneValues(
- lane,
- default: ChannelOutput | None = attr_dict['default'].default,
Bases:
ChannelOutputIndicates that the output should be the values taken by a given lane.
- default
The default value to take if the lane is absent from the shot time lanes.
- evaluate(
- required_time_step: TimeStep,
- prepend: int,
- append: int,
- shot_context: ShotContext,
Evaluate the output of a channel as the values of a lane.
This function will look in the shot time lanes to find the lane referenced by the output and evaluate the values of this lane. If the lane cannot be found, and the output has a default value, this default value will be used. If the lane cannot be found and there is no default value, a ValueError will be raised.