NRAO Home > CASA > CASA Toolkit Reference Manual
image.history - Function

1.1.1 Recover and/or list the history file


Description

This function allows you to access the history file.

If browse=F and list=F, the history is returned by the function as a vector of strings. If list=T, the history is sent to the logger.

CASA tools that modify the MeasurementSet or an image file will save history information. Also, you can directly annotate the history file with the function sethistory. History from FITS file conversions is also stored and listable here.

Arguments





Inputs

list

List history to the logger?

allowed:

bool

Default:

true

Returns
stringArray

Example

 
 
"""  
#  
print "\t----\t history Ex 1 \t----"  
ia.maketestimage()  
ia.history()                       # List history to logger  
h = ia.history(list=F)             # Recover history in variable h  
ia.history(list=T, browse=F)       # List history to logger  
#  
"""  
 

__________________________________________________________________


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