|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
ms.setbufferflags - Function
1.3.1 DEPRECATED: Set the flags in the buffer
Description
DEPRECATED: Replace the flag and flag_row fields in the internal buffer
with those in the input record. The input record can be e.g., a modified
version of the record returned by getbuffer(). The other fields in the record are
ignored.
Arguments
Inputs |
| ||
flags |
| record with flag and flag_row
| |
| allowed: | record |
|
| Default: |
|
|
bool
Example
ms.open("3C273XC1.MS",False)
ms.select({’antenna1’:[3]})
ms.fillbuffer("PHASE")
rec=ms.getbuffer()
rec[’flag_row’][17]=True
ms.setbufferflags(rec)
We open the MS for reading, select a subset and
read the data. We get the data into casapy, flag timeslot 17 and put
the modified flags back into the buffer.
__________________________________________________________________
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