DeviceConfiguration

class caqtus.device.DeviceConfiguration(
remote_server: DeviceServerName | None,
)

Bases: Generic[DeviceType]

Contains static information about a device.

This is an abstract class, generic in DeviceType that stores the information necessary to connect to a device and program it during a sequence.

This information is meant to be encoded in a user-friendly way that might not be possible to be directly programmed on a device. For example, it might contain not yet evaluated caqtus.types.expression.Expression objects that only make sense in the context of a shot.

Subclasses should add necessary attributes depending on the device.

The dunder method __eq__() should be implemented.

remote_server

Indicates the name of the computer on which the device should be instantiated.

Type:

caqtus.device.configuration._configuration.DeviceServerName | None