|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
componentlist.spectrumtype - Function
1.2.1 Returns the spectral shape of the component
Description
The spectrumtype function returns the current spectral shape of the specified
component. The spectral shape defines how the flux of the component varies
with frequency. Currently there are two spectral shapes available. These are
’Constant’ and ’Spectral Index’. This function returns one of these two strings.
Arguments
Inputs |
| ||
which |
| An index specifying which component. An integer
between 0 and one less than the list length, inclusively
| |
| allowed: | int |
|
| Default: |
|
|
string
Example
cl.open(’crux.cl’)
print ’The first component has a’, cl.spectrumtype(1), ’ spectrum’
__________________________________________________________________
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