ska_sdp_e2e_batch_continuum_imaging.pipelines.service.config_service module
- ska_sdp_e2e_batch_continuum_imaging.pipelines.service.config_service.load_sdp_config(config_path)[source]
Load an SDP configuration from a JSON file.
- Parameters:
config_path (
str) -- Absolute path to the SDP configuration JSON file.- Return type:
- Returns:
The loaded SDP configuration.
- Raises:
FileNotFoundError -- If the configuration file does not exist.
- ska_sdp_e2e_batch_continuum_imaging.pipelines.service.config_service.sdp_to_e2e_pipeline_config(config)[source]
Convert an SDP configuration to an E2E pipeline configuration. It iterate through the visibility subpaths in the SDP config to find measurement sets, categorises them into calibrator sources and target sources on the basis of scan intent, and generates the corresponding E2E pipeline configuration.
- Parameters:
config (
SDPBatchE2EPipelineConfig) -- The SDP configuration to convert.- Returns:
The converted E2E pipeline configuration.
- Return type: