StateMachineLookup¶ class bpod_core.bpod.structs.StateMachineLookup ¶ Bases: tuple Lookup data to decode the raw event stream during a state machine trial. fsm_hash: bytes¶ The state machine’s hash value. state_actions: list[dict[str, int]]¶ Per-state mapping of action name to value. state_lookup: dict[int, str]¶ Mapping from state index to state name. state_names: list[str]¶ Names of all states, indexed by state index. state_transition_matrix: ndarray[tuple[Any, ...], dtype[uint8]]¶ Transition matrix of shape (n_states, 255). use_back_op: bool¶ Whether the >back operator is used.