|
|||
NRAO Home > CASA > CASA Cookbook and User Reference Manual |
|
D.2 Allowed shapes
- Rectangular box; the two coordinates are two opposite corners:
box[[x1, y1], [x2, y2]]
- Center box; [x, y] define the center point of the box and [x_width, y_width] the width of
the sides:
centerbox[[x, y], [x_width, y_width]]
- Rotated box; [x, y] define the center point of the box; [x_width, y_width] the width of the
sides; rotang the rotation angle:
rotbox[[x, y], [x_width, y_width], rotang]
- Polygon; there could be many [x, y] corners; note that the last point will connect with the
first point to close the polygon:
poly[[x1, y1], [x2, y2], [x3, y3], ...]
- Circle; center of the circle [x,y], r is the radius:
circle[[x, y], r]
- Annulus; center of the circle is [x, y], [r1, r2] are inner and outer radii:
annulus[[x, y], [r1, r2]]
- Ellipse; center of the ellipse is [x, y]; semi-major and semi-minor axes are [bmaj, bmin];
position angle of the major axis is pa:
ellipse[[x, y], [bmaj, bmin], pa]
More information about CASA may be found at the
CASA web page
Copyright © 2010 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