Changeset 1516 in Sophya for trunk/ArchTOIPipe/ProcWSophya/toi2map.h
- Timestamp:
- Jun 12, 2001, 6:00:35 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/toi2map.h
r1498 r1516 5 5 #include "toiprocessor.h" 6 6 #include "spherehealpix.h" 7 #include "flagtoidef.h" 8 #include "xastropack.h" 7 9 8 10 //-- Un projecteur de TOI sur une sphere Healpix 9 // Lecture de 3 TOI alpha,delta,boloMuV10 // Sortie rien11 // Lecture de 3 TOI coord1,coord2,boloMuV 12 // Sortie pas de TOI, une (2) sphere(s) Healpix 11 13 // 12 14 // Structure generale : 13 // (les alpha[0,360[,delta[-90,90] sont en degres decimaux) 14 // |---->Sphere 15 // | 16 // ----------- 15 // |---->Sphere 16 // | 17 // ----------- 17 18 // toi Coord1In ---> | | 18 19 // toi Coord2In ---> | TOI2Map | 19 // toi BoloIn ---> | | 20 // ----------- 20 // toi BoloIn ---> | | 21 // ----------- 22 // Gestion du type de coordonnees : 23 // Coord1In,Coord2In : soit Equatoriales (Alpha,Delta) 24 // soit Galactiques (GLong,GLat) 25 // Sortie sur une sphere en coordonnees Equatoriales ou Galactiques 21 26 22 27 class TOI2Map : public TOIProcessor { … … 25 30 virtual ~TOI2Map(); 26 31 27 virtual void init(void); 32 virtual void init(void); 28 33 virtual void run(void); 29 inline void SetCoorGal(bool mfg=false,bool ffg=false,double actualyear=2000.) 30 {mTypCoor = mfg; fTypCoor = ffg; mActualYear = actualyear;} 31 34 35 // Coordonnees donnees en entree et en sortie 36 inline void SetEquinox(double actualyear=2000.) 37 {mActualYear = actualyear;} 38 inline void SetCoorIn(TypAstroCoord mfg=TypCoordGalStd) 39 {mTypCoorIn = mfg;} 40 inline void SetCoorOut(TypAstroCoord mfg=TypCoordGalStd) 41 {mTypCoorOut = mfg;} 42 32 43 protected: 33 44 SphereHEALPix<r_8>* mSph; 34 45 SphereHEALPix<r_8>* mWSph; 35 46 bool mWSphInternal; 36 bool mTypCoor; 37 bool fTypCoor; 47 TypAstroCoord mTypCoorIn, mTypCoorOut; 38 48 double mActualYear; 39 49 };
Note:
See TracChangeset
for help on using the changeset viewer.