ChannelDescription#
- class iqm.pulse.playlist.channel.ChannelDescription(name, config)#
Bases:
object
Channel specific data, including tables for the instructions and waveforms used.
- Parameters:
name (str) – name of the controller handling the channel, also the name of the channel
config (RealChannelConfig) – properties of the channel
instruction_table – mapping of the instructions to be executed on this channel. Each instruction should be unique.
waveform_table – Contains mapping of the waveforms to be executed on this channel. Each waveform should be unique.
Module:
iqm.pulse.playlist.channel
Attributes
name
config
instruction_table
waveform_table
Methods
Add an instruction to the channel.
- add_instruction(instruction)#
Add an instruction to the channel.
Each unique instruction in a channel gets assigned an integer index that can be used to refer to it. If the instruction has associated
Waveform
s, they are indexed in a similar manner.- Parameters:
instruction (Instruction) – instruction to be added
- Returns:
index of the instruction
- Return type: