nraonrao
 
NRAO Home > CASA > TaskRef

0.1.24 hanningsmooth

Requires:

Synopsis Hanning smooth frequency channel data to remove Gibbs ringing Description

This function Hanning smooths the frequency channels with a weighted running average of smoothedData[i] = 0.25*correctedData[i-1] + 0.50*correctedData[i] + 0.25*correctedData[i-1]. The first and last channels are flagged. Inclusion of a flagged value in an average causes that data value to be flagged.

Arguments





Inputs

vis

Name of input visibility file (MS)

allowed:

string

Default:

Returns
void

Example

 
 
        The hanningsmooth task smooths the frequency channels with  
        a weighted running average of  
 
            SData[i] = 0.25 * OData[i-1] + 0.50 * OData[i] + 0.25 * OData[i-1]  
 
        where SData is the smoothed data and OData is the original data.  
 
        The first and last channels are flagged. Inclusion of a flagged value in  
        an average causes that data value to be flagged.  
 
        Keyword arguments:  
        vis -- Name of input visibility file (MS)  
                default: none; example: vis=’ngc5921.ms’  
 
        hanningsmooth(vis=’ngc5921.ms’)  
 

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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

Updated daily during alpha development.