Public Member Functions | |
def | __init__ |
def | __call__ |
Private Attributes | |
__bases__ | |
__doc__ | |
Static Private Attributes | |
string | __name__ |
Definition at line 18 of file hanningsmooth_pg.py.
def hanningsmooth_pg.hanningsmooth_pg_.__init__ | ( | self | ) |
Definition at line 21 of file hanningsmooth_pg.py.
def hanningsmooth_pg.hanningsmooth_pg_.__call__ | ( | self, | |
vis = None , |
|||
datacolumn = None , |
|||
outputvis = None , |
|||
async = None |
|||
) |
Hanning smooth frequency channel data to remove Gibbs ringing This function Hanning smoothes the frequency channels with a weighted running average. The weights are 0.5 for the central channel and 0.25 for each of the two adjacent channels. The first and last channels are flagged. Inclusion of a flagged value in an average causes that data value to be flagged. If an 'outputvis' filename is given, the task will copy the input file to the output file name first, including all columns that are present in the input MS. After that step it will smooth the column(s) as requested in the 'datacolumn' parameter. Alternatively, if no 'outputvis' is specified, hanningsmooth will work directly on the input visibility file. If the 'CORRECTED' data column is requested for an MS that does not contain this column, it will be filled from the 'DATA' column and then smoothed. WARNING: by default, all visibility columns will be smoothed. This will modify the DATA column of the output MS in order to make sure that later gaincal will work on the smoothed data, e.g. as part of self-cal. Keyword arguments: vis -- Name of input visibility file (MS) default: none; example: vis='ngc5921.ms' datacolumn -- the name of the MS column to be Hanning smoothed default='all'; example: datacolumn='corrected' options: 'corrected', 'data', 'all' outputvis -- name of the output visibility file (MS) default=none (write to the input MS); example: outputvis='ngc5921_src.ms' hanningsmooth(vis='ngc4852.ms', datacolumn='data', outputvis='ngc4852-hs.ms')
Definition at line 26 of file hanningsmooth_pg.py.
References vla_uvfits_line_sf.verify.
Definition at line 22 of file hanningsmooth_pg.py.
Definition at line 23 of file hanningsmooth_pg.py.
string hanningsmooth_pg.hanningsmooth_pg_.__name__ [static, private] |
Definition at line 19 of file hanningsmooth_pg.py.