ska_oso_pdm.sb_definition.dish

The ska_oso_pdm.sb_definition.dish package contains classes used to define resource allocations and configurations for SKA MID dishes.

ska_oso_pdm.sb_definition.dish.dish_allocation

The dish_allocation module defines which SKA MID dishes should be allocated to a sub-array prior to an observation.

../../../_images/ska_oso_pdm_sb_definition_dish_dish_allocation.svg

Class diagram for the dish_allocation module

An example serialisation of this model to JSON is shown below.

  "dish_allocations": {
    "dish_ids": ["SKA100", "SKA001", "SKA063", "SKA036"],
    "dish_allocation_id": "dish-allocation-74519",
    "selected_subarray_definition": "AA0.5"
  }
}

The messages module provides simple Python representations of the structured request and response for the TMC CentralNode.AssignResources command.

class DishAllocation(*, dish_allocation_id: str | None = None, selected_subarray_definition: str | None = None, dish_ids: frozenset[str] = frozenset({}))[source]

Represents the required dish array for an observation described by an SBDefinition

Parameters:
  • dish_allocation_id – The identifier of this object within the SBDefinition

  • selected_subarray_definition – The subarray definition, e.g. AA1. This could be inferred from the dish_ids but is stored here as well for UI purposes.

  • dish_ids – The identifier of the dishes in the allocation, e.g. SKA063