bbr

From DavinciWiki
(Redirected from Bbr)
Jump to: navigation, search


64-bit SafeYes

Description

The bbr() function computes the blackbody curve corresponding to the specified temperature, for the given wavenumber(s), in units of W cm^-2 sr^-1 /cm^-1

Arguments and Return Values

Arguments: an array of wavenumbers and an equally sized array of temperatures.

Return Value: an array of the same size as the inputs containing blackbody spectral radiance (per unit wavenumber, in units of W/cm^2/sr/cm^-1).

Usage

Syntax: bbr(wavenumber, temperature)

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

Wavenumbers are assumed to be in units of reciprocal centimeters (denoted /cm or cm^-1).

Temperature is in Kelvin

The bbr() function returns double values giving spectral radiance per unit wavenumber, in units of watts per centimeter squared per steradian per reciprocal centimeter (equivalent to W/cm/sr, but stating units that way obscures the wavenumber). These values differ from spectral radiance per unit frequency by a factor of c (the speed of light).

To get spectral radiance per unit wavelength, use bbrw.

Examples

 dv> wavenumbers           
 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(wavenumbers, 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

Recent Core Changes

Modified On: 01-24-2011

Personal tools