|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
image.maketestimage - Function
1.1.1 Construct a CASA image from a test FITS file
Description
This function converts a FITS file resident in the CASA system into a
CASA image.
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: |
|
|
overwrite |
| Overwrite (unprompted) pre-existing output file?
| |
| allowed: | bool |
|
| Default: | false |
|
bool
Example
"""
#
print "\t----\t maketestimage Ex 1 \t----"
ia.maketestimage() # make virtual image
ia.close()
ia.maketestimage(’tmp’, overwrite=true)
ia.close() # close to unlock disk image
#
"""
__________________________________________________________________
More information about CASA may be found at the
CASA web page
Copyright © 2016 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