Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: image.setmiscinfo - Function Up: image - Tool Previous: image.setcoordsys - Function


image.sethistory - Function



Package general
Module images
Tool image


Set the history for an image


Synopsis
sethistory(history)


Arguments

history in New history
    Allowed: String or vector of strings
    Default: None


Returns
T or fail



Description

An AIPS++ 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.

Presently, AIPS++ functions do not automatically add history records. You can recover the old history with function history.



Example
- im := image('myfile')  
- h := im.history()
- im.sethistory("I like fish")       # Adds three lines, 'I', 'like' and 'fish'





next up previous contents index
Next: image.setmiscinfo - Function Up: image - Tool Previous: image.setcoordsys - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01