bbr

From DavinciWiki

Jump to: navigation, search


64-bit SafeYes

Description

The bbr() function computes the black-body curve corresponding to the specified temperature, for the given wavelength(s).

Arguments and Return Values

Arguments: a wavelengths array and an equally sized temperature array.

Return Value: an array of equal size to inputs containing black body radiance.

Usage

Syntax: bbr(wavelength, temp)

The bbr() function is a binary operator function (see bop).

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

The bbr() 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> temps
 1x10x1 array of float, bsq format [40 bytes]
 304.000
 305.000
 306.000
 299.000
 292.000
 287.000
 284.000
 281.000
 275.000
 271.000

 dv> bb = bbr(wavelengths, temps)
 1x10x1 array of double, bsq format [80 bytes]
 3.52798e-06
 3.60989e-06
 6.27280e-06
 6.79388e-06
 7.44347e-06
 8.23943e-06
 9.02083e-06
 9.52819e-06
 9.47131e-06
 1.04592e-05

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left

Related Functions

Modified On: 09-25-2009

Personal tools