pipeline.domain.state.StateALMACycle0

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

Bases: StateALMA

State representation for ALMA Cycle 0 measurement sets.

Extends StateALMA with workarounds for mislabeled Cycle 0 data, including removal of spurious PHASE intents when co-existing with BANDPASS or AMPLITUDE intents.

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 StateALMACycle0 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.