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

5.1.3 Set a selection string based on TaQL
Description

Select by Column query. Power users only!

The mehtod is used to set TaQL selection string directly. The user must be familiar with TaQL and data structure of scantable.

Arguments





Inputs

query

TaQL selection string

allowed:

string

Default:





Returns

Example

        sel=sd.selector()  
        # select all off scans with integration times over 60 seconds.  
        sel.set_query("SRCTYPE == PSOFF AND INTERVAL > 60.0")


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