Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: dish.stat - Function Up: dish - Tool Previous: dish.signal - Function


dish.smooth - Function



Package dish
Module dish
Tool dish


Smooth (hanning, boxcar or gaussian) an SDRecord.


Synopsis
smooth(scanrec, type, width, units, decimate)


Description
This function allows access to several smoothing functions.



Arguments

scanrec   an SDRecord
    Allowed: boolean
    Default: currently displayed
type   type of smoothing function to be applied
    Allowed: 'HANNING', 'BOXCAR', or 'GAUSSIAN'
    Default: HANNING
width   width of the boxcar or gaussian
    Allowed: float
    Default: 3
units   units for the width
    Allowed: string
    Default: 'channels' or 'native'-only relevant for GAUSSIAN
decimate   decimate when smoothing (for HANNING)
    Allowed: boolean
    Default: F


Returns
An SDRecord


Description


Example
- mysmooth:=d.smooth(type='BOXCAR',width=5);

This does a 5 channel wide boxcar smooth.



next up previous contents index
Next: dish.stat - Function Up: dish - Tool Previous: dish.signal - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01