|NRAO Home > CASA > CASA Toolkit Reference Manual||
ms.iterend - Function
1.3.1 End the iteration and reset the selected table
This sets the currently selected table (as accessed with getdata) to the table that was selected before iteration started. Use this to end the iteration prematurely. There is no need to call this if you continue iterating until iternext returns False.
See the example below.
We open the MS, select an array and spectral window and then
specify an iteration over interferometer and time, with a 60s time
interval. We then set the iterator to the start of the data and
get out some data. Finally we advance the iterator to the next lot
of data and then end the iteration.
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