NRAO Home > CASA > CASA Toolkit Reference Manual
tableplot.markregions - Function

3.2.2 Mark a rectangular region to flag


Description

Mark or specify a rectangular region to flag. Call without arguments to enable mouse based interactive region marking. Marked regions can be discarded via the ’Alt’ key. Command-line region marking can be done by setting panel and region parameters. After marking flag regions, call tp.flagdata() or tp.unflagdata().

Arguments





Inputs

nrows

Number of rows of panels

allowed:

int

Default:

0

ncols

Number of columns of panels

allowed:

int

Default:

0

panel

Panel number

allowed:

int

Default:

1

region

[xmin,ymin,xmax,ymax] bounding box

allowed:

doubleArray

Default:

0.0

Returns
bool

Example

 
 
  tp.markregions(nrows=2,ncols=1,panel=1,region=[300.0,400.0,0.090,0.095])  
 

__________________________________________________________________


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