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

2.2.1 Parse data selection parameters and specific parameters for the elevation 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:

lowerlimit

The limiting elevation in degrees. Data obtained at lower antenna elevations will get flagged. Default:

allowed:

double

Default:

0.0

upperlimit

The limiting elevation in degrees. Data obtained at higher antenna elevations will get flagged. Default:

allowed:

double

Default:

90.0

apply

Parameter to flag or unflag the data. Default:

allowed:

bool

Default:

true

Returns
bool

Example

 
To unflag, set the apply parameter.  
af.parseelevationparameters(upperlimit=50.,lowerlimit=10.0, apply=False)  

__________________________________________________________________


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