nraonrao
 
 NRAO Home > CASA > CasaDocument
image.fromforeign - Function

1.1.1 Construct a CASA image from a foreign package image file. NOT IMPLEMENTED. DEPENDS ON EXTERNAL PACKAGES.
Description

This function is used to convert a foreign package image file to a CASA image. This is done via an intermediary FITS file which is created by the foreign package. In order for this function to work, you must have the foreign package installed; it is not part of CASA. 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 close the Image tool (with the close function) this temporary image is deleted.

Arguments





Inputs

outfile

Output image file name. Default is unset.

allowed:

string

Default:

infile

Input foreign image disk file name. Must be specified.

allowed:

string

Default:

format

Format type, ’miriad or gipsy

allowed:

string

Default:

miriad

overwrite

Overwrite (unprompted) pre-existing output file?

allowed:

bool

Default:

false

Returns
bool

Example

"""  
#  
#ia.fromforeign(’ia.app’, ’ia.miriad’, format=’miriad’)  
#  
"""

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2007 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

Updated daily during alpha development.