nomad_camels_driver_epics_instrument package
Submodules
nomad_camels_driver_epics_instrument.epics_instrument module
- nomad_camels_driver_epics_instrument.epics_instrument.get_configs_from_ophyd(ophyd_instance)
- class nomad_camels_driver_epics_instrument.epics_instrument.subclass(**kwargs)
Bases:
Device
- get_channels()
returns self.channels, should be overwritten for special purposes (e.g. leaving out some keys of the dictionary)
- Returns:
self.channels – dictionary containing the device’s channels
- Return type:
dict
- update_driver()
- class nomad_camels_driver_epics_instrument.epics_instrument.subclass_config(parent=None, data='', settings_dict=None, config_dict=None, additional_info=None)
Bases:
Device_Config
- get_settings()
Updates the settings_dict with the current settings. Overwrite this function for each device to specify the settings. It is recommended to still call the super() method for the connection-settings.
- staticMetaObject = PySide6.QtCore.QMetaObject("subclass_config" inherits "Device_Config": )
nomad_camels_driver_epics_instrument.epics_instrument_ophyd module
- class nomad_camels_driver_epics_instrument.epics_instrument_ophyd.Epics_Instrument(prefix='', *, name, kind=None, read_attrs=None, configuration_attrs=None, parent=None, pvs=None, **kwargs)
Bases:
Device
- component_names = ()
- read_epics_pv(short_name, full_name)
Reads the specified channel. It caches the PV instance so that it is only created once per full_name.
- Parameters:
short_name (str) – The short name of the channel.
full_name (str) – The full name of the channel.
- Returns:
The value of the channel.
- Return type:
float
- set_epics_pv(short_name, full_name, value)
Sets the specified channel using a cached PV instance.
- Parameters:
short_name (str) – The short name of the channel.
full_name (str) – The full name of the channel.
value (float) – The value to set on the channel.
- subscriptions: ClassVar[FrozenSet[str]] = frozenset({'acq_done'})
- nomad_camels_driver_epics_instrument.epics_instrument_ophyd.make_ophyd_class(pvs)
- nomad_camels_driver_epics_instrument.epics_instrument_ophyd.make_ophyd_instance_epics(prefix='', *args, name, kind=None, read_attrs=None, configuration_attrs=None, parent=None, pvs=None, **kwargs)