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 <tkng...@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 <tkng...@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
>> <https://dsp.stackexchange.com/questions/67657/record-signal-after-threshold-reach-in-gnu-radio>
>>
>>
>> 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
>>
>>
>>
>>
>>
  • Python pr... tech k1ng
    • Re: ... tech k1ng
      • ... GNU Radio, the Free & Open-Source Toolkit for Software Radio
        • ... GNU Radio, the Free & Open-Source Toolkit for Software Radio

Reply via email to