ophyd.device.Device.configure

Device.configure(d: typing.Dict[str, typing.Any]) → typing.Tuple[typing.Dict[str, typing.Any], typing.Dict[str, typing.Any]]

Configure the device for something during a run

This default implementation allows the user to change any of the configuration_attrs. Subclasses might override this to perform additional input validation, cleanup, etc.

Parameters:
d : dict

The configuration dictionary. To specify the order that the changes should be made, use an OrderedDict.

Returns:
(old, new) tuple of dictionaries
Where old and new are pre- and post-configure configuration states.