Re: [Discuss-gnuradio] Python block inputting vectors of random sizes

2015-10-01 Thread Martin Braun
On 29.09.2015 08:21, Chad R wrote: > which I would expect to take in an N length vector and return an M > length vector. However my input vector, in0. Seems to be arbitarially > (random number, N) in size. The random number is a multiple of four > which I presume is due to the data type. I have mat

[Discuss-gnuradio] Python block inputting vectors of random sizes

2015-09-30 Thread Chad R
Good day everyone Could some please explain to me where I'm missinterpreting how to implement a block. My block code is import numpy as np from gnuradio import gr class compress_ff(gr.sync_block): """ Compressing Block """ def __init__(self, n, m): global phi N = n M