From 88d87e948315bc22ce02e635cb4771a836b73616 Mon Sep 17 00:00:00 2001 From: mleech Date: Tue, 5 Sep 2006 04:12:48 +0000 Subject: Turned on baseband filtering if DBS_RX git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3488 221aa14e-8319-0410-a670-987f0aec2ac5 --- gr-radio-astronomy/src/python/usrp_ra_receiver.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gr-radio-astronomy/src/python') diff --git a/gr-radio-astronomy/src/python/usrp_ra_receiver.py b/gr-radio-astronomy/src/python/usrp_ra_receiver.py index 37a1ebfff..5546a59e0 100755 --- a/gr-radio-astronomy/src/python/usrp_ra_receiver.py +++ b/gr-radio-astronomy/src/python/usrp_ra_receiver.py @@ -279,7 +279,7 @@ class app_flow_graph(stdgui.gui_flow_graph): self._set_status_msg("Failed to set initial frequency") self.set_decln (self.decln) - calib_set_bw(self.decln) + calib_set_decln (self.decln) self.myform['decim'].set_value(self.u.decim_rate()) self.myform['fs@usb'].set_value(self.u.adc_freq() / self.u.decim_rate()) @@ -288,6 +288,10 @@ class app_flow_graph(stdgui.gui_flow_graph): # Make sure calibrator knows what our bandwidth is calib_set_bw(self.u.adc_freq() / self.u.decim_rate()) + # Set analog baseband filtering, if DBS_RX + if self.cardtype == usrp_dbid.DBS_RX: + self.subdev.set_bw((self.u.adc_freq() / self.u.decim_rate())/2) + # Tell calibrator our declination as well calib_set_decln(self.decln) -- cgit