Problem with gr.noise_source_x


#1

Hi!

I have a problem with gr.noise_source_x. The following section speaks
for it self:


[trondd@dhcp-3252 channel-coding]$
PYTHONPATH=/usr/local/lib64/python2.4/site-packages/ ./test_tcm.py
fsm_files/awgn1o2_4.fsm 6.0 1000
Traceback (most recent call last):
File “./test_tcm.py”, line 118, in ?
main (sys.argv[1:])
File “./test_tcm.py”, line 106, in main
(s,e)=run_test(f,Kb,bitspersymbol,K,dimensionality,constellation,N0,-long(666+i))

run experiment with different seed to get different noise

realizations
File “./test_tcm.py”, line 30, in run_test
noise = gr.noise_source_f(gr.GR_GAUSSIAN,math.sqrt(N0/2),seed)
File
“/usr/local/lib64/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_gengen.py”,
line 4538, in noise_source_f
return _gnuradio_swig_py_gengen.noise_source_f(*args)
NotImplementedError: Wrong number of arguments for overloaded function
‘noise_source_f’.
Possible C/C++ prototypes are:
gr_make_noise_source_f(gr_noise_type_t,float,long)
gr_make_noise_source_f(gr_noise_type_t,float)

Any ideas what might cause this error? I am using GNU Radio from SVN.


Trond D.


#2

On Tue, Jan 16, 2007 at 04:57:55PM +0100, Trond D. wrote:

Hi!

I have a problem with gr.noise_source_x. The following section speaks
for it self:

I’m guess this is a problem related to splitting gnuradio_swig_python.
I’ll take a look at it later today. I suspect that we don’t have any
QA code that confirms that the noise source is working (or at least
works).

Eric


#3

On Tue, Jan 16, 2007 at 04:57:55PM +0100, Trond D. wrote:

Hi!

I have a problem with gr.noise_source_x. The following section speaks
for it self:

Fixed in svn r4280.

Eric