[Top][All Lists]

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

[Discuss-gnuradio] "vector size" instead of the "regular size" in class/

From: Arturo Rinaldi
Subject: [Discuss-gnuradio] "vector size" instead of the "regular size" in class/object definition
Date: Thu, 31 Oct 2013 00:36:53 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

Hi folks,

is it possible to modify the input size at python level by using vectors ? What I specifically mean is that I want to build a hierachical block and giving it as input two vectors :

class error_rate_vector_iif(gr.hier_block2):

            self, 'error_rate_vector_iif',
            gr.io_signature(2, 2, gr.sizeof_int,
            gr.io_signature(1, 1, gr.sizeof_float),

So my question is, is there a way to use a sort of "fictional" gr.sizeofvector_int instead of gr.sizeof_int size in the definition of my python class ? Basically, I need to compare two vectors and increase a counter while a difference between their elements is spotted......can anybody help me ?

thank you in advance as always

Kind Regards,


reply via email to

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