From c7be5804b32bcf19739297b04f3d811bee1a47fb Mon Sep 17 00:00:00 2001 From: mleech Date: Wed, 4 Oct 2006 14:36:13 +0000 Subject: 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 --- gr-radio-astronomy/src/python/usrp_psr_receiver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gr-radio-astronomy/src/python/usrp_psr_receiver.py') 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 -- cgit