neclib.devices.device_base#
Aliases#
None |
|
General format of NECLIB parameters. |
|
None |
|
None |
- class DeviceBase[source]#
Bases:
ABC
- Return type:
- Model: ClassVar[str]#
- Manufacturer: ClassVar[str]#
- Identifier: ClassVar[Optional[str]] = None#
- is_simulator: ClassVar[bool] = False#
- Config: ClassVar[Optional[Configuration]] = None#
- classmethod get_simulator_class()[source]#
- Return type:
Type[DeviceBase]
- final classmethod bind(name: str, model: str) Type[DeviceBase] [source]#
- final classmethod bind(name: str, model: Dict[str, str]) Devices[str, Type[DeviceBase]]
- class Devices(anonymous_device=None, /, **named_devices)[source]#
Bases:
UserDict
,Generic
[T_key
,T_value
]- Parameters:
anonymous_device (Optional[Union[DeviceBase, Type[DeviceBase], Dict[str, DeviceBase], Dict[str, Type[DeviceBase]]]]) –
named_devices (Union[DeviceBase, Type[DeviceBase]]) –