Calibration Solution Plots

Calibration PDF utility (per-station cal images over a date range).

Run:

python calpdf.py 2025-07-01 2025-07-03 –root-path /home/jovyan/shared/test_executions/RunCalibrationSFTMultiple –save-path /home/jovyan/shared/auto_freq_sweep_check –symlink-in-cwd

ska_sci_ops_data_analysis.cal_sols_plots.cal_sols_plots(start_date: str, end_date: str, *, root_path: str = '/home/jovyan/shared/test_executions/RunCalibrationSFTMultiple', save_path: str = '/home/jovyan/shared/auto_freq_sweep_check', symlink_in_cwd: bool = False, cleanup_symlinks_flag: bool = False, cleanup_prefix: str = 'phase_solutions_mask_and_fitted') None

Generate a PDF of per-station calibration phase solution plots.

The function scans calibration output directories under root_path, collects phase_gain_solns_with_mask_and_fitted.png images for each configured station, and assembles them into a time-ordered PDF.

Missing images are explicitly noted in the output PDF.

Parameters:
  • start_date – Start date in YYYY-MM-DD format (inclusive).

  • end_date – End date in YYYY-MM-DD format (inclusive).

  • root_path – Root directory containing calibration execution folders.

  • save_path – Directory where the output PDF will be written.

  • symlink_in_cwd – If True, create a symlink to the generated PDF in the current working directory.

  • cleanup_symlinks_flag – If True, interactively remove matching PDF symlinks from the current working directory.

  • cleanup_prefix – Filename prefix used when identifying symlinks to clean up.