discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem with gr.noise_source_x


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Problem with gr.noise_source_x
Date: Tue, 16 Jan 2007 08:17:48 -0800
User-agent: Mutt/1.5.9i

On Tue, Jan 16, 2007 at 04:57:55PM +0100, Trond Danielsen 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


> -----------------------------------------------
> 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]