Changeset 2050 in Sophya for trunk/ArchTOIPipe
- Timestamp:
- Jun 10, 2002, 4:23:56 PM (23 years ago)
- Location:
- trunk/ArchTOIPipe/TestPipes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/TestPipes/aksj02.cc
r2047 r2050 44 44 << " [-soff2 wsz,nptfit,degpol] [-soff2nt PPFName] \n" 45 45 << " [-bgal toiname] [-bgalfile pointFitsName] [-bgalnf N]\n" 46 << " [-bgal toiname] [-bgalfile pointFitsName] \n"47 46 << " [-bgalcut bmin,bmax] [-bgal2cut bmin,bmax] \n" 48 47 << " [-gfilt wsz,sigma] \n" … … 74 73 << " -wrtms : Write mean/sigma TOI's from cleaner \n" 75 74 << " -wrtifo : Write incopie flagged TOI's from cleaner/ offset from SimpleOffsetEstimator \n" 76 << " - prstat :PrintStat with ProcSampleCounter \n"75 << " -noprstat : DO NOT PrintStat with ProcSampleCounter \n" 77 76 << " -useseqbuff : Use TOISeqBuffered TOI's (default: TOISegmented) \n" 78 77 << endl; … … 90 89 bool fgsetstart = false; 91 90 92 bool fgprstat = false;91 bool fgprstat = true; 93 92 bool fgsegmented = true; 94 93 … … 250 249 251 250 else if (strcmp(arg[ia],"-prstat") == 0) fgprstat = true; 251 else if (strcmp(arg[ia],"-noprstat") == 0) fgprstat = false; 252 252 else if (strcmp(arg[ia],"-useseqbuff") == 0) fgsegmented = false; 253 253 -
trunk/ArchTOIPipe/TestPipes/tsttoi2map.cc
r2012 r2050 43 43 <<" -M vmax : samples are good if sample value <= vmax"<<endl 44 44 <<" -f flag : samples are bad if match flag"<<endl 45 <<" -N nbfiles : Number of fitsin_point files fitsin_point%d.fits 0..nb-1"<<endl 45 46 <<" -I : sampleNum are implicit in fits files (def=no)"<<endl 46 47 <<" fitsin_point : fits file for pointing"<<endl … … 67 68 long sdeb,sfin; 68 69 bool snimplicit = false; 70 bool fgprstat = true; 71 int nbpointfiles = 0; 69 72 int c; 70 while((c = getopt(narg,arg,"hIp:s:w:a:d:b:n:i:o:m:M:f:e: ")) != -1) {73 while((c = getopt(narg,arg,"hIp:s:w:a:d:b:n:i:o:m:M:f:e:N:")) != -1) { 71 74 switch (c) { 72 75 case 's' : … … 118 121 sscanf(optarg,"%ul",&badflg); 119 122 tflg = true; 123 break; 124 case 'N' : 125 nbpointfiles = atoi(optarg); 120 126 break; 121 127 case 'I' : … … 139 145 <<"Fits Infile Bolo "<<fitsin_bolo<<endl 140 146 <<" ...label_bolomuv "<<label_bolomuv<<endl; 141 cout<<"Fits Infile Pointing "<<fitsin_point<< endl147 cout<<"Fits Infile Pointing "<<fitsin_point<<" NbFiles=" <<nbpointfiles<<endl 142 148 <<" ...label_coord1 "<<label_coord1<<endl 143 149 <<" ...label_coord2 "<<label_coord2<<endl … … 164 170 if(ncolb<1) exit(-4); 165 171 166 FITSTOIReader rfitsp(fitsin_point); 172 string pointfileI = fitsin_point; 173 MuTyV numf=0; 174 if(nbpointfiles > 0) 175 pointfileI += (string)numf + ".fits"; 176 cout << " Creating FITSTOIReader for pointing file " << pointfileI << endl; 177 FITSTOIReader rfitsp(pointfileI); 178 if(nbpointfiles > 0) 179 for(int kff=1; kff<nbpointfiles; kff++) { 180 numf=kff; 181 pointfileI = fitsin_point; 182 pointfileI += (string)numf + ".fits"; 183 cout << " pointing FITSTOIReader.addFile( " << pointfileI << " )" << endl; 184 rfitsp.addFile( pointfileI ); 185 } 186 167 187 if(snimplicit) rfitsp.setImplicitSN(); 168 188 int ncolp = rfitsp.getNOut();
Note:
See TracChangeset
for help on using the changeset viewer.