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 06:41 PM, David Halls wrote:
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],
out_sig=[numpy.int32,numpy.uint8])
Thanks!
David
NOTE: The information in this email and any attachments may be
confidential and/or legally privileged. This message may be read,
copied and used only by the intended recipient. If you are not the
intended recipient, please destroy this message, delete any copies
held on your system and notify the sender immediately.
Toshiba Research Europe Limited, registered in England and Wales
(2519556). Registered Office 208 Cambridge Science Park, Milton Road,
Cambridge CB4 0GZ, England. Web: www.toshiba.eu/research/trl
This email has been scanned for email related threats and delivered
safely by Mimecast.
For more information please visit http://www.mimecast.com
___
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