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

5.1.3 Set a selection based on a source name
Description

Set a selection based on a source name. This can be a unix pattern , e.g. ”*_R”.

Note that the method overwrites TaQL selection string set by set_query.

Arguments





Inputs

name

A string containing a source name or pattern

allowed:

string

Default:





Returns

Example

        sel=sd.selector()  
        # select all reference scans which start with "Orion"  
        sel.set_name("Orion*_R")


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