|
From: | Kevin Reid |
Subject: | Re: [Discuss-gnuradio] Float is required error for customized Block |
Date: | Wed, 3 Jan 2018 11:39:40 -0500 |
I made two edits to the code. I took out float() and took Gilad's suggestion to use np.log10() which operates on a list. Making these changes results in the following errorc = np.log10(in1) #converts 1024 values stored in in1 to dB and stores them in c
AttributeError: log10
thread[thread-per-block[8]: <block ED_block (22)>]: caught unrecognized exceptionI'm assuming its because of the size of the values.
>>> import numpy as np
>>> np.log10
<ufunc 'log10'>
[Prev in Thread] | Current Thread | [Next in Thread] |