Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
cigale
CIGALE
Commits
1cbf23da
Commit
1cbf23da
authored
Sep 18, 2018
by
Médéric Boquien
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When saving the χ², scale the extensive properties correctly.
parent
6689b2b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pcigale/analysis_modules/pdf_analysis/workers.py
pcigale/analysis_modules/pdf_analysis/workers.py
+2
-1
No files found.
pcigale/analysis_modules/pdf_analysis/workers.py
View file @
1cbf23da
...
@@ -190,7 +190,8 @@ def analysis(idx, obs):
...
@@ -190,7 +190,8 @@ def analysis(idx, obs):
gbl_results
.
bayes
.
extmean
[
prop
][
idx
]
=
mean
gbl_results
.
bayes
.
extmean
[
prop
][
idx
]
=
mean
gbl_results
.
bayes
.
exterror
[
prop
][
idx
]
=
std
gbl_results
.
bayes
.
exterror
[
prop
][
idx
]
=
std
if
gbl_models
.
conf
[
'analysis_params'
][
'save_chi2'
]
is
True
:
if
gbl_models
.
conf
[
'analysis_params'
][
'save_chi2'
]
is
True
:
save_chi2
(
obs
,
prop
,
gbl_models
,
chi2
,
values
)
save_chi2
(
obs
,
prop
,
gbl_models
,
chi2
,
values
*
scaling
*
corr_dz
)
for
band
in
gbl_results
.
bayes
.
fluxmean
:
for
band
in
gbl_results
.
bayes
.
fluxmean
:
values
=
gbl_models
.
flux
[
band
][
wz
]
values
=
gbl_models
.
flux
[
band
][
wz
]
...
...
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