expanded features in res_test.py

This commit is contained in:
markusro committed 2026-10-21 00:21:39 +02:00
1 parent f9fa03e312
commit 428af30c30
1 file changed
+2
+2
View File
@@ -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()