autoflag.setnewtimemed - Function

2.1.1 Sets up the new time-median flagging method
Description

The newtimemed method uses a median-in-time filter. It follows the procedure of timemed but considering a median value from all time slots in a chunk.

The median is computed on a per-channel, per-baseline basis. The thr parameter multiplying the standard deviation of the data in a chunk sets the threshold for flagging. If the thr parameter is specified (e.g. thr = 3), all points with greater than three standard deviations away from the median are flagged.

Arguments





Inputs

thr

Flagging threshold

allowed:

double

Default:

3.0

column

Which column to base flagging on

allowed:

string

Default:

MODEL CORR DATA

expr

Expression to use

allowed:

string

Default:

ABS I

fignore

Ignore existing flags

allowed:

bool

Default:

false

Returns
bool

Example

- af:=autoflag(’H031121.MS’)  
- af.setdata()  
- af.setnewtimemed(thr=5, expr="ABS RR")  
- af.run()

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.