discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Do embedded python blocks in grc allow for differ


From: Sebastian Koslowski
Subject: Re: [Discuss-gnuradio] Do embedded python blocks in grc allow for different output than input?
Date: Mon, 05 Jun 2017 07:34:28 +0000

Yes, however double is not in the list (maybe you want float32?). 
Anyway, I fixed that a while a ago, but seemed to have forgotten to upstream it:
https://github.com/skoslowski/gnuradio/commits/epy_block_port_map

Sebastian

On Mon, Jun 5, 2017 at 5:37 AM G Reina <address@hidden> wrote:
I see that GRC had an "embedded python" block.  I'd like to take a np.complex64 input, process it in Python, and return a np.float64. When I try to modify the python code to do this I get the error:

Param - Code(_source_code):
    Can't map dtype('float64') to GRC port type


Can having a different input and output type only be done with an OOT module?

Thanks.
-Tony

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]