[Discuss-gnuradio] Vectors for GNU Radio Python Blocks

2014-12-17 Thread David Halls
Hi all, How do I write the init section for a Python block with an complex input vector of length v_len, so I need to adapt the following... def __init__(self, Nb, Ns, mapping, v_len): gr.basic_block.__init__(self, name=Demodulator_relay_py_cd, in_sig=[numpy.complex64],

Re: [Discuss-gnuradio] Vectors for GNU Radio Python Blocks

2014-12-17 Thread Marcus Müller
Hi David, in_sig=[(numpy.complex64,v_len)] Greetings, Marcus PS: Because people might find this post later on: A point where this is explained would be http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorial_GNU_Radio_in_Python#323-Modifying-the-Python-Block-File On 12/17/2014