3.3.3.2. qupulse.hardware.feature_awg.base_features

Functions

_get_base_feature_type(feature_type)

This function searches for the second inheritance level under Feature (i.e.

Classes

Feature(target_type)

Base class for features of FeatureAble.

FeatureAble()

Base class for all types that are able to handle features.

class qupulse.hardware.feature_awg.base_features.Feature(target_type: Type[qupulse.hardware.feature_awg.base_features.FeatureAble])[source]

Bases: object

Base class for features of FeatureAble.

property target_type: Type[qupulse.hardware.feature_awg.base_features.FeatureAble]
class qupulse.hardware.feature_awg.base_features.FeatureAble[source]

Bases: Generic[qupulse.hardware.feature_awg.base_features.FeatureType]

Base class for all types that are able to handle features. The features are saved in a dictionary and the methods can be called with the __getitem__-operator.

add_feature(feature: qupulse.hardware.feature_awg.base_features.FeatureType) None[source]

The method adds the feature to a Dictionary with all features

Parameters

feature – A certain feature which functions should be added to the dictionary _features

property features: Mapping[qupulse.hardware.feature_awg.base_features.FeatureType, Callable]

Returns the dictionary with all features of a FeatureAble