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.flaglevel - Function Up: ms - Tool Previous: ms.saveflags - Function


ms.restoreflags - Function



Package general
Module ms
Tool ms


Restore the specified flagging level from the FLAG_HISTORY column.


Synopsis
restoreflags(level)


Arguments

level   History level to copy from
    Allowed: Int
    Default: 0 = current level


Returns
Bool, True if operation successful



Description
Copies the flags in the FLAG_HISTORY column (for the specified level) back to the FLAG FLAG_ROW column. See the example below.



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

We open the MS for writing and then copy the flags from level 2 in the FLAG_HISTORY column to the FLAG and FLAG_ROW column, overwriting the previous values.





next up previous contents index
Next: ms.flaglevel - Function Up: ms - Tool Previous: ms.saveflags - 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