FspModeSubarray Class

class ska_mid_cbf_mcs.fsp.fsp_mode_subarray_device.FspModeSubarray(*args: Any, **kwargs: Any)[source]

Bases: CbfObsDevice

FspModeSubarray TANGO device class for the FspModeSubarray prototype Abstract class for the various FSP Modes to inherit

vccIDs() list[int]

Read the vccIDs attribute; FSP deals with VCC, not DISH (receptor) IDs.

Returns:

the list of assigned VCC IDs

Return type:

list[int]

lastHpsScanConfiguration() str

Read the last valid FSP scan configuration of the device sent to HPS.

Returns:

the current last_hps_scan_configuration value

delayModel() str

Read the delayModel attribute.

Returns:

the delayModel attribute.

Return type:

string

class InitCommand(*args: Any, **kwargs: Any)[source]

Bases: InitCommand

A class for the FspCorrSubarray’s init_device() “command”.

do(*args: any, **kwargs: any) ska_tango_base.base.base_device.DevVarLongStringArrayType[source]

Stateless hook for device initialisation.

Returns:

A tuple containing a return code and a string message indicating status. The message is for information purpose only.

Return type:

(ResultCode, str)

init_command_objects() None[source]

Sets up the command objects

class UpdateDelayModelCommand(*args: Any, **kwargs: Any)[source]

Bases: CbfFastCommand

A class for the Fsp’s UpdateDelayModel() command.

is_allowed() bool[source]

Determine if UpdateDelayModel command is allowed.

Returns:

True if command is allowed, otherwise False

do(argin: str) ska_tango_base.base.base_device.DevVarLongStringArrayType[source]

Stateless hook for UpdateDelayModel() command functionality.

Parameters:

argin – the delay model data

Returns:

A tuple containing a return code and a string message indicating status. The message is for information purpose only.

Return type:

(ResultCode, str)

UpdateDelayModel(argin: str) ska_tango_base.base.base_device.DevVarLongStringArrayType

Update the FSP’s delay model (serialized JSON object)

Parameters:

argin – the delay model data