Changeset 4015 in Sophya for trunk/AddOn/TAcq/branap.cc
- Timestamp:
- Aug 8, 2011, 10:05:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/branap.cc
r4012 r4015 29 29 prtlevel_=0; 30 30 prtmodulo_=50000; 31 prtmodulo2_=10; 31 32 32 33 nmean_=nmean; … … 83 84 } 84 85 else if (strcmp(arg[ka],"-tmint")==0) { 85 timeinterval_=ato i(arg[ka+1]);86 timeinterval_=atof(arg[ka+1]); 86 87 fgtimeinterval_=true; ka+=2; 87 88 } … … 102 103 } 103 104 else if (strcmp(arg[ka],"-prt")==0) { 104 sscanf(arg[ka+1],"%d,%ld ",&prtlevel_,&prtmodulo_);105 sscanf(arg[ka+1],"%d,%ld,%ld",&prtlevel_,&prtmodulo_,&prtmodulo2_); 105 106 ka+=2; 106 107 } … … 211 212 cout << " --- BRAnaParam : Reading/Processing BAORadio FITS files parameters " << endl; 212 213 cout << " Usage: prgname [-act ACT] [-out OutPath] [-fitsout] \n" 213 << " [-nmean NMean] [- zones NZones,nPaqinZone] \n"214 << " [-nmean NMean] [-tmint dtime] [-zones NZones,nPaqinZone] \n" 214 215 << " [-nbloc NBloc] [-freq NumFreqMin,NumFreqMax,NBinFreq] \n" 215 << " [-prt lev,modulo ] [-nvcal n] [-nthr n] [-nosfc]\n"216 << " [-prt lev,modulo,mod2] [-nvcal n] [-nthr n] [-nosfc]\n" 216 217 << " [-singlechan] [-twochan] [-fftdata] [-rawdata] \n" 217 218 << " [-freqfilter medhw] [-gain filename] [-varcut min,max] [-nband nband,first,last] \n" … … 236 237 << " -zones NZones,NbPaqinZone : Number of Zones and number of paquets in one zone (RAcqMemZoneMgr) \n" 237 238 << " -freq NumFreqMin,NumFreqMax,NBinFreq : Frequency zone and number of bins \n" 238 << " -prt lev,modulo : Print level (0,1,2...) and print counter modulo (10000, 50000 ...)\n"239 << " -prt lev,modulo,mod2 : Print level (0,1,2...), counter modulo (10000,50000...), mod2 (10,50...) for filenums \n" 239 240 << " -nvcal n : number of BRVisibilityCalculator objects running in parallel in BRVisCalcGroup (default=1) \n" 240 241 << " -nthr n : number of threads for parallel execution in BRVisibilityCalculator (default=1) \n" … … 315 316 << " MaxNbFile=" << nbmax_specwfiles_ << endl; 316 317 cout << " PaqSize=" << paqsize_ << " - NZones=" << nzones_ << " NPaqZone=" << npaqinzone_ 317 << " PrtLevel=" << prtlevel_ << " PrtCntModulo=" << prtmodulo_ << endl;318 << " PrtLevel=" << prtlevel_ << " PrtCntModulo=" << prtmodulo_ << "," << prtmodulo2_ << endl; 318 319 cout << " AcqDataMode: " << ((fgdatafft_)?" Data_FFT " : " Data_Raw " ) 319 320 << ((fgsinglechannel_)?" SingleChannel " : " TwoChannels " ) << endl;
Note:
See TracChangeset
for help on using the changeset viewer.