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


next up previous contents index
Next: functionfitter.plot - Function Up: functionfitter - Tool Previous: functionfitter.getsolution - Function


functionfitter.medianclip - Function



Package utility
Module fitting
Tool functionfitter


Median clip a data array


Synopsis
medianclip(width, clip, progress)


Arguments

width in Width of running median filter
    Allowed: Positive integer
    Default: 5 points
clip in The clipping amount
    Allowed: Positive numeric value
    Default: 5
progress in See reports on median filter computation every progress points
    Allowed: Positive integer
    Default: No reports


Returns
T or fail



Description

This function generates a median clipped mask from a data array. See function datafilter.medianclip for details of the algorithm. The internal data mask is updated with this new mask.



Example
- include 'functionfitter.g'
- ff := functionfitter()
- x := 1:10
- y := 3 + 2*x
- ff.setdata (x,y)
- ff.medianclip(width=10, clip=5)





next up previous contents index
Next: functionfitter.plot - Function Up: functionfitter - Tool Previous: functionfitter.getsolution - 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