NRAO Home > CASA > CASA Toolkit Reference Manual
sd.selector.reset - Function

5.1.3 Unset all selections

Unset all selections. Note that the method doesn’t clear sorting order set by set_order. To unset sort order, you have to execute set_order([]).




   # create selector without any selection  
   # is_empty() returns True  
   # set any selection  
   # then, is_empty() returns False  
   # reset() clear all selections  
   # thus, is_empty() returns True  

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