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


Ignore:
Timestamp:
Sep 24, 2010, 12:31:21 AM (15 years ago)
Author:
ansari
Message:

Codage remplissage n_tuple avec les variances, Reza 23/09/2010

File:
1 edited

Legend:

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

    r3883 r3886  
    3131  nbcalgrp_=1;
    3232  nthreads_=1;
     33
     34  vmin_=0.;  vmax_=9e99;
    3335}
    3436
     
    8688      rdsamefc_=false;
    8789      ka++;
     90    }
     91    else if (strcmp(arg[ka],"-varcut")==0) {
     92      sscanf(arg[ka+1],"%lg,%lg",&vmin_,&vmax_);
     93      ka+=2;
    8894    }
    8995    else if (strcmp(arg[ka],"-in")==0) {
     
    126132  cout << " Usage:  prgname [-act ACT] [-out OutPath] [-nmean NMean] [-zones NZones,nPaqinZone] \n"
    127133       << "                 [-nbloc NBloc] [-freq NumFreqMin,NumFreqMax,NBinFreq] \n"
    128        << "                 [-prt lev,modulo] [-nvcal n] [-nthr n] [-nosfc] \n"
     134       << "                 [-prt lev,modulo] [-nvcal n] [-nthr n] [-nosfc] [-varcut min,max] \n"
    129135       << "         -in Imin,Imax,Istep InPath FiberList [InPath2 FiberList2 InPath3 FiberList3 ...] \n" << endl;
    130136  if (fgshort) {
     
    145151       << " -nthr n : number of threads for parallel execution in BRVisibilityCalculator (default=1) \n"
    146152       << " -nosfc : Don't force reading with SAME FrameCounter \n"
     153       << " -varcut min,max : min-max cut on variance \n"
    147154       << " -in : input files/directory definition : \n"
    148155       << "       Imin,Imax,Istep: fits files signalII.fits Imin<=II<=Imax Istep=increment \n"
     
    172179  cout << " Action=" << action_ << "  NMean=" << nmean_ << " NBloc=" << nbloc_ << endl;
    173180  cout << " FreqMin= " << freqmin_ << " FreqMax= " << freqmax_ << " NBinFreq= " << nbinfreq_ << endl;
     181  cout << " VarianceMin= " << vmin_ << " VarianceMax= " << vmax_ << endl;
    174182  cout << " PaqSize=" << paqsize_ << "  -  NZones=" << nzones_ << " NPaqZone=" << npaqinzone_
    175183       << " PrtLevel=" << prtlevel_ << " PrtCntModulo=" <<  prtmodulo_ << endl;
Note: See TracChangeset for help on using the changeset viewer.