State
- class State(state_id: int, obs_mode: str)[source]
Bases:
objectA logical representation of rows in the STATE table.
Relates STATE_ID (in the MAIN table) to the observing mode(s) and corresponding pipeline intent(s).
- id
Numerical identifier of this State.
- obs_mode
Unique obs_mode values associated with this State.
- obs_mode_mapping
Class-level dictionary mapping obs_mode strings to pipeline intent strings.
Attributes Summary
Return all intents associated with this State.
Methods Summary
get_obs_mode_for_intent(intent)Return list of obs_mode values associated with given intent.
Attributes Documentation
- id
- intents
Return all intents associated with this State.
- obs_mode
- obs_mode_mapping = {}
Methods Documentation