Changeset 2047 in Sophya
- Timestamp:
- Jun 10, 2002, 10:03:24 AM (23 years ago)
- Location:
- trunk/ArchTOIPipe/TestPipes
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/TestPipes/SMakefile
r2019 r2047 32 32 endif 33 33 ifeq ($(MACHEROS),Linux) 34 LIBS := $(LIBS) -ldl -lf2c34 LIBS := $(LIBS) -ldl 35 35 endif 36 36 … … 67 67 ../cleantstpipes.csh 68 68 69 all : mesovh mesovh2 tsttoi2map simtst simofftst aksj02 tstmap2toi 69 all : mesovh mesovh2 tsttoi2map simtst simofftst aksj02 tstmap2toi toistat -
trunk/ArchTOIPipe/TestPipes/aksj02.cc
r2036 r2047 42 42 << " [-dbg] [-wtoi sz] [-wclean wsz,nbw] [-range min,max] \n" 43 43 << " [-soff wsz,nptfit,degpol] [-soffnt PPFName] \n" 44 << " [-bgalcut bmin,bmax] [-bgal toiname] [-bgalfile pointFitsName] \n"45 44 << " [-soff2 wsz,nptfit,degpol] [-soff2nt PPFName] \n" 46 << " [-bgal2cut bmin,bmax] \n" 45 << " [-bgal toiname] [-bgalfile pointFitsName] [-bgalnf N]\n" 46 << " [-bgal toiname] [-bgalfile pointFitsName] \n" 47 << " [-bgalcut bmin,bmax] [-bgal2cut bmin,bmax] \n" 47 48 << " [-gfilt wsz,sigma] \n" 48 49 << " [-nooutflg] [-wrtms] [-wrtifo] [-prstat] [-useseqbuff] \n" … … 61 62 << " -bgal toiname: Galactic latitude toiname \n" 62 63 << " -bgalfile pointFitsName: Pointing FITS file name (for gal. latitude) \n" 64 << " -bgalnf n: Number of bgalfiles pointFitsName%d.fits \n" 63 65 << " -soff2 wsz,nptfit,degpol : set SimpleOffsetEstimator_2 parameters\n" 64 66 << " -soff2nt PPFName : Writes out SimpleOffsetEstimator_2 NTuple \n" … … 106 108 107 109 // cleaner parameters 108 doubleclean_wsz = 256;109 doubleclean_nbw = 5;110 int clean_wsz = 256; 111 int clean_nbw = 5; 110 112 111 113 // SimpleOffsetEstimator parameters … … 139 141 double bmax2 = 10.; 140 142 bool bgal2cut = false; 143 int bgalNbFiles = 0; 141 144 142 145 // File names … … 222 225 ia++; 223 226 } 227 else if (strcmp(arg[ia],"-bgalnf") == 0) { 228 if (ia == narg-1) Usage(true); 229 bgalNbFiles = atoi(arg[ia+1]); 230 ia++; 231 } 224 232 else if (strcmp(arg[ia],"-bgal") == 0) { 225 233 if (ia == narg-1) Usage(true); … … 307 315 FITSTOIReader* rbgal = NULL; 308 316 if (bgalfile) { // if Galactic cut 309 cout << "> Creating bgal FITSTOIReader object - InFile=" << pointfile 317 string pointfileI = pointfile; 318 MuTyV numf=0; 319 if(bgalNbFiles > 0) { 320 pointfileI += (string)numf + ".fits"; 321 } 322 cout << "> Creating bgal FITSTOIReader object - InFile=" << pointfileI 310 323 << " bgaltoiname= " << bgaltoi << endl; 311 rbgal = new FITSTOIReader(pointfile); 324 rbgal = new FITSTOIReader(pointfileI); 325 if(bgalNbFiles > 0) 326 for(int kff=1; kff<bgalNbFiles; kff++) { 327 numf=kff; 328 pointfileI = pointfile; 329 pointfileI += (string)numf + ".fits"; 330 cout << " bgal FITSTOIReader.addFile( " << pointfileI << " )" << endl; 331 rbgal->addFile( pointfileI ); 332 } 333 312 334 } 313 335
Note:
See TracChangeset
for help on using the changeset viewer.