Monday, March 21, 2022

Re: Python problem..

David,
Your code is not available anymore.
What you want to achieve?
I don't understand your problem. 
Marcin


On Sat, Mar 19, 2022, 12:49 tech k1ng <tkng874@gmail.com> wrote:
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] = outvec
There is a type mismatch here, you cannot write a list of tuples (outvec) to the numpy array.
BR,
Marcin





wt., 15 mar 2022 o 00:28 tech k1ng <tkng874@gmail.com> napisał(a):
Hello again.

Here is the python code: https://pastebin.com/waUMgRSD

I 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: here 

The 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




No comments:

Post a Comment