Device.configure(self, d:Dict[str, Any]) → Tuple[Dict[str, Any], Dict[str, 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.

d : dict

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

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