NRAO Home > CASA > CASA Toolkit Reference Manual
ms.writebufferflags - Function

1.3.1 DEPRECATED: Write the flags in the internal buffer back to the table.


Description

DEPRECATED Takes the flag and flag_row field in the internal buffer and writes them back to the FLAG and FLAG_ROW column in the currently selected table.

Arguments





Returns
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)  
       ms.writebufferflags()  
 
 
 
 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. We then write the buffer  
 flags back to the table, causing the corresponding data to be  
 marked flagged on subsequent access.  
 

__________________________________________________________________


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