summaryrefslogtreecommitdiff
path: root/gr-radio-astronomy/src/python/usrp_psr_receiver.py
diff options
context:
space:
mode:
authormleech2006-10-04 14:36:13 +0000
committermleech2006-10-04 14:36:13 +0000
commitc7be5804b32bcf19739297b04f3d811bee1a47fb (patch)
tree2d1d5f6f91a19e45534095cb26e3daea30d49e45 /gr-radio-astronomy/src/python/usrp_psr_receiver.py
parent58d96ee6c7c8992eaf9659668cc70530ef2f3171 (diff)
downloadgnuradio-c7be5804b32bcf19739297b04f3d811bee1a47fb.tar.gz
gnuradio-c7be5804b32bcf19739297b04f3d811bee1a47fb.tar.bz2
gnuradio-c7be5804b32bcf19739297b04f3d811bee1a47fb.zip
Changed data logging significantly, in that for continuum data, the data
logging is more directly plugged into the signal-processing chain, rather than being a side-effect of plotting. For spectral data, had it copy spectral bins into a data buffer that gets dumped once per second in the UI, same as continuum data. Added --calib_coeff and --calib_offset command-line parameters to scale the output of the continuum detector. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3706 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-radio-astronomy/src/python/usrp_psr_receiver.py')
-rwxr-xr-xgr-radio-astronomy/src/python/usrp_psr_receiver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-radio-astronomy/src/python/usrp_psr_receiver.py b/gr-radio-astronomy/src/python/usrp_psr_receiver.py
index cd2a182d1..91cb2e7ef 100755
--- a/gr-radio-astronomy/src/python/usrp_psr_receiver.py
+++ b/gr-radio-astronomy/src/python/usrp_psr_receiver.py
@@ -95,7 +95,7 @@ class app_flow_graph(stdgui.gui_flow_graph):
self.reflevel = options.reflevel
self.divbase = options.divbase
self.division = options.division
- self.audiodev = options.audio_dev
+ self.audiodev = options.audio_source
# Low-pass cutoff for post-detector filter
# Set to 100Hz usually, since lots of pulsars fit in this
@@ -295,7 +295,7 @@ class app_flow_graph(stdgui.gui_flow_graph):
self.scope = ra_fftsink.ra_fft_sink_f (self, panel,
fft_size=int(options.fft_size), sample_rate=PULSAR_MAX_FREQ*2,
title="Post-detector spectrum",
- cfunc=self.pulsarfunc, xydfunc=self.xydfunc, fft_rate=200)
+ ofunc=self.pulsarfunc, xydfunc=self.xydfunc, fft_rate=200)
#
# Tell scope we're looking from DC to PULSAR_MAX_FREQ