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

1.1.1 Set the image brightness unit


Description

This function sets the image brightness unit. Both float and complex valued images are supported. 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  
#  
"""  
 

__________________________________________________________________


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