added phasng for signal

This commit is contained in:
markusro committed 2026-10-22 00:17:01 +02:00
1 parent 12d7323851
commit 9d60eeabf6
4 files changed
+131 -24

No files matched your search

+1 -1
View File
@@ -11,7 +11,6 @@ def result():
accu = Accumulation(error=False)
for num,ts in enumerate(results):
data["accu"] = accu
data["data/ts %i"%num] = ts+0
ts.write_to_hdf(h5, "/", f"adc_{num}", f"adc_{num}")
data["fft"] = (ts+0).fft()
@@ -32,6 +31,7 @@ def result():
data["test/fit"] = fit
data["test"] = r
accu+=ts
data["accu"] = accu+0
print(accu)
data["accu_fft"] = accu.fft().autophase()
accu.write_to_hdf(h5, "/", "name", "title")