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

5.1.3 Set a sequence of source types
Description

Set a sequence of source types to the selection. The types argument can contain integer and/or sd.srctype enum.

Arguments





Inputs

types

A list of integers

allowed:

integer, integer array

Default:

[] (no selection)





Returns

Example

   sel=sd.selector()  
   # select only on-source scans of position switched observation  
   sel.set_types(0)  
   # or use enum  
   sel.set_types(sd.srctype.pson)


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