Changeset 909 in Sophya for trunk/SophyaLib/SkyT/blackbody.cc
- Timestamp:
- Apr 13, 2000, 4:10:46 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyT/blackbody.cc
r669 r909 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: blackbody.cc,v 1. 4 1999-11-29 16:59:09ansari Exp $3 // $Id: blackbody.cc,v 1.5 2000-04-13 14:10:43 ansari Exp $ 4 4 // 5 5 // Description: … … 20 20 #include "blackbody.h" 21 21 22 /*! 23 * \class SOPHYA::BlackBody <BR> 24 This class corresponds to the emission spectrum of a 25 blackbody radiation. 26 */ 22 27 //---------------- 23 28 // Constructor -- 24 29 //---------------- 30 /*! Constructor: needs a temperature. Otherwise set to ConvTools::tcmb */ 25 31 BlackBody::BlackBody(double temperature) 26 32 : RadSpectra(10., 10000.) … … 33 39 { 34 40 } 35 36 41 /*! Black Body Flux Function: 42 \f[ 43 I_\nu = {2 h_{pl} (1.10^9*\nu)^3 \over c^2 (e^{{h_{pl}(1.10^9*\nu) \over kT}} -1)} 44 \f] 45 */ 37 46 double 38 47 BlackBody::flux(double nu) const
Note:
See TracChangeset
for help on using the changeset viewer.