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

1.2.1 make a componentlist tool from a record


Description

This function allows the componentlist records that are returned by other functions (for e.g from imageanalysis tool) be converted to a tool to be manipulated or to be saved on disk

Arguments





Inputs

record

a component list record

allowed:

record

Default:

Returns
bool

Example

 
 
 
      cl2 = cltool()  
 
      cl2.fromrecord(ia.findsources())  
      cl2.rename(’sourcesfound.cl’)  
      cl2.done()  
 

__________________________________________________________________


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