STAT TANGO Device

Module for providing the STAT capability for the Pulsar Timing Sub-element.

class ska_pst_lmc.stat.stat_device.PstStat(*args: Any, **kwargs: Any)[source]

A software TANGO device for managing the STAT component of the PST.LMC subsystem.

This TANGO device is used to manage the statistics computation (STAT) for the PST.LMC subsystem.

init_device() None[source]

Initialise the attributes and properties of the PstStat.

This overrides the CspSubElementSubarray.

create_component_manager() PstStatComponentManager[source]

Create and return a component manager for this device.

Returns

a component manager for this device.

always_executed_hook() None[source]

Execute call before any TANGO command is executed.

delete_device() None[source]

Delete resources allocated in init_device.

This method allows for any memory or other resources allocated in the init_device method to be released. This method is called by the device destructor and by the device Init command.

handle_monitor_data_update(monitor_data: StatMonitorData) None[source]

Handle monitoring data.

Parameters

monitor_data (StatMonitorData) – the latest monitoring data that has been reported.

realPolAMeanFreqAvg() float

Get the mean of the real data for pol A, averaged over all channels.

realPolAVarianceFreqAvg() float

Get the variance of the real data for pol A, averaged over all channels.

realPolANumClippedSamples() int

Get the num of clipped samples of the real data for pol A.

imagPolAMeanFreqAvg() float

Get the mean of the imaginary data for pol A, averaged over all channels.

imagPolAVarianceFreqAvg() float

Get the variance of the imaginary data for pol A, averaged over all channels.

imagPolANumClippedSamples() int

Get the num of clipped samples of the imaginary data for pol A.

realPolAMeanFreqAvgRfiExcised() float

Get the mean of the real data for pol A, averaged over channels not flagged for RFI.

realPolAVarianceFreqAvgRfiExcised() float

Get the variance of the real data for pol A, averaged over channels not flagged for RFI.

realPolANumClippedSamplesRfiExcised() int

Get the num of clipped samples of the real data for pol A in channels not flagged for RFI.

imagPolAMeanFreqAvgRfiExcised() float

Get the mean of the imaginary data for pol A, averaged over channels not flagged for RFI.

imagPolAVarianceFreqAvgRfiExcised() float

Get the variance of the imaginary data for pol A, averaged over channels not flagged for RFI.

imagPolANumClippedSamplesRfiExcised() int

Get the num of clipped samples of the imaginary data for pol A in channels not flagged for RFI.

realPolBMeanFreqAvg() float

Get the mean of the real data for pol B, averaged over all channels.

realPolBVarianceFreqAvg() float

Get the variance of the real data for pol B, averaged over all channels.

realPolBNumClippedSamples() int

Get the num of clipped samples of the real data for pol B.

imagPolBMeanFreqAvg() float

Get the mean of the imaginary data for pol B, averaged over all channels.

imagPolBVarianceFreqAvg() float

Get the variance of the imaginary data for pol B, averaged over all channels.

imagPolBNumClippedSamples() int

Get the num of clipped samples of the imaginary data for pol B.

realPolBMeanFreqAvgRfiExcised() float

Get the mean of the real data for pol B, averaged over channels not flagged for RFI.

realPolBVarianceFreqAvgRfiExcised() float

Get the variance of the real data for pol B, averaged over channels not flagged for RFI.

realPolBNumClippedSamplesRfiExcised() int

Get the num of clipped samples of the real data for pol B in channels not flagged for RFI.

imagPolBMeanFreqAvgRfiExcised() float

Get the mean of the imaginary data for pol B, averaged over channels not flagged for RFI.

imagPolBVarianceFreqAvgRfiExcised() float

Get the variance of the imaginary data for pol B, averaged over channels not flagged for RFI.

imagPolBNumClippedSamplesRfiExcised() int

Get the num of clipped samples of the imaginary data for pol B in channels not flagged for RFI.

ska_pst_lmc.stat.stat_device.main(args: Optional[list] = None, **kwargs: Any) int[source]

Entry point for module.

Parameters
  • args – positional arguments

  • kwargs – named arguments

Returns

exit code :rtype-> int: