FspModeSubarray Class

class ska_mid_cbf_mcs.fsp_obs_mode.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

SubarrayID

Corresponding Subarray ID for this FSP observing mode device.

scan_start_time_rounded_signal: AttrSignal[int]

Signal for the scanStartTimeRounded attribute. Values are emitted for this signal whenever a client changes the attribute.

first_output_time_signal: AttrSignal[int]

Signal for the firstOutputTime attribute. Values are emitted for this signal whenever a client changes the attribute.

scanStartTimeRounded: attribute_from_signal

scanStartTimeRounded device attribute

firstOutputTime: attribute_from_signal

firstOutputTime device attribute

vccIDs

Assigned VCC IDs

lastFhsScanConfiguration

The last valid FSP scan configuration sent to FHS.

is_SetFirstOutputTime_allowed(request_type: LRCReqType = LRCReqType.ENQUEUE_REQ) bool[source]

Check if SetFirstOutputTime is allowed.

Parameters:

request_type – if LRCReqType.ENQUEUE_REQ, the task has only been submitted to the LRC queue, and this method will always return True; otherwise, task has been popped off the LRC queue, and the command allowance can be checked.

Returns:

True if allowed, else False.

SetFirstOutputTime(first_output_time: int) tuple[list[ResultCode], list[str]][source]

Sets the time of the first FSP output product for the current scan.

This will then be flown down to the FHS FSP Mode devices

Parameters:

first_output_time – The first output time, sync across all the FSP in the same subarray during a scan

is_UpdateDelayModel_allowed() bool[source]

Check if UpdateDelayModel is allowed.

Returns:

True if command is allowed, otherwise False

UpdateDelayModel(delay_model_data: str) tuple[list[ResultCode], list[str]][source]

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

Parameters:

delay_model_data – the delay model data