Antenna Device
This module implements an antenna Tango device for MCCS.
- class MccsAntenna(*args: Any, **kwargs: Any)[source]
An implementation of an antenna Tango device for MCCS.
- Configure(argin: str) tuple[list[ska_control_model.ResultCode], list[str | None]][source]
Configure the antenna device attributes.
Also configures children device that are connected to the antenna.
- Parameters:
argin – Configuration parameters encoded in a json string
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Example:
- class InitCommand(*args: Any, **kwargs: Any)[source]
Class that implements device initialisation for the MCCS antenna device.
- do(*args: Any, **kwargs: Any) tuple[ska_control_model.ResultCode, str][source]
Stateless hook for device initialisation.
Initialises the attributes and properties of the
MccsAntenna.- Parameters:
args – positional args to the component manager method
kwargs – keyword args to the component manager method
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- __init__(*args: Any, **kwargs: Any) None[source]
Initialise this device object.
- Parameters:
args – positional args to the init
kwargs – keyword args to the init
- bandpassCoefficient() list[float][source]
Return the bandpassCoefficient attribute.
- Returns:
bandpass coefficients
- calibrationCoefficient() list[float][source]
Get the Calibration coefficients.
The coefficients to be applied for the next frequency channel in the calibration cycle.
- Returns:
the calibration coefficients
- create_component_manager() AntennaComponentManager[source]
Create and return a component manager for this device.
- Returns:
a component manager for this device.
- delayRates() list[float][source]
Return the delayRates attribute.
- Returns:
delay rate for each beam
- fieldNodeLatitude() float[source]
Return the fieldNodeLatitude attribute.
- Returns:
the Latitude of field node centre
- fieldNodeLongitude() float[source]
Return the fieldNodeLongitude attribute.
- Returns:
the Longitude of field node centre
- init_command_objects() None[source]
Initialise the command handlers for commands supported by this device.
- logicalAntennaId() int[source]
Return the logical antenna ID attribute.
- Returns:
the logical antenna ID
- pointingCoefficient() list[float][source]
Return the pointingCoefficient attribute.
- Returns:
the pointing coefficients
- simulationMode(value: ska_control_model.SimulationMode) None[source]
Set the simulation mode of this device.
- Parameters:
value – the new simulation mode
- Raises:
ValueError – because this device cannot be put into simulation mode.
- timestampOfLastSpectrum() str[source]
Return the timestampOfLastSpectrum attribute.
- Returns:
the timestamp of the last spectrum
- xDisplacement() float[source]
Return the horizontal displacement east attribute.
- Returns:
the horizontal displacement eastwards from station reference position
- xPolarisationFaulty() bool[source]
Return the xPolarisationFaulty attribute.
- Returns:
the x-polarisation faulty flag
- xPolarisationScalingFactor() list[int][source]
Return the logical antenna ID attribute.
- Returns:
the x polarisation scaling factor
- yDisplacement() float[source]
Return the horizontal displacement north attribute.
- Returns:
the horizontal displacement northwards from station reference position
- yPolarisationFaulty() bool[source]
Return the yPolarisationFaulty attribute.
- Returns:
the y-polarisation faulty flag