NRAO Home > CASA > CASA Toolkit Reference Manual
quanta.log10 - Function

1.5.1 logarithm of quantity


Description

log10 gives logarithm of dimensionless quantity

Arguments





Inputs

v

dimensionless quantity

allowed:

any

Default:

variant

Returns
record

Example

 
 
"""  
#  
print "\t----\t log10 Ex 1 \t----"  
print qa.log10(’2’)  
#{’value’: 0.3010299956639812, ’unit’: ’’}  
#  
"""  
 

__________________________________________________________________


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