btemp

From DavinciWiki
Revision as of 13:30, 29 July 2010 by Cedwards (Talk | contribs)

Jump to: navigation, search


64-bit SafeYes

Description

Compute brightness temperature

Arguments and Return Values

Arguments: An array of wavelengths and an array of radiance values

Return Value: An array of the dimensions of the inputs containing temperature values in Kelvin.

Usage

Syntax: btemp(wavelength, radiance)

The btemp() function computes the brightness temperature of the given radiance(s) at the specified wavelength(s).

NOTE: Wavelengths are assumed to be in units of wavenumber (1/cm).

The btemp() function returns a DOUBLE.

Examples

 dv> wavelengths
 1x10x1 array of double, bsq format [80 bytes]
 1477.84
 1477.84
 1267.62
 1174.85
 1075.09
 983.691
 909.883
 850.846
 796.481
 675.314

 dv> rad
 1x10x1 array of float, bsq format [40 bytes]
 3.55982e-06
 3.69138e-06
 6.36132e-06
 6.90406e-06
 7.49148e-06
 8.34252e-06
 9.03230e-06
 9.66600e-06
 9.52010e-06
 3.80962e-06

 dv> temp=btemp(wavelengths,rad)
 1x10x1 array of double, bsq format [80 bytes]
 304.391
 305.979
 306.719
 299.850
 292.353
 287.720
 284.078
 281.917
 275.334
 212.262


DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 12-10-2010

Personal tools