Changeset 2039 in Sophya for trunk/ArchTOIPipe
- Timestamp:
- May 31, 2002, 5:44:55 PM (23 years ago)
- Location:
- trunk/ArchTOIPipe
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/map2toi.cc
r1809 r2039 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: map2toi.cc,v 1.1 0 2001-12-03 20:38:02 cmvExp $5 // $Id: map2toi.cc,v 1.11 2002-05-31 15:44:54 ansari Exp $ 6 6 7 7 #include "toimanager.h" … … 14 14 //////////////////////////////////////////////////////////////////////// 15 15 Map2TOI::Map2TOI(SphereHEALPix<r_8>& sph) 16 : mSph(sph) 16 : mSph(sph), totnscount(0) 17 17 { 18 18 SetBad(); -
trunk/ArchTOIPipe/ProcWSophya/map2toi.h
r1809 r2039 5 5 // Christophe Magneville 6 6 // Reza Ansari 7 // $Id: map2toi.h,v 1. 7 2001-12-03 20:38:02 cmvExp $7 // $Id: map2toi.h,v 1.8 2002-05-31 15:44:55 ansari Exp $ 8 8 9 9 #ifndef MAP2TOI_H … … 62 62 // Print 63 63 void Print(::ostream & os); 64 inline int_8 ProcessedSampleCount() const { return totnscount; } 64 65 65 66 protected: … … 68 69 unsigned long long mBadFlag; 69 70 double mActualYear; 71 72 int_8 totnscount; // Nombre total d'echantillon processe 70 73 }; 71 74 -
trunk/ArchTOIPipe/TestPipes/tstmap2toi.cc
r1810 r2039 24 24 cout<<"tstmap2toi [-h] [-p lp] [-s samplemin,samplemax] [-w data_window_size]"<<endl 25 25 <<" [-a label_coord1In] [-d label_coord2In] [-b label_bolomuv]"<<endl 26 <<" [-i c,h] [-m c,h] "<<endl26 <<" [-i c,h] [-m c,h] [-C] "<<endl 27 27 <<" fitsin_point fitsphere fitsout"<<endl 28 28 <<" -p lp : print level (def=0)"<<endl … … 37 37 <<" -e equi : equinoxe en annee (def=2000.)"<<endl 38 38 <<" -I : sampleNum are implicit in fits files (def=no)"<<endl 39 <<" -C : Copy ccordIn to output fits file (def=no)"<<endl 39 40 <<" fitsin_point : fits file for pointing"<<endl 40 41 <<" fitsphere : fits file for input Healpix sphere"<<endl … … 55 56 long sdeb,sfin; 56 57 bool snimplicit = false; 58 bool fgcopycoord = false; 57 59 int c; 58 60 while((c = getopt(narg,arg,"hIp:s:w:a:d:b:i:m:e:")) != -1) { … … 93 95 case 'I' : 94 96 snimplicit = true; 97 break; 98 case 'C' : 99 fgcopycoord = true; 95 100 break; 96 101 case 'h' : … … 162 167 m2toi.addInput("Coord1In",toicoord1in); 163 168 169 if (fgcopycoord) { 164 170 #ifdef TOISEQBUFFERED 165 171 TOISeqBuffered * toicoord1out = new TOISeqBuffered("toi_coord1_out",width); … … 169 175 m2toi.addOutput("Coord1Out",toicoord1out); 170 176 wfits.addInput(label_coord1,toicoord1out); 177 } 171 178 172 179 #ifdef TOISEQBUFFERED … … 178 185 rfits.addOutput(label_coord2,toicoord2in); 179 186 m2toi.addInput("Coord2In",toicoord2in); 180 187 188 if (fgcopycoord) { 181 189 #ifdef TOISEQBUFFERED 182 190 TOISeqBuffered * toicoord2out = new TOISeqBuffered("toi_coord2_out",width); … … 186 194 m2toi.addOutput("Coord2Out",toicoord2out); 187 195 wfits.addInput(label_coord2,toicoord2out); 196 } 188 197 189 198 #ifdef TOISEQBUFFERED … … 214 223 215 224 // Affichage de l'avancement des TOIProcessors 216 //ProcSampleCounter<FITSTOIReader> stats(rfits);217 //stats.InfoMessage() = "tstmap2toi/Info";218 //stats.PrintStats();225 ProcSampleCounter<Map2TOI> stats(m2toi); 226 stats.InfoMessage() = "tstmap2toi/Info"; 227 stats.PrintStats(); 219 228 220 229 mgr->joinAll();
Note:
See TracChangeset
for help on using the changeset viewer.