From 428af30c3005f0350946dacc950161a3d32090a4 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Wed, 21 Oct 2026 00:21:39 +0200 Subject: [PATCH] expanded features in res_test.py --- tests/res_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/res_test.py b/tests/res_test.py index 5555699..8d9a115 100644 --- a/tests/res_test.py +++ b/tests/res_test.py @@ -15,6 +15,7 @@ def result(): data["data/ts %i"%num] = ts+0 ts.write_to_hdf(h5, "/", f"adc_{num}", f"adc_{num}") data["fft"] = (ts+0).fft() + data["fft_autophase"] = (ts+0).fft().autophase() r[num] = ts.y[0][0] if num > 4: x = r.get_xdata() @@ -32,6 +33,7 @@ def result(): data["test"] = r accu+=ts print(accu) + data["accu_fft"] = accu.fft().autophase() accu.write_to_hdf(h5, "/", "name", "title") try: h5.close()