|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] Python pass parameter as const *gr_complex? |
Date: | Tue, 20 Jan 2015 09:56:46 -0500 |
Hi list,I am trying to use the gr::digital::constellation::decision_maker(.) method from python, but I get an error message.In order to reproduce call in python:import gnuradio.digitala = gnuradio.digital.constellation_qpsk()b = complex(1+1j)a.decision_maker(b)=> TypeError [..] argument 2 of type ‘gr_complex const*’The C++-implementation is wrapped by SWIG, where the error occurs.This might be a silly question, but what am I doing wrong?Thanks for any help.Best regardsStephan Ludwig
[Prev in Thread] | Current Thread | [Next in Thread] |