NRAO Home > CASA > CASA Toolkit Reference Manual
componentlist.select - Function

1.2.1 Mark components in the list


Description

The select function is used to mark the specified components as “selected”. This function will be used in conjunction with the planned graphical user interface. Other functions functions in the componentlist tool will behave no differently if a component is marked as “selected”.

Components are not selected when the list is initially read from disk or when a new component is added to the list using the simulate function.

Arguments





Inputs

which

A vector of indices. Indices must be between 0 and one less than the list length, inclusively

allowed:

intArray

Default:

Returns
bool

Example

 
 
      cl.open(’crux.cl’)  
      cl.select([1,3])  
 

__________________________________________________________________


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