ChannelOutput

class caqtus.device.sequencer.channel_commands.ChannelOutput

Bases: ABC

Defines what should be outputted by a channel.

Subclasses of this class should have specific attributes that define how to evaluate the series of values to output on the channel.

These attributes can contain other ChannelOutput instances, which allows to recursively combine transformations.

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

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.