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


next up previous contents
Next: Applying running median to an image Up: Examples Previous: Plain table results


Modification examples

update MY.MS set VIDEO_POINT=MEANS(DATA,2) where isdefined(DATA)
sets the VIDEO_POINT of each correlation to the mean of the DATA for that correlation. Note that the 2 indicates averaging over the second axis, thus the frequency axis.

update MY.MS set FLAG_ROW=T where isdefined(FLAG) && all(FLAG)
sets FLAG_ROW in the rows where the entire FLAG array is set.

delete from MY.MS where FLAG_ROW
deletes all flagged rows.

insert into MY.MS select from OTHER.MS where !FLAG_ROW
copies all unflagged rows from OTHER.MS to MY.MS.

insert into MY.MS/DATA_DESCRIPTION
(SPECTRAL_WINDOW_ID,POLARIZATION_ID,FLAG_ROW)
values (1,0,F)
adds a row to the DATA_DESCRIPTION subtable and initializes it.



Subsections
next up previous contents
Next: Applying running median to an image Up: Examples Previous: Plain table results   Contents
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
2011-08-13