NRAO Home > CASA > CASA Cookbook and User Reference Manual
8.3.3.1 Data Selection

In addition to the basic data selection above, data can be selected based on IF, beam, polarization, scan number as well as values such as Tsys. To make a selection create a selector object choose among various selection functions, e.g.,

  sel = sd.selector()      # initialize a selector object  
                           # sel.<TAB> will list all options  
  sel.set_ifs(0)           # select only the first IF of the data  
  scans.set_selection(sel) # apply the selection to the data  
  print scans              # shows just the first IF


More information about CASA may be found at the CASA web page

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