|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
msmetadata.scansfortimes - Function
1.3.2 Get an array of the unique scan numbers for the specified time range (time-tol
to time+tol), observation ID, and array ID.
Description
Get an array of the unique scan numbers for the specified time range (time-tol
to time+tol), observation ID, and array ID.
Arguments
Inputs |
| ||
time |
| Time at center of time range.
| |
| allowed: | double | |
| Default: | -1 |
|
tol |
| Time difference on either side of center for specifying
range.
| |
| allowed: | double | |
| Default: | 0 |
|
obsid |
| Observation ID. A negative value indicates all
observation IDs should be used.
| |
| allowed: | int |
|
| Default: | -1 |
|
arrayid |
| Array ID. A negative value indicates all array IDs should
be used.
| |
| allowed: | int |
|
| Default: | -1 |
|
intArray
Example
msmd.open("my.ms")
# get the scan numbers associated with the specified time range (all obsids, all array ids)
scans = msmd.scansfortimes(4.84282937e+09, 20)
msmd.done()
__________________________________________________________________
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