ska_dishln_pointing_device.mapping_scan
Submodules
mapping
This module provides base class for the mappings/patterns
- class ska_dishln_pointing_device.mapping_scan.mapping.BaseScanMapping(pattern_name: str, component_manager, logger: Logger)
Bases:
object
Base class for all scan mappings/patterns
- extract_target_from_config()
Method to set the received ra and dec in the pointing groups field key
- get_offset_in_rad(x: float, y: float) tuple
Return the offset in radian
- get_projection() List[Union[str, Any]]
This method returns the projection name and projection alignment :return: projection name, projection alignment :rtype: List
- get_radec_from_plane_to_sphere() Tuple[float, float]
Convert plane coordinates to RA/Dec using spherical projection.
- Returns:
A list containing the calculated RA and Dec coordinates in string.
- Return type:
List[str]
- set_target_and_start_process()
Generate program track table for normal scans.
- Parameters:
scan_parameters (dict) – A dictionary containing scan parameters.
scan_id (str) – A string representing the scan ID.
- Returns:
A dictionary containing the program track table.
- Return type:
dict
- set_trajectory_and_duration()
Create Trajectory Object and set duration
- setup_observation_target() None
Set target required for mapping scan
point_mapping
Module for generating program track table for normal scans
- class ska_dishln_pointing_device.mapping_scan.point_mapping.FixedMappingScan(pattern_name: str, component_manager, logger: Logger)
Bases:
BaseScanMapping
FixedMappingScan class inherits from BaseScanMapping class. It is used to generate program track table for normal scans.