Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: componentlist.setspectrum - Function Up: componentlist - Tool Previous: componentlist.spectrumtype - Function


componentlist.getspectrum - Function



Package synthesis
Module componentmodels
Tool componentlist


Return the spectral parameters the component


Synopsis
getspectrum(which)


Description

The getspectrum function returns the spectral parameters of a component in a record. As different spectral shapes can have a differing number and type of parameters the spectral parameters are returned in a record with fields that correspond to parameters relevant to the current spectral shape.

For a constant spectrum there are only two fields; type and frequency. These are the spectral type, and the reference frequency. These values are also returned by the spectrumtype and getfreq functions.

For the spectral index spectral shape there is also an index field. This contains a vector with four numbers, these are the spectral indicies for the I, Q, U, & V components of the flux.



Arguments

which An index specifying which component
Allowed: An integer between 1 and the list length
Default: no default


Returns
A record with fields that contain the parameters of the spectral type.


Example
See the examples for the setspectrum & getspectrum functions.



next up previous contents index
Next: componentlist.setspectrum - Function Up: componentlist - Tool Previous: componentlist.spectrumtype - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15