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

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]
Supports Markdown
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