Home > atmlab > forwardmodel > i2planckTb.m

i2planckTb

PURPOSE ^

I2PLANCKTB Planck brightness temperature

SYNOPSIS ^

function tb = i2planckTb(i,f)

DESCRIPTION ^

 I2PLANCKTB   Planck brightness temperature

          Convert intensities to brigthness temperatures by "inverting" the
          Planck function.

          The frequency and intensity vectors/matrices must have the 
          same size.

 FORMAT   tb = i2planckTb(i,f)

 OUT      tb   brightness temperatures [K]
 IN       i    intensities [W/m^2Hz]
          f    frequencies [Hz]

 See also: planck, di2planckTb

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

i2planckTb.m

SOURCE CODE ^

0001 % I2PLANCKTB   Planck brightness temperature
0002 %
0003 %          Convert intensities to brigthness temperatures by "inverting" the
0004 %          Planck function.
0005 %
0006 %          The frequency and intensity vectors/matrices must have the
0007 %          same size.
0008 %
0009 % FORMAT   tb = i2planckTb(i,f)
0010 %
0011 % OUT      tb   brightness temperatures [K]
0012 % IN       i    intensities [W/m^2Hz]
0013 %          f    frequencies [Hz]
0014 %
0015 % See also: planck, di2planckTb
0016 
0017 % 2002-12-12   Created by Claudia Emde.
0018 
0019 
0020 function tb = i2planckTb(i,f)
0021 
0022 planck = constants('PLANCK_CONST');
0023 boltzmann = constants('BOLTZMANN_CONST');
0024 speed_light = constants('SPEED_OF_LIGHT');
0025 
0026 a = planck/boltzmann;
0027 b = 2*planck/speed_light^2;
0028 
0029 tb = a * f ./ log((b*f.^3)./i + 1 );
0030 
0031 end

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005