ms.hanningsmooth - Function

1.2.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





Returns
bool

Example

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

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.