Commit c3f9dc42 authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

MAJ fichier exemple datacard et help en ligne de P4AnaParams, Reza 16/01/2018

parent 3a18bfad
......@@ -20,6 +20,7 @@ gnu GnuFileName
vgf GainVarParamFileName
bff BlindFiltTimeValPPFName
phcor PhaseCorrParamFileName
norm g1H g2H g3H g4H g1V g2V g3V g4V
#### Fichiers de sortie
@outfile myout.ppf
@outfitsfile myout.fits
......
......@@ -408,7 +408,7 @@ int P4AnaParams::ReadDatacardFile(const char * dcfilename)
phase_corr_param_file_=dc.SParam("phcor",0,"");
cnt++;
}
if (dc.HasKey("norm")) { // @norm g0 g1 g2 g3 g4 g5 g6 g7
if (dc.HasKey("norm")) { // @norm g1H g2H g3H g4H g1V g2V g3V g4V
normalisation_.resize((size_t)P4AVisiNumEncoder::getTotalNbVisibilities());
for(size_t jj=0; jj<normalisation_.size(); jj++)
normalisation_[jj]=dc.DParam("norm",jj,1.);
......@@ -450,7 +450,7 @@ int P4AnaParams::UsageOptions()
cout<< " P4AnaParams::UsageOptions(): decode datacard and/or command line options \n"
<< " [-dcf DataCardFileName ] [-in5 InputPath_BAO5] [-in6 InputPath_BAO6] \n"
<< " [-inrange Imin,Imax[,Istep] ] [-inall] [-inseltm YYYY-MM-DDThh:mm:ss duration_minutes] \n"
<< " [-gnu gain_filename] [-vgf filename] [-bff filename] [-phcor filename] [-norm fac0,fac1...,fac7] \n"
<< " [-gnu gain_filename] [-vgf filename] [-bff filename] [-phcor filename] [-norm fac1H,fac2H...,fac4V] \n"
<< " [-o outfilename] [-fo fits_filename] [-nmean N] [-reorderfreq] \n"
<< " [-tfm timebin,freqbin] [-ra RAcenterHours,RAwidthHours,RAresolMinutes] [-freq f0,df] [-prt level] \n"
<< " -dcf DatacardFileName : read and decode parameters from datacard file \n"
......@@ -466,7 +466,7 @@ int P4AnaParams::UsageOptions()
<< " -vgf filename : gain variation parameters file (one line / feed) \n"
<< " -bff filename : blind filetered vectors ppf file (time + value) \n"
<< " -phcor filename : Phase correction parameters filename \n"
<< " -norm fac0,fac1...,fac7 : Define overall normalisation factor for the 8 feeds \n"
<< " -norm fac1H,fac2H...,fac4V : Define overall normalisation factor for the 8 feeds (1H,2H,3H,4H,1V,2V,3V,4V) \n"
<< " -nmean N: compute average (and sigma...) using N visibility matrices \n"
<< " -reorderfreq: activate frequency reordering in VisiP4Reader, suitable for FFT firmware \n"
<< " -tfm timebin,freqbin : time-frequency maps, averaging timebin=nb of visi matrices, freqbin frequency components \n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment