Commit 1cbf23da authored by Médéric Boquien's avatar Médéric Boquien

When saving the χ², scale the extensive properties correctly.

parent 6689b2b7
......@@ -190,7 +190,8 @@ def analysis(idx, obs):
gbl_results.bayes.extmean[prop][idx] = mean
gbl_results.bayes.exterror[prop][idx] = std
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:
values = gbl_models.flux[band][wz]
......
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