table.putcol - Function

3.2.1 put a specific column
Arguments





Inputs

columnname

Name of column

allowed:

string

Default:

value

Array

allowed:

any

Default:

variant

startrow

First row to put (default 0)

allowed:

int

Default:

0

nrow

Number of rows to put (default -1 means till the end)

allowed:

int

Default:

-1

rowincr

Increment in rows to put (default 1)

allowed:

int

Default:

1

Returns
bool

Example

  tb.open("3C273XC1.MS",nomodify=False)  
  data=tb.getcol("DATA")  
  # [could modify data here]  
  tb.putcol("DATA", data)  
  tb.flush()

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search

Updated daily during alpha development.