RECV Model

Module for providing common model classes within the RECV.MGMT component.

class ska_pst_lmc.receive.receive_model.ReceiveData(data_received: int = 0, data_receive_rate: float = 0.0, data_dropped: int = 0, data_drop_rate: float = 0.0, misordered_packets: int = 0, misordered_packet_rate: float = 0.0, malformed_packets: int = 0, malformed_packet_rate: float = 0.0, misdirected_packets: int = 0, misdirected_packet_rate: float = 0.0, checksum_failure_packets: int = 0, checksum_failure_packet_rate: float = 0.0, timestamp_sync_error_packets: int = 0, timestamp_sync_error_packet_rate: float = 0.0, seq_number_sync_error_packets: int = 0, seq_number_sync_error_packet_rate: float = 0.0)[source]

A data class to transfer current RECV data between the process and the component manager.

Variables
  • data_received (int) – amount of data received during current scan, in bytes.

  • data_receive_rate (float) – the rate of data received during current scan, in Gb/s.

  • data_dropped (int) – amount of data dropped during current scan, in bytes.

  • data_drop_rate (float) – the rate of data dropped during current scan, in Bytes/s.

  • misordered_packets (int) – the number of misordered packets received during current scan.

  • malformed_packets (int) – the total number of malformed packets during current scan.

  • malformed_packet_rate (float) – the current rate of malformed packets.

  • misdirected_packets (int) – the total of misdirected packets for current scan. These are valid packets but not for the current beam, subband, and/or scan.

  • misdirected_packet_rate (float) – the current rate of misdirected packets.

  • checksum_failure_packets (int) – the total number of network interface with either a UDP, IP header or CRC checksum failure.

  • checksum_failure_packet_rate (float) – the current rate of packets with a checksum failure.

  • timestamp_sync_error_packets (int) – the total number of packets received where the timestamp has become desynchronised with the packet sequence number * sampling interval.

  • timestamp_sync_error_packet_rate (float) – the current rate of packets with timestamp sync error.

  • seq_number_sync_error_packets (int) – the total number of packets received where the packet sequence number has become desynchronised with the data rate and elapsed time.

  • seq_number_sync_error_packet_rate (float) – the current rate of packets with a sequence number sync error.

class ska_pst_lmc.receive.receive_model.ReceiveDataStore[source]

A data store for Receive subband monitoring data.

This data store will aggregate the separate data

Initialise data store.

property monitor_data: ReceiveData

Return the current calculated monitoring data.

This aggregates all the individual subband data values into one ReceiveData instance.

Returns

current monitoring data.