NRAO Home > CASA > CASA Toolkit Reference Manual
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()  
 

__________________________________________________________________


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


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