|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
sd.scantable.get_scan - Function
5.1.2 Return a specified scan(s) specified by scan number or source name as a new
scantable
Description
Return a specific scan (by scanno) or collection of scans (by source name) in a
new scantable. In both case, you can set selection criteria to scanid argument.
For source name, unix-style patterns are accepted for source name matching,
e.g. ’*_R’ gets all ’ref scans.
Note that drop_scan is an inverse operation.
Arguments
Inputs |
| ||
scanid |
| A (list of) scanno or a source name
| |
| allowed: | integer, integer array, string |
|
| Default: | None |
|
scantable
Example
# get all scans containing the source ’323p459’
newscan = scan.get_scan(’323p459’)
# get all ’off’ scans
refscans = scan.get_scan(’*_R’)
# get a susbset of scans by scanno (as listed in scan.summary())
newscan = scan.get_scan([0, 2, 7, 10])
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