Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
BAORadio
AnaPAON4
Commits
335165cf
Commit
335165cf
authored
Mar 05, 2019
by
Reza ANSARI
Browse files
Debug doSimplex() apres option fix-baseline fix-baseline-XY, Reza 05/03/2019
parent
1bbe957d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
trkacxfit.cc
trkacxfit.cc
+1
-1
trkfit.cc
trkfit.cc
+2
-4
No files found.
trkacxfit.cc
View file @
335165cf
...
...
@@ -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
;
...
...
trkfit.cc
View file @
335165cf
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment