|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
regionmanager.deletefromtable - Function
1.1.2 Delete regions from a Table
Description
This function deletes a region stored in an casa Table.
For the tablename argument,
you have to give the name of an existing CASA table on disk (any kind of table).
You specify the name of the region with the regionname arguments. If you set regionname=’’ then nothing is done. The names of all the regions stored in a Table can be found with the function namesintable.
Arguments
Inputs |
| ||
tablename |
| The table | |
| allowed: | string |
|
| Default: | Image tool, table tool or String |
|
regionname |
| Name(s) of the region(s) to delete
| |
| allowed: | string |
|
| Default: | Vector of strings |
|
bool
Example
- names = rg.namesintable(hcn)
- rg.deletefromtable(img, names[0])
In this example, we delete the first region that is reported to be in the Table {\tt ’hcn’}.
__________________________________________________________________
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