CARMA C++
SzCalculator.h
Go to the documentation of this file.
1 // $Id: SzCalculator.h,v 1.1 2010/12/13 21:06:32 eml Exp $
2 
3 #ifndef SZA_UTIL_SZCALCULATOR_H
4 #define SZA_UTIL_SZCALCULATOR_H
5 
15 #include "carma/szautil/Flux.h"
16 #include "carma/szautil/Frequency.h"
18 #include "carma/szautil/Temperature.h"
19 
20 namespace sza {
21  namespace util {
22 
23  class SzCalculator {
24  public:
25 
29  SzCalculator();
30 
34  virtual ~SzCalculator();
35 
36  // Calculate the factor by which comptonY should be multiplied
37  // to convert to CMB temperature decrement/increment
38 
39  static Temperature comptonYToDeltaT(Frequency& freq);
40  static Temperature comptonYToDeltaTDaisuke(Frequency& freq);
41 
42  // Calculate the factor by which comptonY should be multiplied
43  // to convert to Flux/sr
44 
45  static Intensity comptonYToIntensity(Frequency& freq);
46 
47  // Calculate the dimensionless x factor that enters into the
48  // Planck function
49 
50  static double planckX(Frequency& freq, Temperature& temp);
51 
52  // Evaluate the derivative of the Planck function wrt to T at
53  // given T and freq.
54 
55  static Intensity dPlanck(Frequency& freq, Temperature& temp);
56 
57  private:
58  }; // End class SzCalculator
59 
60  } // End namespace util
61 } // End namespace sza
62 
63 
64 
65 #endif // End #ifndef SZA_UTIL_SZCALCULATOR_H
Tagged: Fri Aug 1 23:13:07 PDT 2008.
Tagged: Wed Sep 14 17:14:39 PDT 2005.