Configuration

class ska_sdp_datamodels.configuration.Configuration(data_vars=None, coords=None, attrs=None)[source]

Bases: Dataset

A Configuration describes an array configuration

Here is an example:

<xarray.Configuration>
Dimensions:   (id: 115, spatial: 3)
Coordinates:
  * id        (id) int64 0 1 2 3 4 5 6 7 8 ...  113 114
  * spatial   (spatial) <U1 'X' 'Y' 'Z'
Data variables:
    names     (id) <U6 'M000' 'M001' 'M002' ... 'SKA103' 'SKA104'
    xyz       (id, spatial) float64 -0.0 9e-05 1.053e+03 ...
    diameter  (id) float64 13.5 13.5 13.5 13.5 ...  15.0 15.0
    mount     (id) <U4 'azel' 'azel' 'azel' 'azel' ...  'azel'
    vp_type   (id) <U7 'MEERKAT' 'MEERKAT' 'MEERKAT' ...  'MID'
    offset    (id, spatial) float64 0.0 0.0 0.0 0.0 0.0 ...  0.0 0.0
    stations  (id) <U3 '0' '1' '2' '3' '4' '5' ...  '112' '113' '114'
Attributes:
    data_model:  Configuration
    name:               MID
    location:           (x,y,z)
    receptor_frame:     ReceptorFrame object
    frame:

Methods Summary

constructor([name, location, names, xyz, ...])

Configuration object describing data for processing

Methods Documentation

classmethod constructor(name='', location=None, names=None, xyz=None, mount='alt-az', frame='', receptor_frame=<ska_sdp_datamodels.science_data_model.polarisation_model.ReceptorFrame object>, diameter=None, offset=None, stations='%s', vp_type=None)[source]

Configuration object describing data for processing

Parameters:
  • name – Name of configuration e.g. ‘LOWR3’

  • location – Location of array as an astropy EarthLocation

  • names – Names of the dishes/stations

  • xyz – Geocentric coordinates of dishes/stations

  • mount – Mount types of dishes/stations ‘altaz’ | ‘xy’ | ‘equatorial’

  • frame – Reference frame of locations

  • receptor_frame – Receptor frame

  • diameter – Diameters of dishes/stations (m)

  • offset – Axis offset (m)

  • stations – Identifiers of the dishes/stations

  • vp_type – Type of voltage pattern (string)