Playlist#
- class iqm.models.playlist.playlist.Playlist(channel_descriptions=<factory>, segments=<factory>)#
Bases:
objectInformation required to build a batch of programs for AWGs and readout instruments.
Consists of a number of
Segments, executed in a sequence, and information about the properties of the control and readout channels used in the Segments, as well asInstructionandWaveformtables.This class implements the new data structure that contains all the data necessary for an experiment to execute. Schedule contains information of all the channels used as well as the instruction execution schedule.
- Parameters:
channel_descriptions (dict[str, ChannelDescription]) – Controller name mapped to channel and channel specific instruction and waveform data.
segments (list[Segment]) – Contains all the segments in the order of execution.
Module:
iqm.models.playlist.playlistAttributes
channel_descriptionssegmentsMethods
Adds a new channel to the Schedule.
- add_channel(new_channel)#
Adds a new channel to the Schedule.
- Parameters:
new_channel (ChannelDescription) – channel to add
- Raises:
ValueError – channel with that name already exists, and has different properties
- Return type:
None