3.4.3.1. qupulse.hardware.feature_awg.base

class qupulse.hardware.feature_awg.base.AWGChannel(idn)[source]

Bases: qupulse.hardware.feature_awg.base_features.FeatureAble[qupulse.hardware.feature_awg.base.AWGChannelFeature], abc.ABC

Base class for a single channel of an AWG

Parameters

idn (int) – The identification number of a channel

property name: str

Returns the name of a channel

Return type

str

class qupulse.hardware.feature_awg.base.AWGChannelFeature[source]

Bases: qupulse.hardware.feature_awg.base_features.Feature

Base class for features that are used for `AWGChannel`s

class qupulse.hardware.feature_awg.base.AWGChannelTuple(idn)[source]

Bases: qupulse.hardware.feature_awg.base_features.FeatureAble[qupulse.hardware.feature_awg.base.AWGChannelTupleFeature], abc.ABC

Base class for all groups of synchronized channels of an AWG

Parameters

idn (int) – The identification number of a channel tuple

__init__(idn)[source]
Parameters

idn (int) – The identification number of a channel tuple

abstract property channel_tuple_adapter: qupulse.hardware.awgs.base.AWG

Return old interface adapter object. See channel_tuple_wrapper for details.

Return type

AWG

abstract property channels: Collection[qupulse.hardware.feature_awg.base.AWGChannel]

Returns a list of all channels of the channel tuple

Return type

Collection[AWGChannel]

abstract property device: qupulse.hardware.feature_awg.base.AWGDevice

Returns the device which the channel tuple belong to

Return type

AWGDevice

property idn: int

Returns the identification number of a channel tuple

Return type

int

abstract property marker_channels: Collection[qupulse.hardware.feature_awg.base.AWGMarkerChannel]

Returns a list of all marker channels of the channel tuple. The collection may be empty

Return type

Collection[AWGMarkerChannel]

property name: str

Returns the name of a channel tuple

Return type

str

abstract property sample_rate: float

Returns the sample rate of a channel tuple as a float

Return type

float

class qupulse.hardware.feature_awg.base.AWGChannelTupleFeature(channel_tuple)[source]

Bases: qupulse.hardware.feature_awg.base_features.Feature

Base class for features that are used for `AWGChannelTuple`s

class qupulse.hardware.feature_awg.base.AWGDevice(name)[source]

Bases: qupulse.hardware.feature_awg.base_features.FeatureAble[qupulse.hardware.feature_awg.base.AWGDeviceFeature], abc.ABC

Base class for all drivers of all arbitrary waveform generators

Parameters

name (str) – The name of the device as a String

__init__(name)[source]
Parameters

name (str) – The name of the device as a String

abstract property channel_tuples: Collection[qupulse.hardware.feature_awg.base.AWGChannelTuple]

Returns a list of all channel tuples of a list

Return type

Collection[AWGChannelTuple]

abstract property channels: Collection[qupulse.hardware.feature_awg.base.AWGChannel]

Returns a list of all channels of a Device

Return type

Collection[AWGChannel]

abstract cleanup()[source]

Function for cleaning up the dependencies of the device

Return type

None

abstract property marker_channels: Collection[qupulse.hardware.feature_awg.base.AWGMarkerChannel]

Returns a list of all marker channels of a device. The collection may be empty

Return type

Collection[AWGMarkerChannel]

property name: str

Returns the name of a Device as a String

Return type

str

class qupulse.hardware.feature_awg.base.AWGDeviceFeature[source]

Bases: qupulse.hardware.feature_awg.base_features.Feature

Base class for features that are used for `AWGDevice`s

class qupulse.hardware.feature_awg.base.AWGMarkerChannel(idn)[source]

Bases: qupulse.hardware.feature_awg.base_features.FeatureAble[qupulse.hardware.feature_awg.base.AWGChannelFeature], abc.ABC

Base class for a single marker channel of an AWG

Parameters

idn (int) – The identification number of a channel

property name: str

Returns the name of a marker channel

Return type

str