Scans Validation module (ska_oso_services.validation.scan)

ska_oso_services.validation.scan.validate_scan_definition(scan_definition_context: ValidationContext[ska_oso_pdm.sb_definition.ScanDefinition]) list[ValidationIssue][source]
Parameters:

scan_definition_context – a ValidationContext containing a ScanDefinition to be validated. This should also contain a relevant_context with the target and csp_config for the scan

Returns:

the collated ValidationIssues resulting from applying each of scan Validators to the scan_definition

ska_oso_services.validation.scan.validate_tied_array_beam_within_hpbw(scan_definition_context: ValidationContext[ska_oso_pdm.sb_definition.ScanDefinition]) list[ValidationIssue][source]
Parameters:

scan_definition_context – a ValidationContext containing a ScanDefinition to be validated

Returns:

a validation error for any of the PST beams that are further than half of the half-power beamwidth (HPBW) of the dish or station beam for the given source