Daily Gain Calibration

From EOVSA Wiki
Revision as of 14:13, 20 August 2017 by Dgary (talk | contribs)
Jump to navigation Jump to search

Similar as reference complex gain calibration, daily gain calibration refers to tuning the "system" amplitude and phase as a function of IF band at a finer level. Typically, daily gain calibration would be carried out three times between two reference gain calibrations every day. We have a routine to retrieve and analyze the daily gain calibration data, named phacal_anal.py. Start from a timestamp (Note: The time of day is important! Make sure to set it to somewhere in the middle of the day, e.g. 15:00 UT)

import phacal_anal as pa
from util import Time
t = Time('2017-07-03 15:00')
pa.phacal_anal(t)

phacal_anal will find all daily gain calibrations occurred during that natural day (CA local time).

Commands for calibrating the eclipse [temporary]

First run the refcal for the day:

from util import Time
import refcal_anal as ra
import cal_header as ch
out = ra.rd_refcal(Time(['2017-08-21 11:00','2017-08-21 14:00'))
out_corr = ra.unrot_refcal(out)
refcal = ra.refcal_anal(out)
ch.refcal2s