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

Cleanup some more

parent 0f0845bc
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
# Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt # Licensed under the CeCILL-v2 licence - see Licence_CeCILL_V2-en.txt
# Author: Yannick Roehlly, Médéric Boquien & Denis Burgarella # Author: Yannick Roehlly, Médéric Boquien & Denis Burgarella
from textwrap import wrap
import time import time
import numpy as np import numpy as np
...@@ -375,7 +374,7 @@ def analysis(idx, obs): ...@@ -375,7 +374,7 @@ def analysis(idx, obs):
pdf[:, i] = np.interp(var[:, i], pdf_x, pdf_prob) pdf[:, i] = np.interp(var[:, i], pdf_x, pdf_prob)
# TODO Merge with above computation after checking it is fine with a MA. # TODO Merge with above computation after checking it is fine with a MA
gbl_analysed_averages[idx, :] = analysed_averages gbl_analysed_averages[idx, :] = analysed_averages
gbl_analysed_std[idx, :] = analysed_std gbl_analysed_std[idx, :] = analysed_std
...@@ -385,7 +384,7 @@ def analysis(idx, obs): ...@@ -385,7 +384,7 @@ def analysis(idx, obs):
gbl_best_chi2[idx] = chi2_[best_index] gbl_best_chi2[idx] = chi2_[best_index]
gbl_best_chi2_red[idx] = chi2_[best_index] / obs_fluxes.size gbl_best_chi2_red[idx] = chi2_[best_index] / obs_fluxes.size
# If observed SED analysis # If observed SED analysis
if gbl_phase == 1: if gbl_phase == 1:
if gbl_save['best_sed']: if gbl_save['best_sed']:
save_best_sed(obs['id'], sed, norm_facts[best_index]) save_best_sed(obs['id'], sed, norm_facts[best_index])
......
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