3.2.3.2. qupulse.hardware.feature_awg.base_features

Classes

Feature(target_type)

Base class for features of FeatureAble.

FeatureAble()

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

class Feature(target_type: Type[FeatureAble])[source]

Bases: object

Base class for features of FeatureAble.

property target_type: Type[FeatureAble]
class FeatureAble[source]

Bases: Generic[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: 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[FeatureType, Callable]

Returns the dictionary with all features of a FeatureAble