casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions
smoothcal Namespace Reference

Functions

def smoothcal

Function Documentation

def smoothcal.smoothcal (   vis = '',
  tablein = '',
  caltable = '',
  field = [''],
  smoothtype = 'median',
  smoothtime = 60.0 
)
Smooth calibration solution(s) derived from one or more sources:


A G- or T-type gain calibration can be smoothed.  The amplitude and
phase smoothing times are currently the same.  Calibration values
will be smoothed over all fields designed.

Keyword arguments:
vis -- Name of input visibility file
        default: none; example: vis='ngc5921.ms'
tablein -- Input calibration table (G or T)
        default: none; example: tablein='ngc5921.gcal'
caltable -- Output calibration table (smoothed)
        default: none; example: caltable='ngc5921_smooth.gcal'
field -- subset of fields to select and smooth
        default: '' means all; example: field='0319_415_1,3C286'
smoothtype -- The smoothing filter to be used for both amp and phase
        default: 'median'; example: smoothtype='mean'
        Options: 'median','mean'
smoothtime -- Smoothing filter time (sec)
        default: 300.0; example: smoothtime=60.

Definition at line 13 of file smoothcal.py.

References task_smoothcal.smoothcal(), and vla_uvfits_line_sf.verify.