componentlist.selected - Function

1.4.2 Determine which components are selected
Description

The selected function is used to determine which components in a list are selected. It returns a vector with indices that indicate which components are selected. A zero length vector is returned if no components are selected.

Components are marked as selected using the select function. This function will be used in conjunction with the graphical user interface and other functions in the componentlist tool will behave no differently if a component is marked as “selected” or not.

Arguments





Returns
intArray

Example

      include ’componentlist.g’  
      cl := componentlist(’crux.cl’);  
      cl.select([1,3]);  
      cl.deselect([2,3]);  
      cl.selected()  
    

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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

Updated daily during alpha development.