Notes on calibration changes for beamform (spectrum) data

Important days for calibration modification

(1) From 2023-09-26T05:00 Norm factor ‣ time sample 24

(2) From 2024-01-17T05:00 N^2 factor taken care of.

(3) From 2024-03-08, [faulty data] need to multiply N^2 after this day

(4) From 2024-03-28, [N^2 are corrected] normalization correctly done automatically after this day

N^2 correction:

function gen_beam_flux_factor generates csv file takes care of the N^2 and caltable scaling (need to use before 03-28 (but 03-08 to 03-28, need to multiply by N^2)).

Todo:

Background subtraction

Primary beam correction

caltable location:

/nas6/ovro-lwa-data/calibrations/caltables_beam/

Fits:

hdu[0]: dynamic spectrum (raw from h5)