![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaDocument | |||
1.1.1 Generate an image from a record
Description
You can convert an associated image to a record (torecord) or imagepol tool
functions will sometimes give you a record. This function (fromrecord) allows
you to set the contents of an image tool to the content of the record
Arguments
| Inputs |
| ||
| record |
| Record containing the image
| |
| allowed: | any |
|
| Default: | record |
|
| outfile |
| The name of the diskfile to be created for image from
record
| |
| allowed: | string |
|
| Default: |
|
|
Example
"""
# print "\t----\t fromrecord Ex 1 \t----" ia.maketestimage(’image.large’, overwrite=true) rec=ia.torecord() ia.close() ia.fromrecord(rec, "testimage") """ |
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.