Dish Master¶
SKA Dish Master TANGO device server
-
class
tmcprototype.dishmaster.src.dishmaster.dish_master.
DishMaster
(*args, **kwargs)¶ SKA Dish Master TANGO device server
-
Abort
()¶ This command aborts the Track or Scan operation when invoked.
-
AzElOffset
¶ Used by autodoc_mock_imports.
-
Configure
(argin)¶ Configures the pointing parameters of the dish.
Parameters: argin – - DevString. JSON string consists of Azimuth(decimal degrees), Elevation(decimal degrees)
- and receiverBand.
Example:
- {
- “pointing”:
{“AZ”: 1.0,”EL”: 1.0},
”dish”: {“receiverBand”:”1”}
}
Returns: None. Input from jive: {“pointing”:{“AZ”:1.0,”EL”:1.0},”dish”:{“receiverBand”:”1”}} without any space.
-
ConfiguredBand
¶ Used by autodoc_mock_imports.
-
ObsReset
()¶ Currently this command works similar to the Restart command. It clears Dish configuration parameters.
-
ReceptorNumber
¶ Used by autodoc_mock_imports.
-
Restart
()¶ This command restarts the Dish.
-
Scan
(argin)¶ Triggers the dish to start scanning at the set pointing coordinates and capture the data at the input timestamp.
Parameters: argin – DevString. Timestamp in UTC at which command should be executed. Returns: None
-
SetMaintenanceMode
()¶ Triggers the Dish to transition into the MAINTENANCE Dish Element Mode. This mode will also enable engineers and maintainers to upgrade SW and FW. Dish also enters this mode when an emergency stop button is pressed.
-
SetOperateMode
()¶ Triggers the Dish to transition into the OPERATE Dish Element Mode.
Returns: None
-
SetStandbyFPMode
()¶ Triggers the Dish to transition into the STANDBY-FP (Standby-Full power) Dish Element Mode.
Returns: None
-
SetStandbyLPMode
()¶ Triggers the Dish to transition into the STANDBY-LP (Standby-Low power) Dish Element Mode. Standby-LP is the default mode when the Dish is configured for low power consumption. It is the mode wherein Dish ends after a start up procedure.
-
SetStowMode
()¶ Triggers the Dish to transition into the STOW Dish Element Mode. Used to point the dish in a direction that minimises the wind loads on the structure,for survival in strong wind conditions. The Dish is able to observe in the stove position, for the purpose of transient detection.
-
Slew
(argin=0)¶ Triggers the Dish to move (or slew) at the commanded pointing coordinates.
Parameters: argin – DevString. Timestamp in UTC at which command should be executed. Returns: None
-
StartCapture
(argin)¶ Triggers the dish to start capturing the data on the configured band.
Parameters: argin – DevString. Timestamp in UTC at which command should be executed. Returns: None
-
StopCapture
(argin)¶ Triggers the dish to stop capturing the data on the configured band.
Parameters: argin – DevString. Timestamp in UTC at which command should be executed. Returns: None
-
StopTrack
()¶ This command is created only for making pointingState = 0 in Track command.
-
Track
(argin)¶ Triggers Track on Dish. It accepts changes in DesiredPointing attribute value and tracks the source. When difference between Achieved and Desired pointing attributes is more than the pointing limits, Dish starts to slewing. Whereas Dish moves in tracking mode, when the difference becomes less than the pointing limits.
Parameters: argin – DevString. Timestamp in UTC at which command should be executed. Returns: None
-
WindSpeed
¶ Used by autodoc_mock_imports.
-
achievedPointing
¶ Used by autodoc_mock_imports.
-
always_executed_hook
()¶ Internal construct of TANGO.
-
azimuth
()¶ Calculates the azimuth angle difference.
-
azimuthOverWrap
¶ Used by autodoc_mock_imports.
-
band1SamplerFrequency
¶ Used by autodoc_mock_imports.
-
band2SamplerFrequency
¶ Used by autodoc_mock_imports.
-
band3SamplerFrequency
¶ Used by autodoc_mock_imports.
-
band4SamplerFrequency
¶ Used by autodoc_mock_imports.
-
band5aSamplerFrequency
¶ Used by autodoc_mock_imports.
-
band5bSamplerFrequency
¶ Used by autodoc_mock_imports.
-
capturing
¶ Used by autodoc_mock_imports.
-
check_slew
()¶ Waits until the Dish is slewing and stows it later.
Returns: None
-
decrement_position
(argin)¶ Decrements the current pointing coordinates gradually to match the desired pointing coordinates.
Parameters: argin – Difference between current and desired Azimuth/Elevation angle. Returns: None
-
delete_device
()¶ Internal construct of TANGO.
-
desiredPointing
¶ Used by autodoc_mock_imports.
-
dishMode
¶ Used by autodoc_mock_imports.
-
elevation
()¶ Calculates the elevation angle difference.
-
increment_position
(argin)¶ Increments the current pointing coordinates gradually to match the desired pointing coordinates.
Parameters: argin – Difference between current and desired Azimuth/Elevation angle. Returns: None
-
init_device
()¶ Initializes the properties and attributes of DishMaster.
Returns: None
-
is_Scan_allowed
()¶ Checks if the Scan is allowed in the current state of DishMaster.
-
is_SetMaintenanceMode_allowed
()¶ Checks if SetMaintenanceMode is allowed in the current state of DishMaster.
-
is_SetOperateMode_allowed
()¶ Checks if SetOperateMode is allowed in the current state of DishMaster.
-
is_SetStandbyFPMode_allowed
()¶ Checks if the SetStandbyFPMode is allowed in the current state of DishMaster.
-
is_SetStandbyLPMode_allowed
()¶ Checks if the SetStandbyLPMode is allowed in the current pointing state of DishMaster.
-
is_SetStowMode_allowed
()¶ Checks if the SetStowMode is allowed in the current state of DishMaster.
-
is_StartCapture_allowed
()¶ Checks if the StartCapture is allowed in the current state of DishMaster.
-
is_StopCapture_allowed
()¶ Checks if the StopCapture is allowed in the current state of DishMaster.
-
point
()¶ Points the dish towards the desired pointing coordinates.
-
pointingState
¶ Used by autodoc_mock_imports.
-
read_AzElOffset
()¶ Internal construct of TANGO. Returns Azimuth and Elevation pointing limits of Dish.
-
read_ConfiguredBand
()¶ Internal construct of TANGO. Returns the band configured for the Dish.
-
read_WindSpeed
()¶ Internal construct of TANGO. Returns the Wind speed.
-
read_achievedPointing
()¶ Internal construct of TANGO. Returns the achieved pointing coordinates of Dish.
-
read_azimuthOverWrap
()¶ Internal construct of TANGO. Returns boolean to notify if Dish Azimuth is beyond Azimuth wrap limit.
-
read_capturing
()¶ Internal construct of TANGO. Returns true if the dish is capturing the data, else false.
-
read_desiredPointing
()¶ Internal construct of TANGO. Returns the desired pointing coordinates of Dish.
-
read_dishMode
()¶ Internal construct of TANGO. Returns the dishMode.
-
read_pointingState
()¶ Internal construct of TANGO. Returns the pointingState.
-
read_toggleFault
()¶ Internal construct of TANGO.Returns the toggleFault .
-
toggleFault
¶ Used by autodoc_mock_imports.
-
track_slew
()¶ Completes slewing of Dish in 10 steps.
Returns: None
-
write_WindSpeed
(value)¶ Internal construct of TANGO. Sets the wind speed.
Parameters: value – WindSpeed Returns: None
-
write_band1SamplerFrequency
(value)¶ Internal construct of TANGO. Sets the band1 sampler frequency.
Parameters: value – band1SamplerFrequency Returns: None
-
write_band2SamplerFrequency
(value)¶ Internal construct of TANGO. Sets the band2 sampler frequency.
Parameters: value – band2SamplerFrequency Returns: None
-
write_band3SamplerFrequency
(value)¶ Internal construct of TANGO. Sets the band3 sampler frequency.
Parameters: value – band3SamplerFrequency Returns: None
-
write_band4SamplerFrequency
(value)¶ Internal construct of TANGO. Sets band4 sampler frequency.
Parameters: value – band4SamplerFrequency Returns: None
-
write_band5aSamplerFrequency
(value)¶ Internal construct of TANGO. Sets the band5a sampler frequency.
Parameters: value – band5aSamplerFrequency Returns: None
-
write_band5bSamplerFrequency
(value)¶ Internal construct of TANGO. Sets the band5b sampler frequency.
Parameters: value – band5bSamplerFrequency Returns: None
-
write_desiredPointing
(value)¶ Internal construct of TANGO. Sets the desired pointing coordinates of Dish.
Parameters: value – desiredPointing Returns: None
-
write_toggleFault
(value)¶ Internal construct of TANGO
-
-
tmcprototype.dishmaster.src.dishmaster.dish_master.
main
(args=None, **kwargs)¶ Runs the DishMaster.
Parameters: - args – Arguments internal to TANGO
- kwargs – Arguments internal to TANGO
Returns: DishMaster TANGO object.