| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1488 |
|
| Package | general | |
| Module | ms | |
| Tool | ms |
See the example below.
include 'ms.g'
myms:=ms("3C273XC1.MS");
myms.selectinit(datadescid=1)
myms.iterinit("antenna1 antenna2 time",60.0);
myms.iterorigin();
rec:=myms.getdata("u v data");
myms.iternext();
myms.iterend();
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.