Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-06-19 Thread GNUBeginner
Hello Marcus, If I may, I would like to ask for your guidance please. I have been experimenting with gr-scan via command line and QSpectrumAnalyzer GUI as well. After injecting -15 dBm signal with 20 dB attenuator at 2412 MHz WiFi channel, somehow I am seeing -53 dB peak power with gr-scan and

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-06-13 Thread GNUBeginner
Hello Everyone, Does anyone know about gr-scan gain control options if available? Thanks, -- View this message in context: http://gnuradio.4.n7.nabble.com/usrp-spectrum-sense-py-tp63994p64239.html Sent from the GnuRadio mailing list archive at Nabble.com.

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-06-07 Thread GNUBeginner
Hello Marcus, I am trying to learn python so I do apologize and would appreciate your guidance. All I need is to do some minor tweaking on osmocom_spectrum_sense.py which is already giving center freq and power components after wideband scanning. That is why it was suggested sweeping through

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-06-05 Thread Marcus Müller
As I said, your "metrics" aren't clear for different kind of signals. What's the bandwidth of a rectangular pulse-shaped OOK? is it only the main lobe? Is it multiple lobes? where do you cut off? What about spread spectrum? What about multicarrier systems? You use things like "dynamically

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-06-05 Thread GNUBeginner
Hello Marcus, Here is the requirements. I was planning to modify osmocom_spectrum_sense.py code for these requirements and would appreciate your guidance/support. I am very new to python and think that there needs to be minor modification such as adding another class for decimation. • Tuning

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-06-05 Thread Marcus Müller
> Does it give > me the metrics that I need? No, but that's because the metrics you *describe* are not the metrics you *need*. Your application is totally underspecified, and because there can be no single proper estimator for all kinds of modulations, as I tried to explain in my lengthy answer

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-06-02 Thread GNUBeginner
Hello Marcus, Could you please tell me your thoughts about hackrf_sweep code? Does it give me the metrics that I need? Thanks -- View this message in context: http://gnuradio.4.n7.nabble.com/usrp-spectrum-sense-py-tp63994p64111.html Sent from the GnuRadio mailing list archive at Nabble.com.

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-05-23 Thread Marcus Müller
Get a newer Ubuntu. On 23.05.2017 21:24, MuratCA77 wrote: > Hello Marcus, > > Thank you so much for your guidance. When I tried to close gr-inspector, it > said the following: > > "CMake 3.1 or higher is required. You are running version 2.8.12.2" > > I was wondering what seems to be the issue.

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-05-23 Thread Kyeong Su Shin
Hello MuratCA77: What do you mean by "close gr-inspector"? If you meant building & installing it, yes, you may have to update your cmake package. Ubuntu 14.04 does come with cmake 2.8.12, which is older than what gr-inspector asks for (CMakeLists.txt says: cmake_minimum_required(VERSION 3.1) ).

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-05-23 Thread MuratCA77
Hello Marcus, Thank you so much for your guidance. When I tried to close gr-inspector, it said the following: "CMake 3.1 or higher is required. You are running version 2.8.12.2" I was wondering what seems to be the issue. I am running Ubuntu 14.04. Best, Murat -- View this message in

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2017-05-23 Thread Marcus Müller
Hi Murat, a few quick comments: On 23.05.2017 20:24, MuratCA77 wrote: > The current outputs produced by the usrp_spectrum_sense.py code do not > provide the bin metrics that are required for my application. Yeah, usrp_spectrum_sense hasn't aged all that well. I think if I were to implement that

[Discuss-gnuradio] usrp_spectrum_sense.py

2017-05-23 Thread MuratCA77
The current outputs produced by the usrp_spectrum_sense.py code do not provide the bin metrics that are required for my application. The metrics are detection time, true detection power, the center frequency of the transmission, the centroid, and transmission bandwidth. It was recommended to

Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200

2017-01-18 Thread Soumaya el barrak
anything along this bandwidth, it scans almost 2 > Mhz and drop 3.6 Mhz. I don’t understand what is the reason behind those > results and how can I improve them. > > > Please if you have any ideas, give me a hand! > > > Best Regards > > Soumaya > > 2017-01-16 14:2

Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200

2017-01-18 Thread Marc Pàmies Massip
e -- From: Soumaya el barrak <elbarrak.soum...@gmail.com [mailto:elbarrak.soum...@gmail.com]> Date: 2017-01-16 12:48 GMT+01:00 Subject: Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200 To: Marcus Müller <marcus.muel...@ettus.com [mailto:marcus.muel...@

Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200

2017-01-17 Thread Soumaya el barrak
me a hand! Best Regards Soumaya 2017-01-16 14:24 GMT+01:00 Soumaya el barrak <elbarrak.soum...@gmail.com>: > > -- Forwarded message -- > From: Soumaya el barrak <elbarrak.soum...@gmail.com> > Date: 2017-01-16 12:48 GMT+01:00 > Sub

Re: [Discuss-gnuradio] usrp_spectrum_sense.py raw iq samples

2017-01-16 Thread Julian Arnold
Hey Mallesham, I don't have the time right now to check your code but have you also adjusted block [1] accordingly like I mentioned in my last mail? It now needs to operate on complex float data. [1] http://gnuradio.org/doc/doxygen/classgr_1_1blocks_1_1bin__statistics__f.html On 01/14/2017

Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200

2017-01-16 Thread Marcus Müller
Hi Soumaya, could you please keep the mailing list in the loop? Well, on USB2, the maximum sampling rate is, if I remember correctly, somewhere between 8 MS/s and 10 MS/s. Maybe the raspberry Pi isn't the optimal platform for broadband signal observation... $((2**16)) gets evaluated by your

Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200

2017-01-16 Thread Marcus Müller
Hi Soumaya, while tuning, there will simply be transients, mostly of oscillator energy leaking into the receiver. You cannot use the data that you get while tuning. You might want to define "strange power values"; 2.4 GHz is an ISM band, so a lot of traffic is to be expected there, and that

Re: [Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200

2017-01-13 Thread Marcus Müller
Hi Soumaya, the B200 tunes slower and might need up to half a second when tuning further. You should hence minimize the amount of tuning, and instead of 4MS/s use a higher rate, a larger FFT size, and tune less often. The power normalization is truly, 100%, arbitrary. Since these dB are all

[Discuss-gnuradio] usrp_spectrum_sense.py input parameters in USRP B200

2017-01-13 Thread Soumaya el barrak
Dear all, I am working with USRP B200 for spectrum sensing, I want to scan the band from 2.4 to 2.5 Ghz, I use fft size 256, and sample_rate 4M, and tune _delay 0,001s. I am not sure if the parameters are correctely chosen because when I try to scan another band without wireless activities, I

Re: [Discuss-gnuradio] usrp_spectrum_sense.py raw iq samples

2017-01-06 Thread Mallesham Dasari
Hi Julian, That's a lot of info. Thank you so much. Yeah, I have realized that flow graph is not sufficient. I am going through the first approach that you mentioned. Thanks a lot again. On Fri, Jan 6, 2017 at 4:18 AM, Julian Arnold wrote: > Hi Mallesham, > > I meant

Re: [Discuss-gnuradio] usrp_spectrum_sense.py raw iq samples

2017-01-06 Thread Julian Arnold
Hi Mallesham, I meant that with your B210 you can only capture up to 56 MHz of real time bandwidth (in theory). > By whole WiFi band, I mean from 2.401G to 2.473G, However, you require over 70MHz at once. I didn't realize that you still want to use the sweeping approach. In that case, the flow

Re: [Discuss-gnuradio] usrp_spectrum_sense.py raw iq samples

2017-01-04 Thread Mallesham Dasari
Hi Julian, Thank you so much again. I am able to collect the raw IQ samples using USRP source and File sink with gnuradio-companion. But, I am confused why you said that I will run into additional problems. On Wed, Jan 4, 2017 at 12:22 PM, Mallesham Dasari wrote: >

Re: [Discuss-gnuradio] usrp_spectrum_sense.py raw iq samples

2017-01-04 Thread Mallesham Dasari
Hi Julian, Thank you so much for the response. By whole WiFi band, I mean from 2.401G to 2.473G, which is complete WiFi band. Is it possible to sweep entire band by using the approach you mentioned? I thought using gnuradio-companion, we can scan only one or few channels depending on the sample

Re: [Discuss-gnuradio] usrp_spectrum_sense.py raw iq samples

2017-01-04 Thread Julian Arnold
Hi Mallesham, the easiest way would probably be to create your own simple flowgraph using GRC like so: |-| |-| | USRP Source | --> | File Sink | |-| |-| However, remember

Re: [Discuss-gnuradio] usrp_spectrum_sense.py raw iq samples

2017-01-03 Thread Mallesham Dasari
Hello, I am writing the raw IQ samples (m.raw_data) from usrp_spectrum_sense.py to a file. I would like to bypass the FFT overhead, which I will do later. I want to scan the whole wide band of wifi as fast as possible. Can anyone throw some light on how to take only raw samples without FFT? --

[Discuss-gnuradio] usrp_spectrum_sense.py does not warn if given frequency is invalid

2013-05-13 Thread Timo Juhani Lindfors
Hi, usrp_spectrum_sense.py contains if not self.set_freq(target_freq): print Failed to set frequency to, target_freq but this does not seem to get triggered even if I use an obviously invalid frequency: $ ./gr-uhd/examples/python/usrp_spectrum_sense.py --args addr=ettus2.lan --samp-rate

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-11 Thread Jincheng Zhang
Anyone know how to deal with this case? I need your help. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-10 Thread Jincheng Zhang
Hi, all, Has anyone used usrp_spectrum_sense.py to sweep frequency band and get the channel's power? I need your help. When I use self.connect(self.u, s2v, fft, c2mag, log, stats), the FFT bin values I got are all zero. But if I use self.connect(self.u, s2v, fft, c2mag, stats), some FFT bin

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-09 Thread Jincheng Zhang
Hi, all, Has anyone used usrp_spectrum_sense.py to sweep frequency band and get the channel's power? I need your help. When I use self.connect(self.u, s2v, fft, c2mag, log, stats), the FFT bin values I got are all zero. But if I use self.connect(self.u, s2v, fft, c2mag, stats), some FFT bin

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-08 Thread Jincheng Zhang
The frequency band ranges from 470MHz to 806MHz, each channel's frequency band is 8MHz, so we have 42 channels in total. Channel 1,3,5,7 are analog channels, others are digital channels. I want to set the value of parameters in usrp_spectrum_sense.py as follows: fft-size: 2048

[Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Jincheng Zhang
Hi, all, I use the usrp_spectrum_sense.py to sweep the TV band from 470MHz to 806MHz. But when I use self.connect(self.u, s2v, fft, c2mag, log, stats), the FFT bin values I got are all zero. Also, what's the magnitude of FFT bin value? Thanks. -- Best regards, Jincheng Zhang

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Jincheng Zhang
I want to use usrp_spectrum_sense.py to sweep the Hong Kong TV band which ranges from 470MHz to 806MHz and get every channel's power in dB. Each channel's frequency band is 8MHz. Now I'm using USRP2 with TVRX2 daughter board. I have installed the latest gnuraio and uhd. But when I use the

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Mike Jameson
Hi Jincheng, Try setting the UHD sample rate to 25e6 and the number of fft bins to 25 which will give you 1e6 Hz per bin. Adding up the magnitude of 8 bins (1MHz * 8 = 8MHz) will therefore give you the wanted channel power in decimal format (magnitude). In case you are confused, I recently

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Jincheng Zhang
Thanks Mike. I'm a little confused. The parameters are listed as follows: sample-rate: channel-bandwidth: freq_step: fft_size: You mean that I should set sample-rate be 25e6, channel-bandwidth be 8e6, freq_step be 8e6 and fft_size be 25? If we set the fft-size be 25, then which 8 bins I should

Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread Mike Jameson
Hi, For your application, please experiment with the following command: ./usrp_spectrum_sense.py -A TX/RX --fft-size=25 --samp-rate=25e6 --gain=15 --dwell-delay=0.25 --tune-delay=0.25 --channel-bandwidth=8e6 470e6 800e6 Note that 'freq_step' should remain unchanged at '0.75 * usrp_rate' in the

[Discuss-gnuradio] 回复: Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero.

2013-04-07 Thread perfume0...@gmail.com
:05 格林尼治标准时间+ 主题: Re: [Discuss-gnuradio] usrp_spectrum_sense.py FFT bin values are all zero. Hi, For your application, please experiment with the following command: ./usrp_spectrum_sense.py -A TX/RX --fft-size=25 --samp-rate=25e6 --gain=15 --dwell-delay=0.25 --tune-delay=0.25 --channel

Re: [Discuss-gnuradio] usrp_spectrum_sense.py newer version

2013-02-23 Thread Tom Rondeau
2013/2/22 Juan Daniel Fernandez Martinez jdfernan...@icesi.edu.co: Hi everyone, There is a new version of usrp_spectrum_sense.py that works with UHD instead of USRP? Thanks for your attention :) GNU Radio 3.6 ships with the usrp_spectrum_sense converted to use the UHD interfaces. Tom

[Discuss-gnuradio] usrp_spectrum_sense.py newer version

2013-02-22 Thread Juan Daniel Fernandez Martinez
Hi everyone, There is a new version of usrp_spectrum_sense.py that works with UHD instead of USRP? Thanks for your attention :) Este documento puede contener información privilegiada o confidencial. Por tanto, usar esta información y sus anexos para propósitos

[Discuss-gnuradio] Usrp_spectrum_sense.py

2012-05-19 Thread Abdelrahman Ahmed
i am new to this and don't have enough experience in programing? How to get output data from usrp_spectrum_sense.py and save it to file ? -- Abdelrahman Ahmed Sent with Sparrow (http://www.sparrowmailapp.com/?sig) ___ Discuss-gnuradio mailing list

Re: [Discuss-gnuradio] Usrp_spectrum_sense.py

2012-05-19 Thread Andrew Davis
There has been a lot of discussion about getting useful output, most of the threads never go anywhere ( or at least not enough ). What I believe really must be done is remove the python - C++ callbacks and re-write it in one language ( Something that wasn't possible when it was written ), and it

Re: [Discuss-gnuradio] usrp_spectrum_sense.py segmentation fault problem

2011-12-21 Thread Sebastian Döring
On Tue, 20 Dec 2011 20:24:28 -0500 Tom Rondeau trondeau1...@gmail.com wrote: On Tue, Dec 20, 2011 at 11:02 AM, Thomas Tsou tt...@vt.edu wrote: On Tue, Dec 20, 2011 at 5:11 AM, Sebastian Döring sdoer...@rhrk.uni-kl.de wrote:

[Discuss-gnuradio] usrp_spectrum_sense.py segmentation fault problem

2011-12-20 Thread Sebastian Döring
Hello list, since I got no answer to my last post, I guess what I wrote wasn´t that helpful. I apologize for whatever I did not understand, but I am not familiar with error logs in the context of the problem I have here. I would really appreciate any help with this. Once again my problem: I

Re: [Discuss-gnuradio] usrp_spectrum_sense.py segmentation fault problem

2011-12-20 Thread Matthias Wilhelm
Hello, judging from the log, it seems that a value conversion to float is going wrong, but my (uneducated) guess the root cause is a race between threads (this script starts quite a number of threads ..?). I would try to enter larger values for the delays (tune, dwelling delay) and see

Re: [Discuss-gnuradio] usrp_spectrum_sense.py segmentation fault problem

2011-12-20 Thread Sebastian Döring
On Tue, 20 Dec 2011 11:39:39 +0100 Matthias Wilhelm wilh...@informatik.uni-kl.de wrote: Hello, judging from the log, it seems that a value conversion to float is going wrong, but my (uneducated) guess the root cause is a race between threads (this script starts quite a number of threads

Re: [Discuss-gnuradio] usrp_spectrum_sense.py segmentation fault problem

2011-12-20 Thread Thomas Tsou
On Tue, Dec 20, 2011 at 5:11 AM, Sebastian Döring sdoer...@rhrk.uni-kl.de wrote: -- #0  0x0013a455 in sem_post@@GLIBC_2.1 () from /lib/tls/i686/cmov/libpthread.so.0 #1  0x0810ab61 in

Re: [Discuss-gnuradio] usrp_spectrum_sense.py segmentation fault problem

2011-12-20 Thread Tom Rondeau
On Tue, Dec 20, 2011 at 11:02 AM, Thomas Tsou tt...@vt.edu wrote: On Tue, Dec 20, 2011 at 5:11 AM, Sebastian Döring sdoer...@rhrk.uni-kl.de wrote: -- #0 0x0013a455 in sem_post@@GLIBC_2.1 ()

[Discuss-gnuradio] USRP_spectrum_sense.py: Observing the power values

2010-07-10 Thread Jia Malhotra
I am a new user of USRP and GNU radio. I am using a RX-A daughter board with USRP The gain it outputs is 52. I was using the usrp_spectrum_sense.py file to observe the received power of a SMS signal. If I specify the range as 900-1800 Mz to observe cellphone activity at these frequency

[Discuss-gnuradio] usrp_spectrum_sense.py

2010-06-22 Thread Carlo D'Elia
Hi all, I'm new in this world... but I'm trying to understand the program usrp_spectrum_sense.py. I want to know how many samples my usrp capture at a given time period. It should theoretically capture in n seconds-- USRP_RATE x n seconds. For example in 10 seconds = 4 MS/s x 10s =

[Discuss-gnuradio] usrp_spectrum_sense.py

2010-05-17 Thread cbwangmail
hi everyone: i have a problem about usrp_spectrum_sense.py .i want to implement a spectrum sense to environment with the resolution 25Khz, but i don't kown how can i adjust the parameters in the usrp_spectrum_sense.py.here is some codes about the parameters: parser =

[Discuss-gnuradio] usrp_spectrum_sense.py

2010-01-18 Thread Kyungtae Kim
Hi, In my experimentation, the measured power depends on fft_size and dwell_delay in usrp_spectrum_sense.py while measuring noise power, the larger those values results in higher measured power even if it is normalized based on the fft_size like this. 20*math.log10(math.sqrt(bin)/tb.fft_size)

[Discuss-gnuradio] Usrp_spectrum_sense.py doubts

2008-11-12 Thread Santi Ortega
Can anyone explain me this from usrp_spectrum_sense.py (line 55)? for tap in mywindow: power += tap*tap mywindow is done with window.py but I didn't find where is tap and what it means... Furthermore, Does += means that increase one unit to the result of tap*tap? Sorry if I am a little

RE: [Discuss-gnuradio] Usrp_spectrum_sense.py doubts

2008-11-12 Thread Newman, Timothy
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Santi Ortega Sent: Wednesday, November 12, 2008 11:18 AM To: discuss-gnuradio@gnu.org Subject: [Discuss-gnuradio] Usrp_spectrum_sense.py doubts Can anyone explain me this from usrp_spectrum_sense.py (line 55)? for tap in mywindow: power += tap*tap

[Discuss-gnuradio] usrp_spectrum_sense.py in the gnuradio-example

2008-08-02 Thread Jane Chen
Hi all, I use the usrp_spectrum_sense.py in the gnuradio-example to do the spectrum sensing. The gain is 45dB. I got the mag_squared of the fft output (m.data). I think that I can treat it as power. I would like to draw the spectrogram. Does any one know the unit of the m.data in the

[Discuss-gnuradio] usrp_spectrum_sense.py help needed to understand the output

2008-03-04 Thread Rana Basheer
I am trying to interpret the FFT output in the array m.data. Please let me know if my interpretation of the data below is wrong or not If I set the RFX2400 tuned to frequency 2.4G and the FFT size (fft_size) is set at 256 and the decimation rate (decim_rate) is set at 8 then the value at the

[Discuss-gnuradio] usrp_spectrum_sense.py: object has no attribute 'bin_statistics_f

2007-02-22 Thread Berndt Josef Wulf
G'day, Is usrp_spectrum_sense.py suppose to work with 3.0.3RC1? It's failing with - Using RX d'board A: TV Rx Traceback (most recent call last): File ./usrp_spectrum_sense.py, line 236, in ? fg = my_graph() File ./usrp_spectrum_sense.py, line 169, in __init__ stats =

Re: [Discuss-gnuradio] usrp_spectrum_sense.py: object has no attribute 'bin_statistics_f

2007-02-22 Thread Johnathan Corgan
Berndt Josef Wulf wrote: Is usrp_spectrum_sense.py suppose to work with 3.0.3RC1? No. I suspect that it isn't part of this release yet. It only works on the trunk, which will eventually become the release 3.1 branch. The release 3.0x branch is only receiving bug fix and very minor

Re: [Discuss-gnuradio] usrp_spectrum_sense.py

2006-11-22 Thread Shravan Rayanchu
Hi Eric, Thanks for getting back to me. I'll look into the fftw docs and the links you gave to understand the details. --Shravan I suggest that you take a look at the docs on www.fftw.org. Our fft block uses FFTW to do the work, and the output is exactly as they specify.

[Discuss-gnuradio] usrp_spectrum_sense.py

2006-11-21 Thread Shravan Rayanchu
Hi, I am new to DSP, so I am finding it a little difficult to understand exactly whats going on in the usrp_spectrum_sense.py code. When I print out m.data[0], m.data[1] along with m.center_freq, this is what I get: ./usrp_spectrum_sense.py 2412M 2444M Using RX d'board A: Flex 2400 Rx gain =