Class MidPST

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class MidPST : public ska::pst::recv::UDPFormat

Abstract class for UDPFormats used in the Mid.PST observing bands. Defines common parameters in the CBF/PSR configuration used in the Mid.CBF to Mid.PST interface for Bands 1, 2, 3, 4 and 5.

Subclassed by ska::pst::recv::MidPSTBand1, ska::pst::recv::MidPSTBand2, ska::pst::recv::MidPSTBand3, ska::pst::recv::MidPSTBand4, ska::pst::recv::MidPSTBand5

Public Functions

MidPST()

Construct a new MidPST object.

~MidPST() = default

Destroy the MidPST object.

virtual std::pair<unsigned, unsigned> get_expected_os_factor() override

Get the expected OS_FACTOR for the UDPFormat.

For all MidPST expected OS_FACTOR = 8/7.

Returns

a pair of unsigned values. The first is the numerator and the second is the denominator.

Public Static Functions

static unsigned get_samples_per_packet()

Return the number of time samples per UDP packet.

Returns

unsigned number of time samples per UDP packet