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 <gre...@eng.ucsd.edu> 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
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to