Helper_CSP_Subarray_Leaf_Device

This module implements the Helper devices for subarray leaf nodes for testing an integrated TMC

class ska_tmc_simulators.helper_csp_subarray_leaf_device.HelperCspSubarrayLeafDevice(*args: Any, **kwargs: Any)

Bases: HelperSubarrayLeafDevice

A device exposing commands and attributes of the CSP Subarray Leaf Node devices.

InitCommand = None
init_device() None
read_cspSubarrayObsState()

Reads the current observation state of the CSP subarray

Returns:

obs state

read_cspSubarrayAdminMode()

Reads the current observation state of the CSP subarray

Returns:

obs state

SetCspSubarrayLeafNodeObsState(argin: int) None

Trigger a ObsState change

SetCspSubarrayLeafNodeAdminMode(argin: int) None

Trigger a ObsState change

push_obs_state_event(obs_state: int) None

This Method pushes change event for subarray observation state

Args:

obs_state (ObsState): Observation state of subarray