Commit a4822f9a authored by Médéric Boquien's avatar Médéric Boquien

Assign the fluxes to the correct array. For some reason I was sure I corrected...

Assign the fluxes to the correct array. For some reason I was sure I corrected that before committing the changes last Friday.
parent d8fab1df
...@@ -87,7 +87,7 @@ def fluxes(idx): ...@@ -87,7 +87,7 @@ def fluxes(idx):
gbl_model_fluxes[idx, :] = np.full(len(gbl_filters), np.nan) gbl_model_fluxes[idx, :] = np.full(len(gbl_filters), np.nan)
gbl_model_info[idx, :] = np.full(len(gbl_variables), np.nan) gbl_model_info[idx, :] = np.full(len(gbl_variables), np.nan)
else: else:
gbl_model_info[idx, :] = np.array([sed.compute_fnu(filter_) for gbl_model_fluxes[idx, :] = np.array([sed.compute_fnu(filter_) for
filter_ in gbl_filters]) filter_ in gbl_filters])
gbl_model_info[idx, :] = np.array([sed.info[name] for name in gbl_model_info[idx, :] = np.array([sed.info[name] for name in
gbl_variables]) gbl_variables])
......
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