Changeset 3883 in Sophya for trunk/AddOn/TAcq/branap.cc
- Timestamp:
- Sep 23, 2010, 7:59:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/branap.cc
r3872 r3883 20 20 imin_=imax_=0; 21 21 istep_=1; 22 rdsamefc_=true; // read paquets with same frame counter 22 23 freqmin_=freqmax_=0; 23 24 nbinfreq_=1; … … 27 28 fgdatafft_=false; fgsinglechannel_=false; 28 29 prtlevel_=0; 30 prtmodulo_=50000; 29 31 nbcalgrp_=1; 30 32 nthreads_=1; … … 69 71 ka+=2; 70 72 } 71 else if (strcmp(arg[ka],"-prt lev")==0) {72 prtlevel_=atoi(arg[ka+1]);73 else if (strcmp(arg[ka],"-prt")==0) { 74 sscanf(arg[ka+1],"%d,%ld",&prtlevel_,&prtmodulo_); 73 75 ka+=2; 74 76 } … … 80 82 nbcalgrp_=atoi(arg[ka+1]); 81 83 ka+=2; 84 } 85 else if (strcmp(arg[ka],"-nosfc")==0) { 86 rdsamefc_=false; 87 ka++; 82 88 } 83 89 else if (strcmp(arg[ka],"-in")==0) { … … 120 126 cout << " Usage: prgname [-act ACT] [-out OutPath] [-nmean NMean] [-zones NZones,nPaqinZone] \n" 121 127 << " [-nbloc NBloc] [-freq NumFreqMin,NumFreqMax,NBinFreq] \n" 122 << " [-prt lev lev] [-nvcal n] [-nthr n] \n"128 << " [-prt lev,modulo] [-nvcal n] [-nthr n] [-nosfc] \n" 123 129 << " -in Imin,Imax,Istep InPath FiberList [InPath2 FiberList2 InPath3 FiberList3 ...] \n" << endl; 124 130 if (fgshort) { … … 135 141 << " -zones NZones,NbPaqinZone : Number of Zones and number of paquets in one zone \n" 136 142 << " -freq NumFreqMin,NumFreqMax,NBinFreq : Frequency zone and number of bins \n" 137 << " -prt lev lev : Print level (0,1,2...) \n"143 << " -prt lev,modulo : Print level (0,1,2...) and print counter modulo (10000, 50000 ...) \n" 138 144 << " -nvcal n : number of BRVisibilityCalculator objects running in parallel in BRVisCalcGroup (default=1) \n" 139 145 << " -nthr n : number of threads for parallel execution in BRVisibilityCalculator (default=1) \n" 146 << " -nosfc : Don't force reading with SAME FrameCounter \n" 140 147 << " -in : input files/directory definition : \n" 141 148 << " Imin,Imax,Istep: fits files signalII.fits Imin<=II<=Imax Istep=increment \n" … … 160 167 for(size_t k=0; k< dirlist_.size(); k++) 161 168 cout << k+1 << " : " << dirlist_[k] << endl; 162 cout << " IMin= " << imin_ << " IMax= " << imax_ << " IStep= " << istep_ << endl; 169 cout << " IMin= " << imin_ << " IMax= " << imax_ << " IStep= " << istep_ 170 << ((rdsamefc_)?" SameFrameCounter read mode":" AllOKPaquets read mode ") << endl; 163 171 cout << " OutPath= " << outpath_ << endl; 164 172 cout << " Action=" << action_ << " NMean=" << nmean_ << " NBloc=" << nbloc_ << endl; 165 173 cout << " FreqMin= " << freqmin_ << " FreqMax= " << freqmax_ << " NBinFreq= " << nbinfreq_ << endl; 166 174 cout << " PaqSize=" << paqsize_ << " - NZones=" << nzones_ << " NPaqZone=" << npaqinzone_ 167 << " PrtLevel=" << prtlevel_ << endl;175 << " PrtLevel=" << prtlevel_ << " PrtCntModulo=" << prtmodulo_ << endl; 168 176 cout << " AcqMode: " << ((fgdatafft_)?" Data_FFT " : " Data_Raw " ) 169 177 << ((fgsinglechannel_)?" SingleChannel " : " TwoChannels " ) << endl;
Note:
See TracChangeset
for help on using the changeset viewer.