ska_sdp_e2e_batch_continuum_imaging.pipelines.service.calibration_service module
- class ska_sdp_e2e_batch_continuum_imaging.pipelines.service.calibration_service.SelfcalSolutions(facet_region_file, solutions_file)[source]
Bases:
objectData class for storing self-calibration solution file paths.
- facet_region_file
Path to the generated facet region file.
- Type:
- solution_file
Path to the generated calibration solution file.
- Type:
- ska_sdp_e2e_batch_continuum_imaging.pipelines.service.calibration_service.get_inst_env_vars(global_parameters)[source]
Get the environment variables required for the INSTRunner.
- ska_sdp_e2e_batch_continuum_imaging.pipelines.service.calibration_service.instrumental_calibration(scans, calibration_configuration, output_dir, sdm_path, global_configuration)[source]
Perform instrumental calibration using the INSTRunner.
- Parameters:
scans (list of os.PathLike) -- List of scans to be processed.
calibration_configuration (BandpassCalibration) -- Configuration settings for the bandpass calibration.
output_dir (os.PathLike) -- Path to the output directory.
sdm_path (os.PathLike) -- Path to the Science Data Model.
global_configuration (GlobalParameterConfig) -- Global pipeline configuration parameters.
- ska_sdp_e2e_batch_continuum_imaging.pipelines.service.calibration_service.instrumental_target_calibration(scans, complex_gain_calibration, ionospheric_calibration, global_comfiguration, field_id, output_path, sdm_path)[source]
Perform a complex gain and ionospheric calibration.
- Parameters:
scans (list of os.PathLike) -- List of scans to be processed.
complex_gain_calibration (ComplexGainCalibration) -- Configuration settings for complex gain calibration.
ionospheric_calibration (IonosphericCalibration) -- Configuration settings for ionospheric calibration.
global_comfiguration (GlobalParameterConfig) -- Global pipeline configuration parameters.
field_id (str) -- The identifier for the field being calibrated.
output_path (os.PathLike) -- Path to the base output directory.
sdm_path (os.PathLike) -- Path to the Science Data Model.
- Returns:
The result of the final calibration application step.
- Return type:
Any
- ska_sdp_e2e_batch_continuum_imaging.pipelines.service.calibration_service.self_calibration(scans, calibration_configuration, output_dir)[source]
Execute self-calibration using the RapthorRunner.
- Parameters:
scans (list of os.PathLike) -- List of scans to be processed.
calibration_configuration (SelfCalibration) -- Configuration settings for self-calibration loops.
output_dir (os.PathLike) -- Path to the output directory.
- Returns:
Container holding paths to facet regions and solution files.
- Return type:
- ska_sdp_e2e_batch_continuum_imaging.pipelines.service.calibration_service.ical_target_calibration(scans, calibration_configuration, ionospheric_calibration, global_comfiguration, field_id, output_dir, sdm_path)[source]
Perform iterative direction independent calibration on a target field.
- Parameters:
scans (list of os.PathLike) -- List of scans to be processed.
calibration_configuration (SelfCalibration) -- Configuration settings for the self-calibration loops.
ionospheric_calibration (IonosphericCalibration) -- Configuration settings for ionospheric calibration.
global_comfiguration (GlobalParameterConfig) -- Global pipeline configuration parameters.
field_id (str) -- The identifier for the field being calibrated.
output_path (os.PathLike) -- Path to the base output directory.
sdm_path (os.PathLike) -- Path to the Science Data Model.
- Returns:
The path to the calibrated visibility data.
- Return type: