Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | image |
infile | in | image file name | |
Allowed: | String |
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.
- im:=image('myimage') # create tool im and open image myimage - im.open('anotherimage') # attach tool im to image anotherimageThe open function first closes the old image file.