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


next up previous contents index
Next: datafilter.medianclip - Function Up: datafilter - Tool Previous: datafilter.done - Function


datafilter.filter - Function



Package utility
Module mathematics
Tool datafilter


Filter a data array


Synopsis
filter(data, width, method, progress)


Arguments

data in Input numeric data array
    Allowed: Numeric Glish vector
width in Width of running median filter
    Allowed: Positive integer
    Default: 5 points
method in The method type
    Allowed: String (case insensitive) from 'median' or 'mean'
    Default: 'median'
progress in See progress reports on median filter every progress points
    Allowed: Positive integer
    Default: No reports


Returns
Numeric vector or fail



Description

This function running-filters a data array with a variety of kernels over the specified width. It returns the filtered data vector.

As yet, input masks are not handled.



Example
- include 'datafilter.g'
- df := datafilter()
- d2 := df.filter(d, method='median', width=10)     # Data array 'd' assumed pre-made





next up previous contents index
Next: datafilter.medianclip - Function Up: datafilter - Tool Previous: datafilter.done - 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-10-15