mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Ensemble: Keep results nim, mean and max for each run.
This commit is contained in:
1 parent
7ef7bc13dc
commit
77d56b8bec
2 files changed
+27
No files matched your search
@@ -545,6 +545,16 @@ class SolverLogEnsWindow(SolverLogWindow):
|
||||
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}"
|
||||
table[name] = results.new_table_data(
|
||||
name,
|
||||
np.array(
|
||||
list(map(lambda e: e[1], tables[name]))
|
||||
)
|
||||
)
|
||||
|
||||
for nb, data in tables["traces"]:
|
||||
name = f"{nb}_"
|
||||
table[name + "z"] = results.new_table_data(name + "z", data["Z"])
|
||||
|
||||
Reference in new issue
Block a user