[Discuss-gnuradio] stream_to_vector and numpy vectors

2013-05-29 Thread vegihat vegihat
hello, i want to write a simple energy detector without using c++, only existence blocks and the numpy lib So far, i have the following graph usrp_source -> head -> stream_to_vector could i read the values from stream_to_vector and write them to a numpy-vector? is it possible?

Re: [Discuss-gnuradio] peak near center freq for noise signal, how to fix it

2013-04-29 Thread vegihat vegihat
rved that thing before. > > > On Fri, Apr 26, 2013 at 1:44 PM, Marcus D. Leech wrote: > >> On 04/26/2013 02:27 PM, vegihat vegihat wrote: >> >>> if i have understand i need to use the --lo-offset of uhd_rx_cfile >>> >>> i have gave various values to

Re: [Discuss-gnuradio] peak near center freq for noise signal, how to fix it

2013-04-26 Thread vegihat vegihat
-offset) to set the DC offset out of my band? 2013/4/26 vegihat vegihat > i use the following command to capture some samples of noise > > uhd_rx_cfile -a serial=4759a751 -N 10 -f 2.48G --samp-rate=2M noise.dat > > then using matlab i read the samples > y=read_complex_

[Discuss-gnuradio] peak near center freq for noise signal, how to fix it

2013-04-26 Thread vegihat vegihat
i use the following command to capture some samples of noise uhd_rx_cfile -a serial=4759a751 -N 10 -f 2.48G --samp-rate=2M noise.dat then using matlab i read the samples y=read_complex_binary ('noise.dat'); and i do plotfft plotfft(y,200) the plot shows a peak near the center. I don't

[Discuss-gnuradio] python manual little errors

2013-04-03 Thread vegihat vegihat
Hello folks, i am doing my first steps on gnuradio, and as my first program i added 2 gr.sig_source_c using gr.add_ff. gr.sig_source_c is a signal generator with gr_complex output, so i used gr.add_ff because as you can see in [1] has been written that "Add streams of complex values" but with