DeviceTrigger

class caqtus.device.sequencer.channel_commands.DeviceTrigger(
device_name,
default: ChannelOutput | None = attr_dict['default'].default,
)

Bases: ChannelOutput

Indicates that the output should be a trigger for a given device.

device_name

The name of the device to generate a trigger for.

Type:

caqtus.device._name.DeviceName

default

If the device is not used in the sequence, fallback to this.

Type:

caqtus.device.sequencer.channel_commands.channel_output.ChannelOutput | None

evaluate(
required_time_step: TimeStep,
prepend: int,
append: int,
shot_context: ShotContext,
)

Evaluate the output of a channel with the required parameters.

Parameters:
  • required_time_step – The time step in which to evaluate the output, in ns.

  • prepend – The number of time steps to add at the beginning of the output.

  • append – The number of time steps to add at the end of the output.

  • shot_context – Contains information about the current to evaluate the output.