FUNCTION PLANCK_M, W, T ;+ ; DESCRIPTION: ; Compute monochromatic Planck radiance given brightness temperature. ; ; USAGE: ; RESULT = PLANCK_M(W, T) ; ; INPUT PARAMETERS: ; W Wavelength (microns) ; T Brightness temperature (Kelvin) ; ; OUTPUT PARAMETERS: ; PLANCK_M Planck radiance (Watts per square meter per steradian ; per micron) ; ; MODIFICATION HISTORY: ; Liam.Gumley@ssec.wisc.edu ; http://cimss.ssec.wisc.edu/~gumley ; $Id: planck_m.pro,v 1.1 2003/06/30 20:27:21 gumley Exp $ ; ; Copyright (C) 1999, 2000 Liam E. Gumley ; ; This program is free software; you can redistribute it and/or ; modify it under the terms of the GNU General Public License ; as published by the Free Software Foundation; either version 2 ; of the License, or (at your option) any later version. ; ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software ; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ;- rcs_id = '$Id: planck_m.pro,v 1.1 2003/06/30 20:27:21 gumley Exp $' ;- Constants are from "The Fundamental Physical Constants", ;- Cohen, E. R. and B. N. Taylor, Physics Today, August 1993. ;- Planck constant (Joule second) h = 6.6260755e-34 ;- Speed of light in vacuum (meters per second) c = 2.9979246e+8 ;- Boltzmann constant (Joules per Kelvin) k = 1.380658e-23 ;- Derived constants c1 = 2.0 * h * c * c c2 = (h * c) / k ;- Convert wavelength to meters ws = 1.0e-6 * w ;- Compute Planck radiance return, 1.0e-6 * (c1 / ws^5) / (exp(c2 / (ws * t)) - 1.0) END