Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lenstool
Lenstool
Commits
647e94c2
Commit
647e94c2
authored
Jun 13, 2020
by
Johan Richard
Browse files
added header for double shapemodel in bayes.dat
parent
752d044c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/o_print_res.c
View file @
647e94c2
...
...
@@ -614,7 +614,7 @@ void o_print_res(double chi0, double evidence)
if
(
sblock
[
i
][
STHETA
]
)
fprintf
(
besto
,
"
\t
s_angle %d %.6lf %.6lf
\n
"
,
sblock
[
i
][
STHETA
],
smin
[
i
].
E
.
theta
*
RTD
,
smax
[
i
].
E
.
theta
*
RTD
);
if
(
sblock
[
i
][
SFLUX
]
)
fprintf
(
besto
,
"
\t
mag %d %.6lf %.6lf
\n
"
,
sblock
[
i
][
SFLUX
],
smin
[
i
].
mag
,
smax
[
i
].
mag
);
fprintf
(
besto
,
"
\t
s_
mag %d %.6lf %.6lf
\n
"
,
sblock
[
i
][
SFLUX
],
smin
[
i
].
mag
,
smax
[
i
].
mag
);
if
(
sblock
[
i
][
SINDEX
]
)
fprintf
(
besto
,
"
\t
index %d %.6lf %.6lf
\n
"
,
sblock
[
i
][
SINDEX
],
smin
[
i
].
var1
,
smax
[
i
].
var1
);
if
(
source
[
i
].
type
==
6
)
//double Sersic
...
...
src/o_run_bayes.c
View file @
647e94c2
...
...
@@ -486,7 +486,7 @@ int bayesHeader()
extern
struct
g_source
S
;
for
(
i
=
0
;
i
<
S
.
ns
;
i
++
)
for
(
ipx
=
SCX
;
ipx
<=
SFLUX
;
ipx
++
)
for
(
ipx
=
SCX
;
ipx
<=
SFLUX
2
;
ipx
++
)
if
(
sblock
[
i
][
ipx
]
!=
0
)
{
nDim
++
;
...
...
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