ophyd_async.core.save_to_yaml#

ophyd_async.core.save_to_yaml(phases: Sequence[Dict[str, Any]], save_path: str) None[source]#

Plan which serialises a phase or set of phases of SignalRWs to a yaml file.

Parameters:
  • phases (dict or list of dicts) – The values to save. Each item in the list is a seperate phase used when loading a device. In general this variable be the return value of get_signal_values.

  • save_path (str) – Path of the yaml file to write to