WIP: energy-conservation PoC analysis/transforms updates

This commit is contained in:
2026-07-01 13:58:44 +02:00
parent c627142135
commit 7b37b284f8
5 changed files with 325 additions and 339 deletions
-4
View File
@@ -84,8 +84,6 @@ def _make_collection(n=200, seed=0, gen_offset=0.0) -> SampleCollection:
material=rng.choice(["W", "Pb"], size=n),
real_raw=real,
gen_raw=gen,
real_norm=real,
gen_norm=gen,
)
@@ -259,8 +257,6 @@ def test_load_predicted_local_round_trips_values(tmp_path):
np.testing.assert_allclose(
collection.gen_raw, expected_raw(pred_log_local), atol=1e-4
)
assert collection.real_norm is None
assert collection.gen_norm is None
def test_load_predicted_local_usable_by_downstream_plots(tmp_path):