Friday, January 15, 2021

Re: Problem with Log Power FFT block

That's peculiar, but as a side note:

The logarithm is a strictly monotonous function.

Therefore, you can just omit the logarithm operation altogether; the
thing with the maximum logarithm is always the thing with the maximum
amplitude, anyway. If you still need the logarithm of that value, you
can do that *after* the maximum and calculate one logarithm per FFT,
instead of one logarithm for every single sample.

On 15.01.21 13:49, Wojciech Kazubski wrote:
> Hello,
> Some time ago I used Log Power FFT block to detect a weak carrier in a noise.
> The output vector was passed through a Max block set to vector length 1024 to
> determine the highest value, which was the signal power. This worked fine in
> GR-3.7, but after upgrade to GR-3.8 (release 3.8.2) I get this error in Log
> Power FFT block:
>
> Failed to eval ''part' if vlen == 1 else 'none'': name 'vlen' is not defined
>
> Is this a bug or I am doing something wrong?
>
> --
> Wojciech Kazubski
>
>
>

No comments:

Post a Comment