STAT Simulator

Module for providing the Simulated STAT capability.

class ska_pst_lmc.stat.stat_simulator.PstStatSimulator[source]

Class used for simulating STAT data.

Initialise the STAT simulator.

configure_scan(configuration: dict) None[source]

Simulate configuring a scan.

Parameters

configuration (dict) – the configuration to be configured

Raises

AssertionError if length of subband sizes not the same as num_subbands.

deconfigure_scan() None[source]

Simulate deconfiguring of a scan.

start_scan(args: dict) None[source]

Simulate start scanning.

Param

the scan arguments.

stop_scan() None[source]

Simulate stop scanning.

abort() None[source]

Tell the component to abort whatever it was doing.

get_data() StatMonitorData[source]

Get current STAT data.

Updates the current simulated data and returns the latest data.

Returns

current simulated STAT data.

Return type

StatMonitorData

get_subband_data() Dict[int, StatMonitorData][source]

Get simulated subband data.