|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
image.makecomplex - Function
1.1.1 Make a complex image
Description
This function combines the current image with another image to make a
complex image. The current image (i.e. that associated with this Image
tool is assumed to be the Real image). You supply the Imaginary image; it
must be disk-based at this time.
The output image cannot be associated with an Image tool (does not handle Complex images yet) and so the best you can do is write it to disk. The Viewer can view it.
Arguments
Inputs |
| ||
outfile |
| Output Complex (disk) image file name
| |
| allowed: | string |
|
| Default: |
| |
imag |
| Imaginary image file name
| |
| allowed: | string |
|
| Default: |
|
|
region |
| Region selection. Default is to use the full image.
| |
| allowed: | any |
|
| Default: | variant
|
|
overwrite |
| Overwrite (unprompted) pre-existing output file?
| |
| allowed: | bool |
|
| Default: | false |
|
bool
Example
"""
#
print "\t----\t makecomplex Ex 1 \t----"
ia.maketestimage(’imag.im’,overwrite=true) #imaginary image
ia.close()
ia.maketestimage(’real.im’,overwrite=true) #assoc. real image
ia.makecomplex(’complex.im’, ’imag.im’, overwrite=true)
ia.close()
#
"""
__________________________________________________________________
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