Station Beam Device
This module implements the MCCS station beam device.
- class MccsStationBeam(*args, **kwargs)
An implementation of a station beam Tango device for MCCS.
- Abort()
Abort the current scan associated with the station_beam.
- class AbortCommand(command_tracker, component_manager, callback, logger=None)
A class for MccsSubarrayBeam’s Abort() command.
- __init__(command_tracker, component_manager, callback, logger=None)
Initialise a new AbortCommand instance.
- Parameters:
command_tracker (
CommandTracker
) – the device’s command trackercomponent_manager (
StationBeamComponentManager
) – the device’s component managercallback (
Callable
[[bool
],None
]) – callback to be called when this command states and finisheslogger (
Optional
[Logger
]) – a logger for this command object to yuse
- do(*args, **kwargs)
Stateless hook for Abort() command functionality.
- Parameters:
- Return type:
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- ApplyPointing()
Apply pointing delays to antennas associated with the station_beam.
- AssignResources(argin)
Assign resources to the station beam with all relevant parameters.
- Configure(argin)
Configure the station_beam with all relevant parameters.
- End()
Deconfigure the station_beam.
- EndScan()
Stop the current scan associated with the station_beam.
- class InitCommand(*args, **kwargs)
A class for
MccsStationBeam
’s Init command.- The
do()
method below is called upon
MccsStationBeam
’s initialisation.
- do()
Initialise the attributes and properties of the MccsStationBeam.
- Return type:
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- The
- ObsReset()
Reset to IDLE the station_beam.
- ReleaseAllResources()
Release all allocated resources from the station_beam.
- Restart()
Restart to EMPTY the station_beam.
- Scan(argin)
Start the scan associated with the station_beam.
- ToFault()
Put this station beam in ObsState.FAULT.
This is for use in testing only.
- __init__(*args, **kwargs)
Initialise this device object.
- antennaWeights()
Return the antenna weights configured for this beam.
- apertureId()
Return the Aperture Id.
- Return type:
- Returns:
the station beam Aperture Id, in the form APx.y y=substation
- channels()
Return the ids of the channels configured for this beam.
- create_component_manager()
Create and return a component manager for this device.
- Return type:
- Returns:
a component manager for this device.
- desiredPointing()
Return the desired pointing of this beam.
- hardwareBeamId()
Return the timestamp used for the pointing coordinates.
- Return type:
- Returns:
the timestamp used for the pointing coordinates.
- healthModelParams(argin)
Set the params for health transition rules.
- init_command_objects()
Initialise the command handlers for commands supported by this device.
- Return type:
- isBeamLocked()
Return a flag indicating whether the beam is locked or not.
- Return type:
- Returns:
whether the beam is locked or not
- logicalBeamId()
Return the logical beam id.
- Todo:
this documentation needs to differentiate logical beam id from beam id
- Return type:
- Returns:
the logical beam id
- pointingDelay()
Return the pointing delay of this beam.
- pointingDelayRate()
Return the pointing delay rate of this beam.
- pointingReferenceFrame()
Return the Reference Frame ID for the pointing coordinates.
- Return type:
- Returns:
the Reference Frame ID for the pointing coordinates
- pointingTimestamp()
Return the timestamp used for the pointing coordinates.
- Return type:
- Returns:
the timestamp used for the pointing coordinates.
- scanId()
Return the scan ID for the current scan.
- Return type:
- Returns:
the scan ID or 0 if not scanning