Changeset 2054 in Sophya for trunk/ArchTOIPipe/TestPipes/aksj02.cc
- Timestamp:
- Jun 11, 2002, 7:14:26 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/TestPipes/aksj02.cc
r2050 r2054 40 40 else { 41 41 cout << "\n Usage : aksj02 [-intoi toiname] [-start snb] [-end sne] \n" 42 << " [-dbg] [-wtoi sz] [-wclean wsz,nbw] [-range min,max] \n"42 << " [-dbg] [-wtoi sz] [-wclean wsz,nbw] [-range min,max] [-cleannsig nsig]\n" 43 43 << " [-soff wsz,nptfit,degpol] [-soffnt PPFName] \n" 44 44 << " [-soff2 wsz,nptfit,degpol] [-soff2nt PPFName] \n" … … 46 46 << " [-bgalcut bmin,bmax] [-bgal2cut bmin,bmax] \n" 47 47 << " [-gfilt wsz,sigma] \n" 48 << " [-nooutflg] [-wrtms] [-wrtifo] [- prstat] [-useseqbuff] \n"48 << " [-nooutflg] [-wrtms] [-wrtifo] [-noprstat] [-useseqbuff] \n" 49 49 << " inFitsName outFitsName \n" 50 50 << " -dbg : sets TOISeqBuffered debug level to 1 \n" … … 56 56 << " -wtoi sz : sets TOISeqBuff buffer size (def= 8192)\n" 57 57 << " -wclean wsz,nbw : sets cleaner window parameters (256,5) \n" 58 << " -cleannsig nsig : Sets cleanner ThrNSig (default = 999999.) \n" 58 59 << " -soff wsz,nptfit,degpol : set SimpleOffsetEstimator parameters\n" 59 60 << " -soffnt PPFName : Writes out SimpleOffsetEstimator NTuple \n" … … 97 98 int wdegli = 512; 98 99 99 int wfft = 4096;100 int keepfft = 0;101 100 int nmax = 10; 102 101 int istart = 0; … … 109 108 int clean_wsz = 256; 110 109 int clean_nbw = 5; 110 double clean_nsig = 999999.; 111 111 112 112 // SimpleOffsetEstimator parameters … … 154 154 155 155 bool fg_f_filt = false; 156 bool fg_killfreq = false;157 int bf_killfreq = 1;158 int nharm_killfreq = 1;159 double sigf_killfreq = 1.;160 156 161 157 if (narg < 4) Usage(true); … … 181 177 sscanf(arg[ia+1],"%d,%d", &clean_wsz, &clean_nbw); 182 178 } 179 else if (strcmp(arg[ia],"-cleannsig") == 0) { 180 if (ia == narg-1) Usage(true); 181 clean_nsig = atof(arg[ia+1]); ia++; 182 } 183 else if (strcmp(arg[ia],"-cleannsig") == 0) { 184 if (ia == narg-1) Usage(true); 185 clean_nsig = atof(arg[ia+1]); ia++; 186 } 183 187 else if (strcmp(arg[ia],"-soff") == 0) { 184 188 if (ia == narg-1) Usage(true); … … 291 295 << " - " << range_max << endl; 292 296 cleaner.SetRange(range_min, range_max); 297 cleaner.SetCleanForMeanThrNSig(clean_nsig); 293 298 294 299 cout << "> Creating SimpleOffsetEstimator(" << soff_mwsz << "," << soff_nptfit
Note:
See TracChangeset
for help on using the changeset viewer.