Ensemble: Results: Rename Z to z_mean and dont keep individual result.

This commit is contained in:
parouby committed 2026-09-10 10:44:03 +02:00
1 parent 92990948ad
commit d4d5e26a2b
3 files changed
+19 -25

No files matched your search

+10 -13
View File
@@ -537,17 +537,12 @@ class SolverLogEnsWindow(SolverLogWindow):
table = {}
table["Z"] = results.new_table_data("Z", tables["z_mean"])
table["Q"] = results.new_table_data("Q", tables["q_mean"])
table["z_min"] = results.new_table_data("z_min", tables["z_min"])
table["q_min"] = results.new_table_data("q_min", tables["q_min"])
table["z_max"] = results.new_table_data("z_max", tables["z_max"])
table["q_max"] = results.new_table_data("q_max", tables["q_max"])
for key in ["z", "q"]:
for func in ["min", "mean", "max"]:
name = f"res_{key}_{func}"
name = f"{key}_{func}"
table[name] = results.new_table_data(name, tables[name])
name = f"res_{name}"
table[name] = results.new_table_data(
name,
np.array(
@@ -555,10 +550,12 @@ class SolverLogEnsWindow(SolverLogWindow):
)
)
for nb, data in tables["traces"]:
name = f"{nb}_"
table[name + "z"] = results.new_table_data(name + "z", data["Z"])
table[name + "q"] = results.new_table_data(name + "q", data["Q"])
# for nb, data in tables["traces"]:
# name = f"{nb}_"
# table[name + "z"] = results.new_table_data(name + "z",
# data["Z"])
# table[name + "q"] = results.new_table_data(name + "q",
# data["Q"])
table["samples"] = results.new_table_data(
"samples", np.array(self._run_samples)