suncasa.suncasatasks.private.task_calibeovsa.test

Attributes

tasks

split

tclean

gencal

clearcal

applycal

flagdata

casalog

bandpass

tools

tbtool

mstool

qatool

iatool

tb

ms

qa

ia

Functions

load_calwidget_v2_npz(npz_path)

Load refcal + phacals from a calwidget v2 calibeovsa-ready NPZ.

flag_phambd_by_spw(caltb[, flagspw])

calibeovsa([vis, caltype, caltbdir, interp, docalib, ...])

Module Contents

suncasa.suncasatasks.private.task_calibeovsa.test.tasks[source]
suncasa.suncasatasks.private.task_calibeovsa.test.split[source]
suncasa.suncasatasks.private.task_calibeovsa.test.tclean[source]
suncasa.suncasatasks.private.task_calibeovsa.test.gencal[source]
suncasa.suncasatasks.private.task_calibeovsa.test.clearcal[source]
suncasa.suncasatasks.private.task_calibeovsa.test.applycal[source]
suncasa.suncasatasks.private.task_calibeovsa.test.flagdata[source]
suncasa.suncasatasks.private.task_calibeovsa.test.casalog[source]
suncasa.suncasatasks.private.task_calibeovsa.test.bandpass[source]
suncasa.suncasatasks.private.task_calibeovsa.test.tools[source]
suncasa.suncasatasks.private.task_calibeovsa.test.tbtool[source]
suncasa.suncasatasks.private.task_calibeovsa.test.mstool[source]
suncasa.suncasatasks.private.task_calibeovsa.test.qatool[source]
suncasa.suncasatasks.private.task_calibeovsa.test.iatool[source]
suncasa.suncasatasks.private.task_calibeovsa.test.tb[source]
suncasa.suncasatasks.private.task_calibeovsa.test.ms[source]
suncasa.suncasatasks.private.task_calibeovsa.test.qa[source]
suncasa.suncasatasks.private.task_calibeovsa.test.ia[source]
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 what eovsapy.sqlutil.sql2refcalX() and sql2phacalX() produce, so the rest of calibeovsa() can consume them unchanged.

Promoted-antenna metadata (the per-antenna source phacal timestamp written by Promote to Refcal) is attached to refcal['promoted_antennas'] for audit purposes; the scalar refcal['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.flag_phambd_by_spw(caltb, flagspw='0~1')[source]
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: