sensitivity_calculator.subarray

Module to handle the subarray configurations

class sensitivity_calculator.subarray.Subarray(name: str, MeerKAT: list, SKA: list)[source]

Data class to store the subarray data structure.

Parameters
  • name (str) – name of the configuration

  • MeerKAT (list) – list of the MeerKAT antennas

  • SKA (list) – list of the SKA antennas

The structure of the list of antennas is not yet defined, at the moment we can consider them list of antenna IDs. There are two convenience properties, n_MeerKAT and n_SKA that return the number of antennas of each type.

class sensitivity_calculator.subarray.SubarraySchema(*, only: Optional[Union[Sequence[str], Set[str]]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Optional[Dict] = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: Optional[str] = None)[source]

Schema to de/serialize the data of the Subarray class

class sensitivity_calculator.subarray.SubarrayStorage(storage_path)[source]

Class to handle the storage of subarrays in JSON files

Parameters

storage_path (str) – path of the storage area

list()[source]

List the subarray files stored

load(name)[source]

Load one of the subarray files stored

Parameters

name (str) – name of the subarray configuration