Commit 40bc3747 authored by Médéric Boquien's avatar Médéric Boquien

Save the χ² for the requested variable rather than for all variables.

parent 1b3d7037
......@@ -162,7 +162,7 @@ def save_chi2(obsid, names, mass_proportional, model_variables, scaling, chi2):
if name in mass_proportional:
model_variable = model_variables[:, i] * scaling
else:
model_variable = model_variables
model_variable = model_variables[:, i]
_save_chi2(obsid, name, model_variable, chi2)
......
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