Esempio n. 1
0
 def __init__(self):
     gr.hier_block2.__init__(self, "s",
                             gr.io_signature(2, 2, gr.sizeof_oc_complex),
                             gr.io_signature(1, 1, gr.sizeof_oc_complex))
     conj = blocks.conjugate_cc()
     mult = blocks.multiply_cc()
     self.connect((self,0), (mult,0))
     self.connect((self,1), conj, (mult,1))
     self.connect(mult, self)
Esempio n. 2
0
def conjugate_cc(N):
    op = blocks.conjugate_cc()
    tb = helper(N, op, gr.sizeof_oc_complex, gr.sizeof_oc_complex, 1, 1)
    return tb