Device

class caqtus.device.Device(*args: ~InitParams, **kwargs: ~InitParams)

Bases: Protocol[InitParams]

Wraps a low-level instrument that can be controlled during an experiment.

Subclasses of this class should at least implement the __init__(), __enter__(), and __exit__() methods. In addition to these methods, any other methods that are specific to the device should be implemented.