prsctrl.prsctrl_interactive.get_setup_info#

get_setup_info(key: str | None = None) → MeasurementSetupInfo[source]#

Get the active setup info from the setup database.

Parameters:

key – Key of the setup info to return. Defaults to the ‘setup’ config value or ‘default’.

Raises:
  • RuntimeError – If the setup database is not initialized, i.e. init() was not run.

  • KeyError – If the key does not exist in the setup database. Valid keys are listed in the error message.