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 = OptionParser(option_class=eng_option, usage=usage)
parser.add_option("-R", "--rx-subdev-spec", type="subdev",
default=(0,0),
help="select USRP Rx side A or B (default=A)")
parser.add_option("-g", "--gain", type="eng_float", default=None,
help="set gain in dB (default is midpoint)")
parser.add_option("", "--tune-delay", type="eng_float", default=1e-3,
metavar="SECS",
help="time to delay (in seconds) after changing
frequency [default=%default]")
parser.add_option("", "--dwell-delay", type="eng_float", default=10e-3,
metavar="SECS",
help="time to dwell (in seconds) at a given frequncy
[default=%default]")
parser.add_option("-F", "--fft-size", type="int", default=256,
help="specify number of FFT bins [default=%default]")
parser.add_option("-d", "--decim", type="intx", default=128,
help="set decimation to DECIM [default=%default]")
parser.add_option("", "--real-time", action="store_true", default=False,
help="Attempt to enable real-time scheduling")
parser.add_option("-B", "--fusb-block-size", type="int", default=0,
help="specify fast usb block size [default=%default]")
parser.add_option("-N", "--fusb-nblocks", type="int", default=0,
help="specify number of fast usb blocks
[default=%default]")
self.freq_step = usrp_rate / 20
self.min_center_freq = self.min_freq + self.freq_step/2
nsteps = math.ceil((self.max_freq - self.min_freq) / self.freq_step)
self.max_center_freq = self.min_center_freq + ((nsteps-1) *
self.freq_step)
self.next_freq = self.min_center_freq
it looks i can get the output with the resolution 25Khz ,but the problem is
when i send a signal with the frequent point 430M,
bandwidth 50Khz ,running the usrp_spectrum_sense.py, i can get a change in the
430Mhz,but the bandwidth is bigger than 50Khz(about 400Khz),so what should i do
with this problem?
thanks in advance!
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio