nraonrao
 
 NRAO Home > CASA > CasaDocument
image.restoringbeam - Function

1.1.1 Get the restoringbeam
Description

This function gets the restoring beam, if any. It is returned in a record with fields ’major’, ’minor’ and ’postionangle’. Each of these fields contains a quantity. If there is no restoring beam, this function returds an empty record.

You can set the restoring beam with function setrestoringbeam.

Arguments





Returns
anyrecord

Example

"""  
#  
print "\t----\t restoringbeam Ex 1 \t----"  
ia.maketestimage()  
print ia.restoringbeam()  
#{’major’: {’unit’: ’arcsec’, ’value’: 53.500004857778549},  
# ’minor’: {’unit’: ’arcsec’, ’value’: 34.199998900294304},  
# ’positionangle’: {’unit’: ’deg’, ’value’: 6.0}}  
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.