Low.CBF Subarray Component

class ska_csp_lmc_low.subarray.low_subarray_component.LowCbfSubarrayComponent(*args: Any, **kwargs: Any)

Bases: CbfSubarrayComponent

Specialization of the Cbf Subarray component class for the LOW Telescope.

property assigned_stations: List[int]

stations assigned to Cbf subarray on success, otherwise an empty list

Type:

return

property assigned_station_beams: List[int]

stations beams currently assigned to Cbf subarray on success, otherwise an empty list

Type:

return

property assigned_pss_beams: List[int]

pss Beams assigned to Cbf subarray on success, otherwise an empty list

Type:

return

property assigned_pst_beams: List[int]

pst Beams currently assigned to Cbf subarray on success, otherwise an empty list

Type:

return

releaseresources(resources_list, callback: Callable) None

Invoke the release resources command on the Low CBF subarray.

Parameters:
  • resources_list – The release resource dictionary with configuration

  • callback – Method invoked when the commands end on the target device

Raise:

ValueError exception if the list of receptors specified into the configuration dictionary is not valid

assignresources(resources_list, callback)

Invoke the assign resources command on the Low CBF subarray.

Parameters:
  • argument – The assign resource dictionary with configuration

  • callback – Method invoked when the commands end on the target device

Raise:

ValueError exception if the list of receptors specified into the configuration dictionary is not valid

validated_resources(resources: dict, action: str)

# pylint: disable-next=fixme TODO: available resources of CBF are required to implement this method.

releaseallresources(callback: Callable | None = None)

Invoke the releaseall resources command on the Low CBF subarray.

Parameters:

callback – Method invoked when the commands end on the target device

Raise:

ValueError exception if the list of receptors specified into the configuration dictionary is not valid

configure(resources: dict, callback: Callable | None = None)

Invoke the releaseall resources command on the Low CBF subarray.

Parameters:

callback – Method invoked when the commands end on the target device

Raise:

ValueError exception if the list of receptors specified into the configuration dictionary is not valid

gotoidle(callback: Callable | None = None)

Invoke the releaseall resources command on the Low CBF subarray.

Parameters:

callback – Method invoked when the commands end on the target device

Raise:

ValueError exception if the list of receptors specified into the configuration dictionary is not valid

update_pst_json_configuration(original_dict: Dict, updated_info: Dict)

Update the configuration script adding the PST Beam(s) addresses.

Parameters:
  • original_dict – the original input configuration.

  • updated_info – the updated configuration.

Low.PSS Subarray Component

class ska_csp_lmc_low.subarray.low_subarray_component.LowPssSubarrayComponent(*args: Any, **kwargs: Any)

Bases: PssSubarrayComponent

Specialization of the PssSubarray component class for the Low Telescope.

validated_resources(resources: dict, action: str) List[int]

Validate the input configuration for the resources to assign.

Parameters:
  • resources – the PSS resources to assign/remove to/from the Low Subarray

  • action – the action to perform: assign or release

assignresources(resources_list: Dict, callback: Callable | None = None) None

Invoke the assign resources command on the Low PSS subarray.

Parameters:
  • resources_list – The assign resource dictionary with configuration

  • callback – Method invoked when the commands end on the target device

Returns:

None

Raise:

ValueError exception if the list of receptors specified into the configuration dictionary is not valid

releaseallresources(callback: Callable | None = None)

Invoke the releaseall resources command on the Low PSS subarray.

Parameters:

callback – Method invoked when the commands end on the target device

Returns:

None

Raise:

ValueError exception if the list of receptors specified into the configuration dictionary is not valid