NRAO Home > CASA > CASA Toolkit Reference Manual
ms.hanningsmooth - Function

1.3.1 Hanning smooth the frequency channels 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 averaged data value to be flagged.

Arguments





Inputs

datacolumn

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

allowed:

string

Default:

corrected

Returns
bool

Example

 
 
    ms.open(’ngc5921.ms’,nomodify=False)  
    ms.hanningsmooth(’data’)  
    ms.close()  
 

__________________________________________________________________


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