| Rev | Line | |
|---|
| [801] | 1 | // Dominique YVON, CEA/DAPNIA/SPP 02/2000
|
|---|
| 2 |
|
|---|
| 3 | #ifndef SKYSYNCHRO_SEEN
|
|---|
| 4 | #define SKYSYNCHRO_SEEN
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 | #include "lightsrcsep.h"
|
|---|
| [1148] | 8 | #include "spherehealpix.h"
|
|---|
| [801] | 9 |
|
|---|
| 10 |
|
|---|
| 11 | class LightSynchro:public LightSrcSep{
|
|---|
| 12 | public:
|
|---|
| 13 | LightSynchro(int_4 nside=256);
|
|---|
| 14 | virtual ~LightSynchro();
|
|---|
| 15 | protected:
|
|---|
| 16 | int_4 nlat;
|
|---|
| 17 | double index;
|
|---|
| 18 | double freqRef;
|
|---|
| [1148] | 19 | SphereHEALPix<float> * pMap; // Map units unknown to be looked for
|
|---|
| [801] | 20 |
|
|---|
| 21 | virtual double spectre(double freq)
|
|---|
| 22 | {
|
|---|
| 23 | return pow(freq/freqRef,index); // No dimension
|
|---|
| 24 | }
|
|---|
| 25 | virtual double powerDensAmpli(double theta,double phi)
|
|---|
| 26 | {
|
|---|
| 27 | return 2*1.38e-23/(3.e8*3.e8)*freqRef*freqRef*(*pMap)(theta,phi);
|
|---|
| 28 | // return 1.e-20*(*pMap)(theta,phi); // Ainsi parlait Haslam par Maitre R. Teyssier
|
|---|
| 29 | // (W/m2/Hz/St) soit du MJ/St
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
| 32 | };
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.