|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
componentlist.open - Function
1.2.1 Construct an componentlist from the data in an CASA table
Description
Use this constructor to construct a componentlist tool by reading the data
from an CASA table. To ensure that this table contains all the necessary
columns and to allow the table format to be enhanced in the future, it is
highly recommended that the table be created using a componentlist
tool1.
The table that contains the componentlist may be opened read-only by setting the readonly flag to True. When this is done some of the functions in the componentlist tool cannot be used. These include the “set”, “convert”, “remove”, “replace”, “purge”, “recover”, and “sort” functions.
Arguments
Inputs |
| ||
filename |
| The filename of the table | |
| allowed: | string |
|
| Default: |
| |
nomodify |
| Should the table be opened read only
| |
| allowed: | boolean |
|
| Default: | false |
|
log |
| Send a message to the logger
| |
| allowed: | boolean |
|
| Default: | true |
|
bool
Example
cl.open(’crux.cl’);
__________________________________________________________________
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