3 #ifndef SZA_UTIL_FLUX_H
4 #define SZA_UTIL_FLUX_H
17 #include "carma/szautil/ConformableQuantity.h"
18 #include "carma/szautil/Frequency.h"
19 #include "carma/szautil/Temperature.h"
25 class Flux :
public ConformableQuantity {
36 Flux(
const Jansky& units,
double Jy);
37 Flux(
const MilliJansky& units,
double mJy);
38 Flux(
const MegaJansky& units,
double MJy);
39 Flux(Frequency& freq, Temperature& temp, SolidAngle& omega);
46 void setJy(
double Jy);
47 void setMilliJy(
double mJy);
48 void setMegaJy(
double MJy);
59 return Jy_ * mJyPerJy_;
62 static const double mJyPerJy_;
63 static const double JyPerMJy_;
67 friend std::ostream& operator<<(std::ostream& os, Flux& flux);
69 bool operator>=(Flux& flux);
70 bool operator<=(Flux& flux);
83 #endif // End #ifndef SZA_UTIL_FLUX_H
Tagged: Wed Sep 14 17:52:22 PDT 2005.