![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaDocument | |||
1.1.1 Set the history for an image
Description
A CASA image file can accumulate history information from an input
FITS file or by you writing something into it explicitly with this function.
Each element of the input vector is one line of history. The new history is
appended to the old.
You can recover the history information with function history.
Arguments
| Inputs |
| ||
| origin |
| Used to set message origin. Default is image::sethistory.
| |
| allowed: | string |
|
| Default: |
|
|
| history |
| New history
| |
| allowed: | stringArray |
|
| Default: |
|
|
Example
"""
# print "\t----\t sethistory Ex 1 \t----" ia.maketestimage(’myfile’,overwrite=true) h = ia.history() # Adds three lines, ’I’, ’like’ and ’fish’ ia.sethistory(origin="sethistory", history=["I","like","fish"]) ia.close() # """ |
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.