ska_tmc_centralnode package
Subpackages
- ska_tmc_centralnode.commands package
- Submodules
- ska_tmc_centralnode.commands.abstract_command module
- ska_tmc_centralnode.commands.assign_resources_command module
- ska_tmc_centralnode.commands.release_resources_command module
- ska_tmc_centralnode.commands.stow_antennas_command module
- ska_tmc_centralnode.commands.telescope_off_command module
- ska_tmc_centralnode.commands.telescope_on_command module
- ska_tmc_centralnode.commands.telescope_standby_command module
TelescopeStandby
TelescopeStandby.do_low()
TelescopeStandby.do_mid()
TelescopeStandby.telescope_standby()
TelescopeStandby.turn_off_dishes()
TelescopeStandby.turn_standby_csp()
TelescopeStandby.turn_standby_mccs()
TelescopeStandby.turn_standby_sdp()
TelescopeStandby.turn_standby_subarrays()
TelescopeStandby.update_task_status()
- ska_tmc_centralnode.commands.load_dish_config_command module
- Module contents
- ska_tmc_centralnode.manager package
- ska_tmc_centralnode.model package
Submodules
ska_tmc_centralnode.central_node module
ska_tmc_centralnode.central_node_low module
ska_tmc_centralnode.central_node_mid module
ska_tmc_centralnode.input_validator module
Input Validator class for central node
- class ska_tmc_centralnode.input_validator.AssignResourceValidator(subarray_list, receptor_list, dish_leaf_node_prefix, logger=<Logger ska_tmc_centralnode.input_validator (WARNING)>)
Bases:
object
Class to validate the input string of AssignResources command of Central Node
- loads(input_string)
- Validates the input string received as an argument of AssignResources
command.
If the request is correct, returns the deserialized JSON object. The ska-tmc-cdm is used to validate the JSON.
- Param:
input_string: A JSON string
- Returns:
Deserialized JSON object if successful.
- Throws:
InvalidJSONError: When the JSON string is not formatted properly.
SubarrayNotPresentError: If the subarray is not present.
ResourceNotPresentError: When a receptor in the receptor_id_list is not present.
- class ska_tmc_centralnode.input_validator.ReleaseResourceValidator(logger=<Logger ska_tmc_centralnode.input_validator (WARNING)>)
Bases:
object
Class to validate the input string of ReleaseResources command of Central Node
- loads(input_string)
Validates the input string received as an argument of ReleaseResources command. If the request is correct, returns the deserialized JSON object. The ska-tmc-cdm is used to validate the JSON.
- Param:
input_string: A JSON string
- Returns:
Deserialized JSON object if successful.
- Throws:
InvalidJSONError: When the JSON string is not formatted properly.
SubarrayNotPresentError: If the subarray is not present.
ResourceNotPresentError: When a receptor in the receptor_id_list is not present.
ska_tmc_centralnode.release module
Release information for Python Package
Module contents
CentralNode
Central Node is a coordinator of the complete M&C system.