dishlnpd_component_manager

Submodules

dishlnpd_component_manager

This module provides an implementation of the Dish Leaf Node pointing device component manager.

class ska_dishln_pointing_device.dishlnpd_component_manager.dishlnpd_component_manager.DishlnPointingDataComponentManager(*args: Any, **kwargs: Any)

Bases: TmcLeafNodeComponentManager

A component manager for The Dish leaf node pointing device component.

clear_track_table_errors()

Clear track table errors

create_converter_obj_and_antenna_obj()

Create AzElConverter Object and antenna object

create_track_table_thread() None

This creates thread for track table calculation.

property current_track_table_error

Returns the trackTableError of the dish leaf node.

download_antenna_and_iers_data()

Method that downloads antenna and iers data

download_iers_data() None

Downloads and initialises the IERS file. Incase of error with main link, tries downloading using Mirror link.

Returns:

None

Return type:

None

download_iers_data_from_a_different_source() None

Downloads and initialises the IERS file from the mirror or local links.

Returns:

None

Return type:

None

generate_program_track_table(task_callback: ska_tango_base.base.TaskCallbackType) Tuple[ska_tango_base.commands.TaskStatus, str]

Submit GenerateProgramTrackTable as a long-running background task.

Parameters:
  • task_callback (TaskCallbackType) – A callback used to monitor

  • progress. (or update task) –

Returns:

The final status of the task and a status message.

Return type:

Tuple[TaskStatus, str]

is_fixed_mapping_scan() bool

Method to check is current scan is fixed mapping scan :return: True/False :rtype: boolean

set_wrap_sector_data() None

Set the wrap sector for the observation

Returns:

None

start_track_table_calculation() None

This method creates and starts a thread for the programTrackTable calculation.

stop_track_table_thread()

Stop the track table thread if it is running

property target_data: dict

This method is used to view target data. :returns: Dictionary of configure data

track_thread() None

This method manages calculation and writing of programTrackTable attribute on DishMaster at the required frequency.

Returns:

None

Return type:

None

update_pointing_program_track_table(program_track_table: List) None

This method writes the programTrackTable attribute on dish master device.

Parameters:

program_track_table (list) – It a list of TAI time, Az and El for expected number of TAI times (TrackTableEntries).

Returns:

None

Return type:

None

property wrap_sector: int

Get the wrap sector value :return: wrap sector value :rtype: int

property wrap_sector_key: bool
Get the pointing key type

True => [‘pointing’][‘groups’] as per ADR-106 False => [‘pointing’][‘target’] old or deprecated

Returns:

boolean value.