Re: How to scan the whole ISM band?

I need time and power strength information to draw spectrogram. I have
to finish this project as soon as possible, so I am looking for an
easiest way to learn and solve this problem. I wonder if the
following method can draw the spectrogram correctly. I really appreciate
your help!
Â
I run the command “./usrp_spectrum_sense.py -d 8 2400e6 2480e6”,
and then write the self.u into a file, “usrpoutput”. Because I set the
decimation equal to 8, there are 8M samples/sec at USB. I can get the
interval between samples is 0.125usec(1/8=0.125). The self.u is in time
domain. I can get the amplitude of the self.u from the
file, usrpoutputand, and get the time index of self.u through
n*0.125usec where n means nth sample. I put the time and amplitude
information into matlab and then I can draw the spectrogram using the
command “spectrogram” in the matlab.
Â
---------------------------------------- code

       self.u = usrp.source_c(fusb_block_size=options.fusb_block_size,
                              fusb_nblocks=options.fusb_nblocks)