Commit 2ecd5914 authored by Médéric Boquien's avatar Médéric Boquien
Browse files

When creating the SED of the best SED, select only parameters at a given...

When creating the SED of the best SED, select only parameters at a given redshift first as the index of the best χ² is computed on this subset.
parent 1a5defaf
......@@ -145,7 +145,7 @@ def analysis(obs):
if gbl.save_best_sed:
save_best_sed(obs['id'], gbl.creation_modules,
gbl.creation_modules_params[best_index],
gbl.creation_modules_params[w[0][best_index]],
norm_facts[best_index])
if gbl.save_chi2:
save_chi2(obs['id'], gbl.analysed_variables, model_variables, chi2_red)
......
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