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.pixelvalue - Function Up: image - Tool Previous: image.name - Function


image.open - Function



Package general
Module images
Tool image


Open a new image file with this image tool


Synopsis
open(infile)



Arguments

infile in image file name
    Allowed: String


Returns
T or fail


Description

Use this function when you are finished analyzing the current image file and want to attach to another one. This function detaches the image tool from the current image file, and reattaches it (opens) to the new image file.

The input image file may be in native AIPS++, FITS, or Miriad format. Look here for more information on foreign images.

You could, of course, also create a new image tool and associate that with the new image file, but this saves you the tool creation.



Example
- im:=image('myimage')              # create tool im and open image myimage
- im.open('anotherimage')           # attach tool im to image anotherimage
The open function first closes the old image file.





next up previous contents index
Next: image.pixelvalue - Function Up: image - Tool Previous: image.name - 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