aboutsummaryrefslogtreecommitdiffstats
path: root/src/gr-fadingui
diff options
context:
space:
mode:
authorsara <sara.halter@gmx.ch>2021-12-06 19:38:41 +0100
committersara <sara.halter@gmx.ch>2021-12-06 19:38:41 +0100
commit217589c5a39ed41abdf53cb1860fe2365394b357 (patch)
tree04e7482bbd9d422bcd40cd29dd70d80aa4a00aa8 /src/gr-fadingui
parentRe-organize implementation, start writing phase correction (diff)
downloadFading-217589c5a39ed41abdf53cb1860fe2365394b357.tar.gz
Fading-217589c5a39ed41abdf53cb1860fe2365394b357.zip
An GUI weitergearbeitet
Diffstat (limited to '')
-rw-r--r--src/gr-fadingui/python/netsink.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gr-fadingui/python/netsink.py b/src/gr-fadingui/python/netsink.py
index 130e5dc..487ef45 100644
--- a/src/gr-fadingui/python/netsink.py
+++ b/src/gr-fadingui/python/netsink.py
@@ -56,6 +56,7 @@ class netsink(gr.sync_block):
@return Bytes of ASCII encoded comma separated string of numbers
"""
# FIXME: this could be (very) slow, is there a faster way with numpy?
+ # Maybe numpy.array2string
values = "[" + ",".join(map(str, data)) + "]"
return bytes(values, "ascii")