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

1.2.1 Add a component to the list.


Description

The add function adds a component to the component list. You cannot add components to a list that has been opened read only. To use this function you need to know the details of the record format. however this has been deprecated and you are urged to use the set functions, in conjunction with the simulate function to add a component to the list.

Arguments





Inputs

thecomponent

A record that represents a component. any record that contains the required fields

allowed:

record

Default:

iknow

Suppress the warning message

allowed:

bool

Default:

true

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