This function will return the blackbody temperature corresponding
to either the provided spectral radiance or the spectrally-
integrated radiance at the specified wavelength or within the
Result = $
BB_TEMPERATURE( radiance, $
A scalar indicating the spectral radiance or the
intgrated spectral radaince for which the blackbody
temperature is to be determined.
A scalar variable containing the wavelength for
which you would like to compute the blackbody
A two-element vector defining the lower and upper
limit of the bandpass over which the provide spectral
or spectrally-integrated radiance defined [microns].
A scalar indicating the units of the provided radiance
0: W / m^2 / sr / micron (DEFAULT)
1: W / cm^2 / sr / micron
2: mW / m^2 / sr / micron
3: mW / cm^2 / sr / micron
The blackbody temperature must be in the range 1 to 1000000K
Result will contain the blackbody temperature for the provided spectral
or spectrally-integrated blackbody radiance
Written by: Carl Salvaggio
December, 2008 Original code
This source code is provided "as is" and without warranties as to performance
or merchantability. The author and/or distributors of this source code may
have made statements about this source code. Any such statements do not
constitute warranties and shall not be relied on by the user in deciding
whether to use this source code.
This source code is provided without any express or implied warranties
whatsoever. Because of the diversity of conditions and hardware under which
this source code may be used, no warranty of fitness for a particular purpose
is offered. The user is advised to test the source code thoroughly before
relying on it. The user must assume the entire risk of using the source code.