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

1.1.1 Set the image brightness unit
Description

This function sets the image brightness unit. You can get the brightness unit with function brightnessunit.

Arguments





Inputs

unit

New brightness unit

allowed:

string

Default:

Returns
bool

Example

"""  
#  
print "\t----\t setbrightnessunit Ex 1 \t----"  
ia.fromshape(shape=[10,10])  
ia.setbrightnessunit(’km’)  
print ia.brightnessunit()  
#km  
#  
"""

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.