calibeovsa

Module Contents

Classes

_calibeovsa

calibeovsa ---- Calibrating EOVSA one or more measurement sets using calibration products in the SQL database.

Functions

static_var(varname, value)

Attributes

calibeovsa

calibeovsa.static_var(varname, value)[source]
class calibeovsa._calibeovsa[source]

calibeovsa —- Calibrating EOVSA one or more measurement sets using calibration products in the SQL database.

Calibrating EOVSA one or more measurement sets using calibration products in the SQL database. This task currently only works on pipeline.

——— parameter descriptions ———————————————

vis input EOVSA (uncalibrated) measurement set(s). caltype Types of calibrations to perform caltbdir Directory to place calibration tables. interp Temporal interpolation for phacal table(s) (nearest or linear) docalib If False, only create the calibration tables but do not perform applycal. doflag If true then perform flagging. flagant Antennas to be flagged. Follow CASA syntax of “antenna”. doimage If True, produce a quicklook image after calibration (sunpy must be installed). imagedir directory to place output images. Default current directory. antenna antenna/baselines to be used for imaging. Follow CASA syntax of “antenna”. timerange Timerange to be imaged. Follow CASA syntax of “timerange”. Default is the entire duration of the ms. spw spectral windows to be imaged. Follow CASA syntax of “spw”. stokes stokes to be imaged. Follow CASA syntax of “stokes”. dosplit If True, plit the corrected data column as output visibility file. outputvis Name of output visibility file. Default is the name of the first vis file ended with “.corrected.ms”. doconcat If True, and if more than one visibility dataset provided, concatenate all into one visibility. concatvis Name of output visibility file. Default is the name of the first + last vis file ended with “.corrected.ms”. keep_orig_ms Keep the original seperated ms datasets after split?

——— examples ———————————————————–

Calibrating EOVSA one or more measurement sets using calibration products in the SQL database.

Detailed Keyword arguments:

vis – Name of input EOVSA measurement set dataset(s) default: none. Must be supplied example: vis = ‘IDB20160524000518.ms’ example: vis = [‘IDB20160524000518.ms’,’IDB20160524000528.ms’]

caltype – list. Type of calibrations to be applied. ‘refpha’: reference phase calibration ‘refamp’: reference amplitude calibration (not used anymore) ‘phacal’: daily phase calibration ‘fluxcal’: flux calibration based on total-power measurements default value: [‘refpha’,’phacal’] * note fluxcal is already implemented in udb_corr when doing importeovsa, should not be used anymore ** *** pipeline only uses [‘refpha’,’phacal’]

caltbdir – string. Place to hold calibration tables. Default is current directory. Pipeline should use /data1/eovsa/caltable

interp – string. How interpolation is done for phacal? ‘nearest’ or ‘linear’

docalib – boolean. Default True. If False, only create the calibration tables but do not perform applycal

doflag – boolean. Default True. Peforming flags?

flagant – string. Follow CASA antenna selection syntax. Default ‘13~15’.

doimage – boolean. Default False. If true, make a quicklook image using the specified time range and specified spw range

imagedir – string. Directory to place the output image.

antenna – string. Default ‘0~12’. Antenna/baselines to be used for imaging. Follow CASA antenna selection syntax.

timerange – string. Default ‘’ (the whole duration of the visibility data). Follow CASA timerange syntax. e.g., ‘2017/07/11/20:16:00~2017/07/11/20:17:00’

spw – string. Default ‘1~3’. Follow CASA spw selection syntax.

stokes – string. Which stokes for the quicklook image. CASA syntax. Default ‘XX’

dosplit – boolean. Split the corrected data column?

outputvis – string. Output visibility file after split

doconcat – boolean. If more than one visibility dataset provided, concatenate all into one or make separate outputs if True

concatvis – string. Output visibility file after concatenation

keep_orig_ms – boolean. Default True. Inherited from suncasa.eovsa.concateovsa. Keep the original seperated ms datasets after concatenation?

_info_group_ = 'Calibration'[source]
_info_desc_ = 'Calibrating EOVSA one or more measurement sets using calibration products in the SQL database.'[source]
__schema[source]
__globals_()[source]
__to_string_(value)[source]
__validate_(doc, schema)[source]
__do_inp_output(param_prefix, description_str, formatting_chars)[source]
__doimage_dflt(glb)[source]
__doimage(glb)[source]
__vis_dflt(glb)[source]
__vis(glb)[source]
__caltbdir_dflt(glb)[source]
__caltbdir(glb)[source]
__docalib_dflt(glb)[source]
__docalib(glb)[source]
__interp_dflt(glb)[source]
__interp(glb)[source]
__caltype_dflt(glb)[source]
__caltype(glb)[source]
__doflag_dflt(glb)[source]
__doflag(glb)[source]
__dosplit_dflt(glb)[source]
__dosplit(glb)[source]
__doconcat_dflt(glb)[source]
__doconcat(glb)[source]
__antenna_dflt(glb)[source]
__stokes_dflt(glb)[source]
__flagant_dflt(glb)[source]
__concatvis_dflt(glb)[source]
__outputvis_dflt(glb)[source]
__keep_orig_ms_dflt(glb)[source]
__imagedir_dflt(glb)[source]
__spw_dflt(glb)[source]
__timerange_dflt(glb)[source]
__flagant(glb)[source]
__imagedir(glb)[source]
__antenna(glb)[source]
__timerange(glb)[source]
__spw(glb)[source]
__stokes(glb)[source]
__outputvis(glb)[source]
__concatvis(glb)[source]
__keep_orig_ms(glb)[source]
__vis_inp()[source]
__caltype_inp()[source]
__caltbdir_inp()[source]
__interp_inp()[source]
__docalib_inp()[source]
__doflag_inp()[source]
__flagant_inp()[source]
__doimage_inp()[source]
__imagedir_inp()[source]
__antenna_inp()[source]
__timerange_inp()[source]
__spw_inp()[source]
__stokes_inp()[source]
__dosplit_inp()[source]
__outputvis_inp()[source]
__doconcat_inp()[source]
__concatvis_inp()[source]
__keep_orig_ms_inp()[source]
set_global_defaults()[source]
inp()[source]
tget(savefile=None)[source]
tput(outfile=None)[source]
__call__(vis=None, caltype=None, caltbdir=None, interp=None, docalib=None, doflag=None, flagant=None, doimage=None, imagedir=None, antenna=None, timerange=None, spw=None, stokes=None, dosplit=None, outputvis=None, doconcat=None, concatvis=None, keep_orig_ms=None)[source]
calibeovsa.calibeovsa[source]