NRAO Home > CASA > CASA Toolkit Reference Manual
componentlist.replace - Function

1.2.1 Replace components in the list. (Not implemented yet)


Description

The replace function replaces the components from the list with the specified components from another list. The source list can be opened readonly and the length of the vectors in the first and third arguments must the the name.

You cannot replace components in a list that has been opened read only.

Arguments





Inputs

which

A vector of indices specifying the components to replace. A vector with indices between 0 and one less than the list length, inclusively

allowed:

int

Default:

list

The list containing the components to copy. A componentlist tool

allowed:

record

Default:

whichones

A vector of indices specifying the components to copy A vector with indices between 1 and the length of the list in the second argument

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