MCCS Validation module (ska_oso_services.validation.mccs)

ska_oso_services.validation.mccs.validate_mccs(mccs_context: ValidationContext[ska_oso_pdm.sb_definition.MCCSAllocation]) list[ValidationIssue][source]
Parameters:

mccs_context – a ValidationContext containing a MCCS Allocation to be validated

Returns:

the collated ValidationIssues resulting from applying each of the relevant MCCS Validators to the MCCS Allocation

ska_oso_services.validation.mccs.validate_number_subarray_beams(mccs_context: ValidationContext[ska_oso_pdm.sb_definition.MCCSAllocation]) list[ValidationIssue][source]
Parameters:

mccs_context – a ValidationContext containing an MCCS Allocation to be validated

Returns:

a validation error if the number of subarray beams in the allocation exceeds the number permitted for the array assembly being validated against

ska_oso_services.validation.mccs.validate_number_substations(mccs_context: ValidationContext[ska_oso_pdm.sb_definition.MCCSAllocation]) list[ValidationIssue][source]
Parameters:

mccs_context – a ValidationContext containing an MCCS Allocation to be validated

Returns:

a validation error if the number of substations in a subarray beam in the allocation exceeds the number permitted for the array assembly being validated against

ska_oso_services.validation.mccs.validate_number_of_pst_beams_per_scan(mccs_context: ValidationContext[ska_oso_pdm.sb_definition.MCCSAllocation]) list[ValidationIssue][source]
Parameters:

mccs_context – a ValidationContext containing an MCCS Allocation to be validated

Returns:

a validation error if the number of PST tied array beams in a scan, across all subarray beams, does not exceed the number permitted for the array assembly being validated against

ska_oso_services.validation.mccs.validate_subarray_beams_per_scan_have_the_same_pointing_pattern(mccs_context: ValidationContext[ska_oso_pdm.sb_definition.MCCSAllocation]) list[ValidationIssue][source]
Parameters:

mccs_context – a ValidationContext containing an MCCS Allocation to be validated

Returns:

a validation error if the subarray beams in a scan do not have the same pointing pattern

ska_oso_services.validation.mccs.validate_subarray_beams_per_scan_have_the_same_number_of_partials(mccs_context: ValidationContext[ska_oso_pdm.sb_definition.MCCSAllocation]) list[ValidationIssue][source]
Parameters:

mccs_context – a ValidationContext containing an MCCS Allocation to be validated

Returns:

a validation error if the subarray beams in a scan do not have the same pointing pattern

ska_oso_services.validation.mccs.validate_subarray_beams_per_scan_have_the_same_duration(mccs_context: ValidationContext[ska_oso_pdm.sb_definition.MCCSAllocation]) list[ValidationIssue][source]
Parameters:

mccs_context – a ValidationContext containing an MCCS Allocation to be validated

Returns:

a validation error if the subarray beams in a scan do not have the same scan duration

ska_oso_services.validation.mccs.validate_station_bandwidth(mccs_context: ValidationContext[ska_oso_pdm.sb_definition.MCCSAllocation]) list[ValidationIssue][source]
Parameters:

mccs_context – a ValidationContext containing an MCCS Allocation to be validated

Returns:

a validation error if the total bandwidth in a scan, summed over all subarray beams, spectral windows and substations/apertures does not exceed the allowed value for the array assembly being validated against

class ska_oso_services.validation.mccs.BeamScan(beam: ska_oso_pdm.sb_definition.mccs.mccs_allocation.SubarrayBeamConfiguration, scan: ska_oso_pdm.sb_definition.ScanDefinition)[source]
class ska_oso_services.validation.mccs.ScanSlice(index: int, beam_scans: list[ska_oso_services.validation.mccs.BeamScan])[source]