suncasa.suncasatasks.private.task_calibeovsa.test
Attributes
Functions
|
Load refcal + phacals from a calwidget v2 calibeovsa-ready NPZ. |
|
|
|
Module Contents
- suncasa.suncasatasks.private.task_calibeovsa.test.load_calwidget_v2_npz(npz_path)[source]
Load refcal + phacals from a calwidget v2 calibeovsa-ready NPZ.
Returns a tuple
(refcal, phacals)whose dict layout matches whateovsapy.sqlutil.sql2refcalX()andsql2phacalX()produce, so the rest ofcalibeovsa()can consume them unchanged.Promoted-antenna metadata (the per-antenna source phacal timestamp written by
Promote to Refcal) is attached torefcal['promoted_antennas']for audit purposes; the scalarrefcal['timestamp']still drives the phacal-to-refcal time filter, so promoted antennas inherit the refcal’s time for now (downstream is unchanged).
- suncasa.suncasatasks.private.task_calibeovsa.test.calibeovsa(vis=None, caltype=None, caltbdir='', interp=None, docalib=True, doflag=True, flagant='', flagspw='', doimage=False, imagedir=None, antenna='', timerange=None, spw=None, stokes=None, dosplit=False, outputvis=None, doconcat=False, concatvis=None, keep_orig_ms=True, cal_npz=None)[source]
- Parameters:
vis – EOVSA visibility dataset(s) to be calibrated
caltype
interp
docalib
qlookimage
flagant
stokes
doconcat
- Returns: