discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Vectors for GNU Radio Python Blocks
Date: Wed, 17 Dec 2014 18:55:19 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

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
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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