DSP TANGO Device
Module for providing the DSP capability for the Pulsar Timing Sub-element.
- class ska_pst_lmc.dsp.dsp_device.PstDsp(*args: Any, **kwargs: Any)[source]
A software TANGO device for managing the DSP component of the PST.LMC subsystem.
- init_device() None [source]
Initialise the attributes and properties of the PstDsp.
This overrides the
SKABaseDevice
.
- create_component_manager() PstDspComponentManager [source]
Create and return a component manager for this device.
- Returns
a component manager for this device.
- 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: DspDiskMonitorData) None [source]
Handle monitoring data.
- Parameters
monitor_data (DspDiskMonitorData) – the latest monitoring data that has been reported.
- diskCapacity() int
Total capacity of the disk that DSP is writing to.
- Returns
total capacity of the disk that DSP is writing to, in bytes.
- Return type
- availableDiskSpace() int
Available space on the disk that DSP is writing to.
- Returns
available space on the disk that DSP is writing to, in bytes.
- Return type
- diskUsedBytes() int
Get sed space on the disk that DSP is writing to.
This is diskCapacity - availableDiskSpace.
- Returns
use space on the disk that DSP is writing to, in bytes.
- Return type
- diskUsedPercentage() float
Get used space on the disk that DSP is writing to.
This is 100.0 * (diskCapacity - availableDiskSpace)/availableDiskSpace.
- Returns
use space on the disk that DSP is writing to, in bytes.
- Return type
- dataRecordRate() float
Get current rate of writing to the disk.
- Returns
use space on the disk that DSP is writing to, in bytes.
- Return type
- dataRecorded() int
Get number of bytes written during scan.
- Returns
number of bytes written during scan.
- Return type
- availableRecordingTime() float
Get current rate of writing to the disk.
- Returns
use space on the disk that DSP is writing to, in bytes.
- Return type