nraonrao
 
NRAO Home > CASA > CasaRef
componentlist.deselect - Function

1.4.2 Unmark components in the list
Description

The deselect function is used to remove the “selected” mark from specified components in the list. This function wiil be used in conjunction with the planned graphical user interface and no other functions in the componentlist will behave differently if a component is marked as “selected” or not.

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. Deselecting a component that is already deselected is perfectly valid and results in no change.

Arguments





Inputs

which

A vector of indices Indices must be between 1 and the list length

allowed:

int

Default:

Returns
bool

Example

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

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.