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

1.2.1 Returns the shape type of the component


Description

The shapetype function returns the current shape of the specified component. The shape defines how the flux of the component varies with direction on the sky. Currently there are three shapes available. These are ’Point’, ’Gaussian’, ’Disk’, and ’Limbdarkeneddisk’ (experimental). This function returns one of these four strings.

Arguments





Inputs

which

An index specifying which component. An integer between 0 and one less than the list length, inclusively

allowed:

int

Default:

Returns
string

Example

 
 
      cl.open(’crux.cl’)  
      print ’The first component has a’, cl.shapetype(0), ’ shape’  
 

__________________________________________________________________


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