NRAO Home > CASA > CASA Toolkit Reference Manual
agentflagger.parsequackparameters - Function

2.2.1 Parse data selection parameters and specific parameters for the quack mode. Data selection follows the MS Selection syntax.
Arguments





Inputs

field

Field indices or source names. Example: ’2,3C48’

allowed:

string

Default:

spw

Spectral Window Indices or names. Example: ’1,2’

allowed:

string

Default:

array

Array Indices or names. Example: ’VLAA’

allowed:

string

Default:

feed

Feed index or name. Eexample: ’1,2’ (not supported yet)

allowed:

string

Default:

scan

Scan number. Example: ’1,2,3’

allowed:

string

Default:

antenna

Baseline number. Example: ’2,3,4,5’

allowed:

string

Default:

uvrange

UV-distance range, with a unit. Example: ’2.0-3000.0 m’

allowed:

string

Default:

time

Time range, as MJDs or date strings. Example: ’xx.x.x.x.x~yy.y.y.y.y’

allowed:

string

Default:

correlation

Correlations/polarizations. Example: ’RR,LL,RL,LR,XX,YY,XY,YX’

allowed:

string

Default:

intent

Scan intent. Example: ’*CAL*, *BAND*’

allowed:

string

Default:

observation

Observation Id. Example: ’2~4’

allowed:

string

Default:

quackmode

Quack mode. Default:

allowed:

string

Default:

beg

quackinterval

Quack length in seconds. Default:

allowed:

double

Default:

0.0

quackincrement

Flag incrementally in time. Default:

allowed:

bool

Default:

false

apply

Parameter to flag or unflag the data. Default:

allowed:

bool

Default:

true

Returns
bool

Example

 
af.parsequackparameters(scan=’1~3’, quackmode=’beg’, quackinterval=1)  

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright 2016 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