Changeset 1520 in Sophya for trunk/ArchTOIPipe/ProcWSophya/map2toi.h
- Timestamp:
- Jun 12, 2001, 7:40:20 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/map2toi.h
r1463 r1520 5 5 #include "toiprocessor.h" 6 6 #include "spherehealpix.h" 7 #include "flagtoidef.h" 8 #include "xastropack.h" 7 9 8 //-- Un generateur de TOI a partir d'une sphere et de 2 TOIs alpha,delta9 // Lecture de 2 TOI alpha,deltaet d'une Sphere Healpix10 // Sortie de 3 TOI alpha,delta,boloMuV10 //-- Un generateur de TOI a partir d'une sphere et de 2 TOIs coordin1,coordin2 11 // Lecture de 2 TOI coord1,coord2 et d'une Sphere Healpix 12 // Sortie de 3 TOI coord1,coord2,boloMuV 11 13 // 12 14 // Structure generale : 13 // (les alpha[0,360[,delta[-90,90] sont en degres decimaux)14 15 // Sphere ---- | 15 16 // | 16 // ----------- 17 // toi AlphaIn ---> | | ---> toi AlphaOut 18 // | Map2TOI | ---> toi DeltaOut 19 // toi DeltaIn ---> | | ---> toi BoloOut 20 // ----------- 17 // ----------- 18 // toi CoordIn1 ---> | | ---> toi CoordOut1 19 // | Map2TOI | ---> toi CoordOut2 20 // toi CoordIn2 ---> | | ---> toi BoloOut 21 // ----------- 22 // Gestion du type de coordonnees : 23 // Coord1In,Coord2In : soit Equatoriales (Alpha,Delta) 24 // soit Galactiques (GLong,GLat) 25 // La sphere peut avoir des coordonnees differentes des CoordIn 26 // Si les CoordIn et les CoordSphere sont equatoriales -> meme equinoxe! 27 // La sortie CoordOut aura les MEMES coordonnees que les CoordIn 21 28 22 29 class Map2TOI : public TOIProcessor { … … 25 32 virtual ~Map2TOI(); 26 33 27 virtual void init(void); 34 virtual void init(void); 28 35 virtual void run(void); 29 36 37 // Pour savoir si on a de HourDeg,DegDeg,RadRad 38 inline void SetEquinox(double actualyear=2000.) 39 {mActualYear = actualyear;} 40 inline void SetCoorIn(TypAstroCoord mfg=TypCoordGalStd) 41 {mTypCoorIn = mfg;} 42 inline void SetCoorMap(TypAstroCoord mfg=TypCoordGalStd) 43 {mTypCoorMap = mfg;} 44 30 45 protected: 31 46 SphereHEALPix<r_8>& mSph; 47 TypAstroCoord mTypCoorIn,mTypCoorMap; 48 double mActualYear; 32 49 }; 33 50
Note:
See TracChangeset
for help on using the changeset viewer.