Commit b83bf4ca authored by perdereau's avatar perdereau
Browse files

time entered in mn

parent 654e48a9
......@@ -6,7 +6,7 @@
R. Ansari , December 2018
Example command to run :
csh> ../AnaPaon4/Objs/trkacfit -D 4.5 -sdec 10 -out A21_fac.txt dt_A21,trk_A21_43057,81500,84500,1278.5 dt_A21,trk_A21_43055,90750,93250,1278.5
csh> ../AnaPaon4/Objs/trkacfit -D 4.5 -sdec 10 -out A21_fac.txt dt_A21,trk_A21_43057,1358,1410,1278.5 dt_A21,trk_A21_43055,1512,1555,1278.5
----------------------------------------------------------*/
......@@ -498,10 +498,10 @@ int decode_args(int narg, char* arg[])
dataflnm[i]=lastargs[i].substr(0,p1);
trkflnm[i]=lastargs[i].substr(p1+1,p2-p1-1);
sscanf(lastargs[i].c_str()+p2+1,"%lg,%lg,%lg",&t_s,&t_e,&freq);
tstart[i]=t_s; tend[i]=t_e;
tstart[i]=t_s*60. ; tend[i]=t_e*60. ; // CONVERSION EN SECONDES
v_freqs[i]=freq;
cout << "--DataSet["<<i+1<<"] Data="<<dataflnm[i]<<" Trk= "<<trkflnm[i]<<" "<<tstart[i]<<" <=t<= "<<tend[i]
<< " @ Freq= "<<v_freqs[i]<<" MHz"<<endl;
<< "("<<t_s<<" <=t_min<= "<<t_e<<" @ Freq= "<<v_freqs[i]<<" MHz"<<endl;
}
return 0;
}
......
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