|
From: | Marcin Puchlik |
Subject: | Re: Python problem.. |
Date: | Mon, 21 Mar 2022 13:13:49 +0100 |
Hello Marcin,Thanks for getting back to me. Sorry for the last response!!I tried to do it another way using basic block, but this time just checking condition over thresh, and between other up and low. I tried to graph it and it doesn't seem to show anything. I got no errors. Any ideas what I may have done wrong?tir. 15. mar. 2022 kl. 14:19 skrev Marcin Puchlik <m.puchlik@is-wireless.com>:Hi David,Problem is in the line:output_items[0] = outvecThere is a type mismatch here, you cannot write a list of tuples (outvec) to the numpy array.BR,Marcinwt., 15 mar 2022 o 00:28 tech k1ng <tkng874@gmail.com> napisał(a):Hello again.Here is the python code: https://pastebin.com/waUMgRSDI patiently await your response. By the way, this is my first time using a mailing list:)Regards,David.tir. 15. mar. 2022 kl. 00:15 skrev tech k1ng <tkng874@gmail.com>:Hi there,
This is my first mailing post, so please excuse me if there are any errors.I'm trying to make a block that gives me the bins with corresponding its energy ([bins, energy]) when over a thresh, so input vector is from "log power fft" block. With the output, I'm hoping to store it as a file for further use, or perhaps use it to visualize it. Marcus Müller has already proposed something similar while describing a technique to another person: hereThe python code is shown here: The output does not seem to represent it properly. I'm lost right now, and I'm not sure how to proceed. I've attempted to troubleshoot it and experiment with other things before coming here to ask for help.Thank you; I'm hoping that someone can check into this and give me some advice on what I can do.Best Regards,David
[Prev in Thread] | Current Thread | [Next in Thread] |