pipeline.domain.state.StateALMA

class StateALMA(state_id: int, obs_mode: str)[source]

Bases: State

State representation for ALMA Observatory measurement sets.

Extends State with ALMA-specific obs_mode to pipeline intent mappings.

id

Numerical identifier of this State.

obs_mode

Unique obs_mode values associated with this State.

Methods

get_obs_mode_for_intent

Return list of obs_mode values associated with given intent.

Attributes

id

obs_mode

intents

Return all intents associated with this State.

obs_mode_mapping

__init__(state_id: int, obs_mode: str) None[source]

Initialize a StateALMA object.

Parameters:
  • state_id -- Numerical identifier of this State.

  • obs_mode -- Unique obs_mode values associated with this State.

get_obs_mode_for_intent(intent: str) list[str]

Return list of obs_mode values associated with given intent.

property intents: set[str]

Return all intents associated with this State.