NRAO Home > CASA > CASA Toolkit Reference Manual
table.putcellslice - Function

3.2.1 put a slice into a specific cell


Description

A cell is the value at one row in one column. It must be an array. The slice must be specified as blc, trc with an optional stride.
In blc and trc -1 can be used to indicate all values for a dimension (-1 in blc is equivalent to 0, so -1 is especially useful for trc).

Arguments





Inputs

columnname

Name of column

allowed:

string

Default:

rownr

Row number, starting at 0

allowed:

int

Default:

value

Value

allowed:

any

Default:

variant

blc

Bottom left corner (e.g. [0,0,0] is start of 3D array)

allowed:

intArray

Default:

trc

Top right corner

allowed:

intArray

Default:

incr

Stride (defaults to 1 for all axes)

allowed:

intArray

Default:

1

Returns
bool
__________________________________________________________________


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