Subarray device Tango attributes
- LowCbfSubarray.adminMode()
Read the Admin Mode of the device.
It may interpret the current device condition and condition of all managed devices to set this. Most possibly an aggregate attribute.
- Return type:
AdminMode- Returns:
Admin Mode of the device
- LowCbfSubarray.assigned_processors()
Get a list of processors assigned to the subarray.
- Return type:
- Returns:
JSON string, a list of processor serial numbers
- LowCbfSubarray.delaysValid()
Get per-subarray delay polynomial validity value.
Legal values are:
0 - INVALID
1 - VALID
2 - UNUSED
- Returns:
delay validity status as integer
- Return type:
DevUShort
- LowCbfSubarray.processorsReadyPercent()
Get a percentage of processors ready for subarray scan.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
tuple[int,float,AttrQuality]- Returns:
tuple
percentage: rounded integer in the range [0, 100], None when ATTR_INVALID
time: float
quality: AttrQuality
- LowCbfSubarray.pstJonesAppliedPercent()
Get a percentage of PST Jones applied.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
tuple[int,float,AttrQuality]- Returns:
tuple
percentage: rounded integer in the range [0, 100], None when ATTR_INVALID
time: float
quality: AttrQuality
- LowCbfSubarray.pssJonesAppliedPercent()
Get a percentage of PSS Jones applied.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
tuple[int,float,AttrQuality]- Returns:
tuple
percentage: rounded integer in the range [0, 100], None when ATTR_INVALID
time: float
quality: AttrQuality
- LowCbfSubarray.pstJonesAge()
Get the age of latest PST Jones applied.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
tuple[int,float,AttrQuality]- Returns:
tuple
age: age of the PST Jones Matrix
time: float
quality: AttrQuality
- LowCbfSubarray.pssJonesAge()
Get the age of latest PSS Jones applied.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
tuple[int,float,AttrQuality]- Returns:
tuple
age: age of the PST Jones Matrix
time: float
quality: AttrQuality
- LowCbfSubarray.processorEthernetLockedPercent()
Get a percentage of Ethernet ports (processor/switch) ready for scan.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
tuple[int,float,AttrQuality]- Returns:
tuple
percentage: rounded integer in the range [0, 100], None when ATTR_INVALID
time: float
quality: AttrQuality
- LowCbfSubarray.pssBeams()
Return the
pssBeamsattribute.- Return type:
- LowCbfSubarray.pstBeams()
Return the
pstBeamsattribute.- Return type:
- LowCbfSubarray.sps_archive_interval()
Set/get archive interval (1 in N updates)
- Return type:
- LowCbfSubarray.sps_beam_freqs()
- Return type:
- Returns:
beam/freq order used for SPS stats
- LowCbfSubarray.sps_station_substations()
Return station/substation order used for SPS stats
- Return type:
- LowCbfSubarray.sps_stats_flag_percent()
Return latest SPS flagging statistics
- Returns:
2D array (stations * channels) of
np.uint8; range: [0, 100]%, 255 if no data
- LowCbfSubarray.sps_stats_rms_xpol()
Return latest SPS X-polarisation RMS statistics
- Returns:
2D array (stations * channels) of
np.uint8
- LowCbfSubarray.sps_stats_rms_ypol()
Return latest SPS Y-polarisation RMS statistics
- Returns:
2D array (stations * channels) of
np.uint8
- LowCbfSubarray.stationBeams()
Return the
stationBeamsattribute.- Return type:
- LowCbfSubarray.stations()
Report
station&substationmembership in subarray- Return type:
- LowCbfSubarray.write_adminMode(value)[source]
Set the Admin Mode of the device. Overide of ska-tango-base to prevent being set offline while resourced
- Parameters:
value (
AdminMode) – Admin Mode of the device.- Raises:
ValueError – for unknown adminMode
- Return type:
- LowCbfSubarray.stationBeamDelayReadyPercent()
Get a percentage of station beam delay subscriptions ready for subarray scan.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
tuple[int,float,AttrQuality]- Returns:
tuple
percentage: rounded integer in the range [0, 100], None when ATTR_INVALID
time: float
quality: AttrQuality
- LowCbfSubarray.pssBeamDelayReadyPercent()
Get a percentage of PSS beam delay subscriptions ready for for subarray scan.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
tuple[int,float,AttrQuality]- Returns:
tuple
percentage: rounded integer in the range [0, 100], None when ATTR_INVALID
time: float
quality: AttrQuality
- LowCbfSubarray.pstBeamDelayReadyPercent()
Get a percentage of PST beam delay subscriptions ready for for subarray scan.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
tuple[int,float,AttrQuality]- Returns:
tuple
percentage: rounded integer in the range [0, 100], None when ATTR_INVALID
time: float
quality: AttrQuality
- LowCbfSubarray.sdpHostsResolvedPercent()
Return percentage of SDP hosts resolved.
- LowCbfSubarray.pssHostsResolvedPercent()
Return the percentage of PSS hosts resolved.
- LowCbfSubarray.pstHostsResolvedPercent()
Return the percentage of PST hosts resolved.
- LowCbfSubarray.processorFpgaTemperatureMean()
Get the mean FPGA temperature across all assigned processors.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
- Returns:
tuple
value: mean temperature in degrees C
time: float
quality: AttrQuality
- LowCbfSubarray.processorFpgaPowerMean()
Get the mean FPGA power across all assigned processors.
The value is meaningful only when
obsStateis READY or SCANNING so we also return Tango attribute quality.- Return type:
- Returns:
tuple
value: mean power in Watts
time: float
quality: AttrQuality