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


next up previous contents index
Next: autoflag.setsprej - Function Up: autoflag - Tool Previous: autoflag.setdata - Function


autoflag.setfreqmed - Function



Package synthesis
Module autoflag
Tool autoflag


Sets up the freq-median flagging method


Synopsis
setfreqmed(thr, hw, rowthr, rowhw, column, expr, fignore)


Description

The freqmed method uses a median-in-frequency filter. It is very similar to timemed, except that it is based on a sliding median in frequency:

mcbt = median{dc$\scriptstyle \prime$bt, where | c$\displaystyle \prime$ - c| $\displaystyle \leq$ $\displaystyle \delta$}

In all other respects this method is identical to timemed, hence we refer you you to the settimemed description for all details.



Arguments

thr Flagging threshold
Allowed: numeric (real)
Default: 5
hw Half-window for the sliding median
Allowed: Int
Default: 10
rowthr Row flagging threshold
Allowed: numeric (real)
Default: 10
rowhw Half-window for the sliding median of the MAD
Allowed: Int
Default: 10
column Which column to base flagging on
Allowed: "DATA", "MODEL" or "CORR"
Default: DATA
expr Expression to use
Allowed: see text
Default: "ABS I"
fignore Ignore existing flags
Allowed: Bool
Default: F


Example
- af:=autoflag('3C273XC1.MS')
- af.setdata()
- af.setfreqmed(thr=5,hw=5,expr="- ABS RR LL")





next up previous contents index
Next: autoflag.setsprej - Function Up: autoflag - Tool Previous: autoflag.setdata - 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