| Last change
 on this file since 975 was             801, checked in by ansari, 26 years ago | 
        
          | 
Fichiers au format unix
 
dominique
 | 
        
          | File size:
            749 bytes | 
      
      
| 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" | 
|---|
|  | 8 | #include "spheregorski.h" | 
|---|
|  | 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; | 
|---|
|  | 19 | SphereGorski<float> * pMap; // Map units unknown to be looked for | 
|---|
|  | 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.