Antenna Device
This module implements an antenna Tango device for MCCS.
- class MccsAntenna(*args, **kwargs)
An implementation of an antenna Tango device for MCCS.
- Configure(argin)
Configure the antenna device attributes.
Also configures children device that are connected to the antenna.
- class InitCommand(*args, **kwargs)
Class that implements device initialisation for the MCCS antenna device.
- do(*args, **kwargs)
Stateless hook for device initialisation.
Initialises the attributes and properties of the
MccsAntenna
.- Parameters:
- Return type:
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- __init__(*args, **kwargs)
Initialise this device object.
- bandpassCoefficient()
Return the bandpassCoefficient attribute.
- calibrationCoefficient()
Get the Calibration coefficients.
The coefficients to be applied for the next frequency channel in the calibration cycle.
- create_component_manager()
Create and return a component manager for this device.
- Return type:
- Returns:
a component manager for this device.
- delayRates()
Return the delayRates attribute.
- fieldNodeLatitude()
Return the fieldNodeLatitude attribute.
- Return type:
- Returns:
the Latitude of field node centre
- fieldNodeLongitude()
Return the fieldNodeLongitude attribute.
- Return type:
- Returns:
the Longitude of field node centre
- healthModelParams(argin)
Set the params for health transition rules.
- init_command_objects()
Initialise the command handlers for commands supported by this device.
- Return type:
- init_device()
Initialise the device.
This is overridden here to change the Tango serialisation model.
- Return type:
- is_On_allowed()
Check if command On is allowed in the current device state.
- Return type:
- Returns:
True
if the command is allowed
- logicalAntennaId()
Return the logical antenna ID attribute.
- Return type:
- Returns:
the logical antenna ID
- pointingCoefficient()
Return the pointingCoefficient attribute.
- simulationMode(value)
Set the simulation mode of this device.
- Parameters:
value (
SimulationMode
) – the new simulation mode- Raises:
ValueError – because this device cannot be put into simulation mode.
- Return type:
- timestampOfLastSpectrum()
Return the timestampOfLastSpectrum attribute.
- Return type:
- Returns:
the timestamp of the last spectrum
- xDisplacement()
Return the horizontal displacement east attribute.
- Return type:
- Returns:
the horizontal displacement eastwards from station reference position
- xPolarisationFaulty()
Return the xPolarisationFaulty attribute.
- Return type:
- Returns:
the x-polarisation faulty flag
- xPolarisationScalingFactor()
Return the logical antenna ID attribute.
- yDisplacement()
Return the horizontal displacement north attribute.
- Return type:
- Returns:
the horizontal displacement northwards from station reference position
- yPolarisationFaulty()
Return the yPolarisationFaulty attribute.
- Return type:
- Returns:
the y-polarisation faulty flag
- yPolarisationScalingFactor()
Return the yPolarisationScalingFactor attribute.