Changeset 4015 in Sophya for trunk/AddOn/TAcq/branap.cc


Ignore:
Timestamp:
Aug 8, 2011, 10:05:42 PM (14 years ago)
Author:
ansari
Message:

Validation/debug calcul de visibilites par tranches en temps, Reza, 08 Aout 2011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AddOn/TAcq/branap.cc

    r4012 r4015  
    2929  prtlevel_=0;
    3030  prtmodulo_=50000;
     31  prtmodulo2_=10;
    3132
    3233  nmean_=nmean;
     
    8384    }
    8485    else if (strcmp(arg[ka],"-tmint")==0) {
    85       timeinterval_=atoi(arg[ka+1]);
     86      timeinterval_=atof(arg[ka+1]);
    8687      fgtimeinterval_=true;  ka+=2;
    8788    }
     
    102103    }
    103104    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_);
    105106      ka+=2;
    106107    }
     
    211212  cout << " --- BRAnaParam : Reading/Processing BAORadio FITS files parameters " << endl;
    212213  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"
    214215       << "                 [-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"
    216217       << "                 [-singlechan] [-twochan] [-fftdata] [-rawdata] \n"
    217218       << "                 [-freqfilter medhw] [-gain filename] [-varcut min,max] [-nband nband,first,last] \n"
     
    236237       << " -zones NZones,NbPaqinZone : Number of Zones and number of paquets in one zone (RAcqMemZoneMgr) \n"
    237238       << " -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"
    239240       << " -nvcal n : number of BRVisibilityCalculator objects running in parallel in BRVisCalcGroup  (default=1) \n"
    240241       << " -nthr n : number of threads for parallel execution in BRVisibilityCalculator (default=1) \n"
     
    315316       << " MaxNbFile=" << nbmax_specwfiles_ << endl;
    316317  cout << " PaqSize=" << paqsize_ << "  -  NZones=" << nzones_ << " NPaqZone=" << npaqinzone_
    317        << " PrtLevel=" << prtlevel_ << " PrtCntModulo=" <<  prtmodulo_ << endl;
     318       << " PrtLevel=" << prtlevel_ << " PrtCntModulo=" <<  prtmodulo_ << "," << prtmodulo2_ << endl;
    318319  cout << " AcqDataMode: " << ((fgdatafft_)?" Data_FFT " : " Data_Raw " )
    319320       << ((fgsinglechannel_)?" SingleChannel " : " TwoChannels " ) << endl;
Note: See TracChangeset for help on using the changeset viewer.