NRAO Home > CASA > CASA Task Reference Manual

0.1.77 oldhanningsmooth

Requires:

Synopsis
Hanning smooth frequency channel data to remove Gibbs ringing

Description

T H I S T A S K I S D E P R E C A T E D I T W I L L B E R E M O V E D S O O N

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, oldhanningsmooth 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.



Arguments





Inputs

vis

Name of input visibility file (MS)

allowed:

string

Default:

datacolumn

the name of the MS column into which to write the smoothed data

allowed:

string

Default:

all

outputvis

name of the output visibility file (MS)

allowed:

string

Default:

Returns
void

Example

 
 
 
    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’  
 
    oldhanningsmooth(vis=’ngc4852.ms’, datacolumn=’data’, outputvis=’ngc4852-hs.ms’)  
 
 


More information about CASA may be found at the CASA web page

Copyright 2016 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search