Changeset 3992 in Sophya for trunk/AddOn/TAcq/branap.cc
- Timestamp:
- May 11, 2011, 4:13:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/branap.cc
r3979 r3992 43 43 44 44 fgfreqfilter_=false; //JEC 1/2/11 45 medhalfwidth_=50; //JEC 6/4/11 45 46 46 47 gainfile_=""; … … 137 138 } 138 139 else if (strcmp(arg[ka],"-freqfilter")==0) { 139 fgfreqfilter_=true; 140 fgfreqfilter_=true; ka++; 141 if (strcmp(arg[ka],"-")!=0) medhalfwidth_=atof(arg[ka]); 140 142 ka++; 141 143 } … … 201 203 << " [-prt lev,modulo] [-nvcal n] [-nthr n] [-nosfc]\n" 202 204 << " [-singlechan] [-twochan] [-fftdata] [-rawdata] \n" 205 << " [-freqfilter medhw] [-gain filename] [-varcut min,max] [-nband nband,first,last] \n" 203 206 << " [-freqfilter] [-gain filename] [-varcut min,max] [-nband nband,first,last] \n" 204 207 << " [-tmproc hh:mm:ss,nseconds] [-filldt] [-tspwin wsz,extsz,nfiles] \n" … … 232 235 << " -tmproc hh:mm:ss,nseconds : processing time window definition \n" 233 236 << " -filldt : force data table filling \n" 234 << " -freqfilter : force median filtering on the frequencies \n" 237 << " -freqfilter medhw: force median filtering on the frequencies \n" 238 << " with half window width medhw (use - for default=" << medhalfwidth_ << ") \n" 235 239 << " -gain filename : spectral response fits file name \n" 236 240 << " -tspwin wsz,extsz,nfiles : spectra time (paquet no) window (ex: -tspwin 120,4,5) \n" … … 283 287 << " Bands: N=" << nbands_ << " First=" << bandfirst_ << " Last=" << bandlast_ 284 288 << endl; 285 cout << " force frequence median filtering (action gain)" << endl; 289 if (fgfreqfilter_) { 290 cout << " force frequence median filtering (action gain), half width =" << medhalfwidth_ 291 << endl; 292 } else { 293 cout<<" NO freq. filtering" << endl; 294 } 286 295 cout << " Spectra TimeWindow (Nb.Paquets) Size=" << spec_win_sz_ << " ExtensionSize=" << spw_ext_sz_ 287 296 << " MaxNbFile=" << nbmax_specwfiles_ << endl;
Note:
See TracChangeset
for help on using the changeset viewer.