source: Sophya/trunk/SigPredictor/lightsynchro.h@ 2428

Last change on this file since 2428 was 1148, checked in by ansari, 25 years ago

mise a jour

File size: 751 bytes
Line 
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 "spherehealpix.h"
9
10
11class 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 SphereHEALPix<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.