3.3.3.3. qupulse.hardware.feature_awg.channel_tuple_wrapper

Classes

ChannelTupleAdapter(channel_tuple)

This class serves as an adapter between the old Class AWG and the new driver abstraction.

class qupulse.hardware.feature_awg.channel_tuple_wrapper.ChannelTupleAdapter(channel_tuple: qupulse.hardware.feature_awg.base.AWGChannelTuple)[source]

Bases: qupulse.hardware.awgs.base.AWG

This class serves as an adapter between the old Class AWG and the new driver abstraction. It routes all the methods the AWG class to the corresponding methods of the new driver.

arm(name: Optional[str]) None[source]

Implements arm().

clear() None[source]

Implements clear().

property num_channels: int

Implements num_channels.

property num_markers: int

Implements num_markers.

property programs: Set[str]

Implements programs.

remove(name: str) None[source]

Implements remove().

property sample_rate: float

Implements sample_rate.

set_volatile_parameters(program_name: str, parameters)[source]

Implements set_volatile_parameters().

upload(name: str, program: qupulse.program.loop.Loop, channels: Tuple[Optional[Union[str, int]], ...], markers: Tuple[Optional[Union[str, int]], ...], voltage_transformation: Tuple[Optional[Callable], ...], force: bool = False) None[source]

Implements upload().