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

1.1.1 Get the miscellaneous information record from an image


Description

A CASA image file can accumulate miscellaneous information during its lifetime. This information is stored in a record called the miscinfo record. For example, the FITS filler puts header keywords it doesn’t otherwise use into the miscinfo record. This miscinfo record is not guaranteed to have any entries, so it’s up to you to check for any fields that you require.

You can also put things into this record (see setmiscinfo) yourself, to keep information that the system might not otherwise store for you.

When the image is written out to FITS, the items in the miscinfo record are written to the FITS file as keywords with the corresponding record field name.

Arguments





Returns
record

Example

 
 
"""  
#  
print "\t----\t miscinfo Ex 1 \t----"  
ia.maketestimage()  
print ia.miscinfo()       # print the record  
ia.setmiscinfo("testing")  
print ia.miscinfo()  
header = ia.miscinfo()    # capture the record for further use  
print header  
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