discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Problem with gr.noise_source_x


From: Trond Danielsen
Subject: [Discuss-gnuradio] Problem with gr.noise_source_x
Date: Tue, 16 Jan 2007 16:57:55 +0100

Hi!

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

-----------------------------------------------
address@hidden 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 Danielsen




reply via email to

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