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


next up previous contents index
Next: image.sethistory - Function Up: image - Tool Previous: image.setbrightnessunit - Function


image.setcoordsys - Function



Package general
Module images
Tool image


Set new Coordinate System


Synopsis
setcoordsys(csys)


Arguments

csys in Coordinate System
    Allowed: Coordsys tool


Returns
T or fail


Description

This function replaces the Coordinate System in the image. Coordinate System are stored in and manipulated with the Coordsys tool. The Coordinate System can be recovered from an image via the coordsys function.

Note that changing the Coordsys tool has no effect on the original image, until it is replaced with this function.



Example
- im := imagefromshape(shape=[10,20])  # Make image
- cs := im.coordsys();                 # Recover Coordinate System
- incr := cs.increment('n');             # Get increment as numeric vector
- cs.setincrement(value=2*incr);       # Set new increment in Coordinate System
- im.setcoordsys(cs);                  # Set new Coordinate System in image





next up previous contents index
Next: image.sethistory - Function Up: image - Tool Previous: image.setbrightnessunit - 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-08-01