Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
![]() | Version 1.9 Build 1556 |
|
Package | synthesis | |
Module | componentmodels | |
Tool | componentlist |
The getshape function returns the shape parameters of a component
in a record. As different shapes can have a differing number and
type of parameters the shape parameters are returned in a record
with fields that correspond to parameters relevant to the current
shape.
For a point shape there are only two fields; type and
direction. These are the shape type, and the reference
direction. These values are also returned by the
shapetype and
getrefdir
functions.
For both the Gaussian and disk shapes there are three additional
fields; majoraxis, minoraxis & positionangle. These are angular
quantities, and hence are records with a value
and a unit.
Return the shape parameters the component
Synopsis
getshape(which)
Description
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
component shape.
Example
See the examples for the
setshape &
convertshape
functions.
Next: componentlist.setshape - Function
Up: componentlist - Tool
Previous: componentlist.shapetype - 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