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

2.2.1 Parse data selection parameters and specific parameters for the extend 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. Example: ’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:

ntime

Time-range to use for each chunk (in seconds or minutes). Default:

allowed:

double

Default:

0.0

combinescans

Accumulate data across scans.. Default:

allowed:

bool

Default:

false

extendpols

If any correlation is flagged, flag all correlations. Default:

allowed:

bool

Default:

true

growtime

Flag all ’ntime’ integrations if more than X% of the timerange is flagged (0-100). Default:

allowed:

double

Default:

50.0

growfreq

Flag all selected channels if more than X% of the frequency range is flagged(0-100). Default:

allowed:

double

Default:

50.0

growaround

Flag data based on surrounding flags. Default:

allowed:

bool

Default:

false

flagneartime

Flag one timestep before and after a flagged one. Default:

allowed:

bool

Default:

false

flagnearfreq

Flag one channel before and after a flagged one. Default:

allowed:

bool

Default:

false

apply

Parameter to flag or unflag the data. Default:

allowed:

bool

Default:

true

Returns
bool

Example

 
af.parseextendparameters(extendpols=True)  

__________________________________________________________________


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