Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: ms.restoreflags - Function Up: ms - Tool Previous: ms.createflaghistory - Function


ms.saveflags - Function



Package general
Module ms
Tool ms


Save the current flagging state to the FLAG_HISTORY column.


Synopsis
saveflags(newlevel)


Arguments

newlevel   Copy to a new level?
    Allowed: Bool
    Default: F


Returns
Bool, True if operation successful



Description
Copies the flags in the FLAG and FLAG_ROW, to the FLAG_HISTORY column. Copies to the current level by default and to a new level, if available, when newlevel=T.



Example
myms:=ms("3C273XC1.MS",readonly=F);
myms.saveflags();

We open the MS for writing and then copy the flags to the current level (see flaglevel() function) in the FLAG_HISTORY column, overwriting the previous values.





next up previous contents index
Next: ms.restoreflags - Function Up: ms - Tool Previous: ms.createflaghistory - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01