|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Public Member Functions | |
| bool | wired (self) |
| Knob|None | knob_for (self, str regulator) |
| Channel|None | channel_of (self, str symbol) |
| dict[str, str] | names (self) |
| dict[str, Any] | to_dict (self) |
| "Hookup" | from_dict (cls, Mapping[str, Any] raw) |
Static Public Attributes | |
| Mapping | valves = field(default_factory=dict) |
| tuple | knobs = () |
| Mapping | aliases = field(default_factory=dict) |
| tuple | channels = None |
| Mapping | rows = field(default_factory=dict) |
| frozenset | auto = frozenset() |
| StateMachine | machine = None |
| Channel | None feedtwin.session.hookup.Hookup.channel_of | ( | self, | |
| str | symbol ) |
| "Hookup" feedtwin.session.hookup.Hookup.from_dict | ( | cls, | |
| Mapping[str, Any] | raw ) |
Definition at line 209 of file hookup.py.
References feedtwin.session.hookup._check_channels(), and max.
Referenced by engine.control.robust_ddp.data_models.ControllerConfig.from_json(), engine.control.robust_ddp.data_models.ControllerConfig.from_yaml(), and calibration_robustness.SystemConfig.load().
| Knob | None feedtwin.session.hookup.Hookup.knob_for | ( | self, | |
| str | regulator ) |
Definition at line 172 of file hookup.py.
References feedtwin.session.core.Session.knobs, and knobs.
| dict[str, str] feedtwin.session.hookup.Hookup.names | ( | self | ) |
What the console calls each thing, by drawing id: a symbol on a channel by the channel's name, anything else by its alias.
Definition at line 178 of file hookup.py.
References feedtwin.props.species.SpeciesSpec.aliases, aliases, and channels.
| dict[str, Any] feedtwin.session.hookup.Hookup.to_dict | ( | self | ) |
The stored form. A hookup of the old kind -- no box, no edited table -- is written exactly as it always was (schema 1), so a run recorded before the box existed and one recorded since diff clean.
Definition at line 186 of file hookup.py.
References feedtwin.props.species.SpeciesSpec.aliases, aliases, auto, channels, feedtwin.session.core.Session.knobs, knobs, feedtwin.session.core.Session.machine, machine, rows, to_dict(), and valves.
Referenced by calibration_robustness.SystemConfig.save(), to_dict(), engine.control.robust_ddp.data_models.ControllerConfig.to_json(), and engine.control.robust_ddp.data_models.ControllerConfig.to_yaml().
| bool feedtwin.session.hookup.Hookup.wired | ( | self | ) |
|
static |
|
static |
|
static |
|
static |
Definition at line 146 of file hookup.py.
Referenced by knob_for(), and to_dict().
|
static |
|
static |
Definition at line 157 of file hookup.py.
Referenced by feed_line_K.Run.add(), feed_line_K.Run.report(), and to_dict().
|
static |