Changeset 1466 in Sophya for trunk/ArchTOIPipe/ProcWSophya/toi2map.cc
- Timestamp:
- Apr 11, 2001, 2:08:19 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/toi2map.cc
r1463 r1466 72 72 // Remplissage des spheres 73 73 for(int s=snb;s<=sne;s++) { 74 int_4 fgbolo = 0; 74 int_8 fgbolo = 0; 75 double bolo; 75 76 76 77 double alpha = getData(0,s); // alpha entre [0,24[ en heures 77 78 double delta = getData(1,s); // delta entre [-90,90] en degres 78 double bolo = getData(2,s); 79 //fgbolo = getFlag(2,s); 79 getData(2,s,bolo,fgbolo); 80 80 81 81 if(delta<-90. || delta>90.) fgbolo=1; … … 91 91 EqtoGal(mjd,alpha,delta,&alpha,&delta); 92 92 phi = alpha * M_PI/180.; 93 } else phi 93 } else phi = alpha * M_PI/12.; 94 94 theta = (90.-delta)*M_PI/180.; 95 95 int_4 ipix = mSph->PixIndexSph(theta,phi); … … 98 98 mNSnFill++; 99 99 } 100 101 100 } 102 101
Note:
See TracChangeset
for help on using the changeset viewer.