Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | image |
outfile | in | Output image file name | |
Allowed: | String | ||
Default: | unset | ||
infile | in | Input foreign image disk file name | |
Allowed: | String | ||
format | in | Format type | |
Allowed: | String from 'miriad', 'gipsy' | ||
Default: | 'miriad' | ||
overwrite | in | Overwrite (unprompted) pre-existing output file ? | |
Allowed: | T or F | ||
Default: | F |
This constructor is used to convert a foreign package image file to an AIPS++ image. This is done via an intermediary FITS file which is created by the foreign package. In order for this constructor to work, you must have the foreign package installed; it is not part of AIPS++. Currently supported are Miriad and Gipsy files.
If outfile is given, the image is written to the specified disk file. If outfile is unset, the Image tool is associated with a temporary image. This temporary image may be in memory or on disk, depending on its size. When you destroy the Image tool (with the done function) this temporary image is deleted.
- im := imagefromforeign('im.app', 'im.miriad', format='miriad')