Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | table | |
Tool | table |
Only the data of columns existing in both tables will be copied. Thus by making a reference table consisting of a few columns, it is possible to copy those columns only.
outtable | in | table object of output table | |
Allowed: | String | ||
startrowin | in | First row to take from input table | |
Allowed: | Int | ||
Default: | 1 | ||
startrowout | in | First row to write in output table | |
Allowed: | Int | ||
Default: | -1 (=end) | ||
nrow | in | Nr of rows to copy | |
Allowed: | Int | ||
Default: | -1 (=all) |
t:=table('test.ms',readonly=F) t.copyrows(t)This example copies 10 rows of the selected subset of the MS to the beginning of the output MS.
t:=table("3C273XC1.MS") tout:=table('test.ms',readonly=F) t1:=t.query('ANTENNA1==0') t1.copyrows(tout,nrow=10,startrowout=1)