Models
- class ska.tmlite.models.Station(*, interface: str, station_name: str, diameter: str, properties: Optional[MCCSProperties] = None, location: Optional[TelModelLocation] = None, fixed_delays: List[TelModelFixedDelays] = [], niao: float, long: Optional[str] = None, lat: Optional[str] = None, x: Optional[float] = None, y: Optional[float] = None, z: Optional[float] = None)[source]
The schema for the SKA stations:
- Parameters
name – (str) an identifier for the station
dish_diameter – (str) dish/stations size in meters
long – (str) longitude [optional]
lat – (str) latitude [optional]
x – (float) Geocentric x
y – (float) Geocentric y
z – (float) Geocentric z
- class ska.tmlite.models.LayOut(*, description: Optional[str] = None, reference: Optional[str] = None, comment: Optional[str] = None, revision: Optional[str] = None, telescope: str, coordinates: Optional[str] = None, units: Optional[str] = None, receptors: List[Station] = [])[source]
The Schema for station layout
- Parameters
description – str identifier
reference – str where did this come from (provinence?)
comment – str
revision – str
telescope – str telescope name (dup)
coordinates – str Coordinate frame (ITRF)
units – str (meters etc
antennas – Set[Station] = [] an array of Station
- class ska.tmlite.models.RFI(*, description: str, freq_start: str, freq_stop: str)[source]
RFI Schema
- Parameters
description – str identifier (what source etc)
freq_start – str (Hz)
freq_stop – str (Hz)
- class ska.tmlite.models.SKA1Mid(*, layout: LayOut, static_rfi_mask: Optional[List[RFI]] = None)[source]
Container item for the model for SKA1 Mid
- Parameters
layout – LayOut
static_rfi_mask – Set[RFI] = []
- class ska.tmlite.models.SKA1Low(*, layout: LayOut, static_rfi_mask: Optional[List[RFI]] = None)[source]
Container item for the model for SKA1 Low
- Parameters
layout – LayOut
static_rfi_mask – Set[RFI] = []
- class ska.tmlite.models.Instruments(*, ska1_low: Optional[SKA1Low] = None, ska1_mid: Optional[SKA1Mid] = None)[source]
Container item for the Instrumets
- Parameters
ska1_low – SKA1Low
ska1_mid – SKA1Mid
- class ska.tmlite.models.TModelLite(*, instrument: Instruments)[source]
Container item for the whole model
- Parameters
instrument – Instruments
- class ska.tmlite.models.MCCSGeoJSON(*, type: str, name: str, crs: MCCSCrs, features: List[MCCSFeatures])[source]
Container item for the GeoJSON file generated by MCCS. Ideally we would not have to add this. But it has been deemed necessary to demonstrate the reading in of this file format.
Currently,the schema is:
- Parameters
type – str
name – str
crs – MCCSCrs
features – List[MCCSFeatures]
- class ska.tmlite.models.MCCSCrs(*, type: str, properties: MCCSProperties)[source]
The CRS items in the MCCS GeoJSON file
- Parameters
type – str
properties – MCCSProperties
- class ska.tmlite.models.MCCSFeatures(*, type: str, properties: MCCSProperties, geometry: MCCSGeometry)[source]
The Feature carries the station information in the MCCSGeoJSON model
- Parameters
type – str
properties – MCCSProperties
geometry – MCCSGeometry
- class ska.tmlite.models.MCCSGeometry(*, type: str, coordinates: List[float])[source]
The MCCS Geometry object - this is what actually contains the location
- Parameters
type – str
coordinates – List[float]
- class ska.tmlite.models.MCCSProperties(*, name: str, nof_antennas: Optional[int] = None, antenna_type: Optional[str] = None, tpms: Optional[Set[int]] = None, station_num: Optional[int] = None)[source]
The Properties Object - contains a description of the station
- Parameters
name – str
nof_antennas – Optional[int] = None
antenna_type – Optional[str] = None
tpms – Optional[Set[int]] = None
station_num – Optional[int] = None