create_configuration_from_file

ska_sdp_datamodels.configuration.create_configuration_from_file(antfile: str, location: EarthLocation = None, mount: str = 'azel', names: str = '%d', vp_type: str | dict = 'Unknown', diameter=35.0, rmax=None, name='', skip=1, ecef=True) Configuration[source]

Define configuration from a text file

Parameters:
  • antfile – Antenna file name

  • location – Earthlocation of array

  • mount – mount type: ‘azel’, ‘xy’, ‘equatorial’

  • names – Antenna names e.g. “VLA%d”

  • vp_type – String or rule to map name to voltage pattern type

  • diameter – Effective diameter of station or antenna

  • rmax – Maximum distance from array centre (m)

  • name – Name of array

  • skip – Antennas/stations to skip (int)

  • ecef – Configuration file format: ECEF or local-xyz; if ECEF, it will be converted to ENU coordinates

Returns:

Configuration