Commit 335165cf authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

Debug doSimplex() apres option fix-baseline fix-baseline-XY, Reza 05/03/2019

parent 1bbe957d
......@@ -222,7 +222,7 @@ int decode_args(int narg, char* arg[])
cout << " trkacxfit : fit array geometry and \n"
<< " Usage: trkacxfit [-options] track_Set_1 [track_Set_2] [track_Set_3 ...] \n"
<< " options: -inp def_input_path -out OutFileName -ckf CheckFileName \n"
<< " -nocxf -cxfB -phifreq -docx6f -fixb -docx6s \n"
<< " -nocxf -cxfB -phifreq -docx6f -fixb -fixbxy -docx6s \n"
<<" -D dish_diameter -ngb -prt PrintLevel \n"<<endl;
if (!fglonghelp) {
cout << " trkacxfit -h to get option description " << endl;
......
......@@ -1116,11 +1116,9 @@ int CxBaselineFitter::doSimplexMinimize(int fg_fixebaseline)
P0(2*i+1)=v_a_phi[i];
step(2*i+1)=M_PI/30.;
if (fgfixbasel) {
for(size_t j=0; j<3; j++) { P0(i+6+j)=0.; step(i+6+j)=0.02; }
}
else {
for(size_t j=0; j<9; j++) { P0(i+6+j)=0.; step(i+6+j)=0.02; }
P0(i+6)=0.; step(i+6)=0.02;
}
else for(size_t j=0; j<3; j++) { P0(3*i+6+j)=0.; step(3*i+6+j)=0.02; }
}
cout << " Initial Point: "<<P0.Transpose()<<endl;
cout << " Initial Step: "<<step.Transpose()<<endl;
......
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