ska_ost_senscalc.subarray

Module to handle the subarray configurations

class ska_ost_senscalc.subarray.LOWArrayConfiguration(value)[source]

Enumeration of SKA LOW subarray configurations.

Enumerations MUST be case-insensitive and unique as HTTP query parameters will be converted to enum instances using str.upper().

class ska_ost_senscalc.subarray.LowSubarray(name: str, label: str, ids: list)[source]
class ska_ost_senscalc.subarray.LowSubarraySchema(*args: Any, **kwargs: Any)[source]

Schema to de/serialize the data of the Subarray class

class ska_ost_senscalc.subarray.MIDArrayConfiguration(value)[source]

Enumeration of SKA MID subarray configurations

class ska_ost_senscalc.subarray.MidSubarray(name: str, label: str, configuration: str, ids: list, md5_checksum: str)[source]
class ska_ost_senscalc.subarray.MidSubarraySchema(*args: Any, **kwargs: Any)[source]

Schema to de/serialize the data of the Subarray class

class ska_ost_senscalc.subarray.Subarray(name: str, label: str, ids: list, telescope: Telescope)[source]
class ska_ost_senscalc.subarray.SubarrayStorage(telescope: Telescope, storage_path: Path | None = None)[source]

Class to handle the storage of subarrays in JSON files

list() list[U][source]

List the Subarray objects for the subarray files stored

load_by_label(label) U[source]

Load one of the subarray files stored

Parameters:

label (str) – label of the subarray configuration

load_by_name(name) U[source]

Load one of the subarray files stored

Parameters:

name (str) – name of the subarray configuration