orca.calibration.bandpass_pipeline
Bandpass calibration pipeline.
This module provides the bandpass calibration pipeline for OVRO-LWA data. Processes multiple measurement sets at a given frequency and LST hour to produce a bandpass calibration table.
- The pipeline:
Copies MS files to NVMe for fast processing.
Generates beam-based sky models and applies to each MS.
Concatenates and fixes metadata issues.
Flags RFI using AOFlagger and known bad antennas.
Solves for bandpass using CASA bandpass task.
Generates QA plots and archives results.
Example
>>> from orca.calibration.bandpass_pipeline import run_bandpass_calibration
>>> run_bandpass_calibration(ms_list, delay_table, '2024-01-15')
Functions
|
Run bandpass calibration for a frequency-hour block using NVMe. |
Module Contents
- orca.calibration.bandpass_pipeline.run_bandpass_calibration(ms_list, delay_table, obs_date, nvme_root='/fast/pipeline') str[source]
Run bandpass calibration for a frequency-hour block using NVMe.
- This function performs:
Copies the 24 MS files to NVMe (e.g., /fast/pipeline/).
Generates and applies a full-sky beam-based model to each MS.
Concatenates the MS files and fixes FIELD_ID/OBSERVATION_ID.
Sets the phase center to that of the central MS.
Flags RFI using AOFlagger and known bad antennas.
Performs CASA bandpass calibration using the provided delay table.
Generates a QA PDF showing per-antenna bandpass amplitude/phase.
- Moves output to:
/lustre/pipeline/calibration/bandpass/<FREQ>/<DATE>/<HOUR>/ with filename: bandpass_concat.<FREQ>_<HOUR>.bandpass
Cleans up NVMe temporary space.
- Parameters:
- Returns:
Full path to the bandpass table saved on Lustre.
- Return type: