diff options
author | mleech | 2006-09-05 04:12:48 +0000 |
---|---|---|
committer | mleech | 2006-09-05 04:12:48 +0000 |
commit | 88d87e948315bc22ce02e635cb4771a836b73616 (patch) | |
tree | efd9bc449387004db5f17452257864d3a86d2f83 /gr-radio-astronomy/src/python | |
parent | 36c175fb855d11d09d5418afa83dcc7a6924efac (diff) | |
download | gnuradio-88d87e948315bc22ce02e635cb4771a836b73616.tar.gz gnuradio-88d87e948315bc22ce02e635cb4771a836b73616.tar.bz2 gnuradio-88d87e948315bc22ce02e635cb4771a836b73616.zip |
Turned on baseband filtering if DBS_RX
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3488 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-radio-astronomy/src/python')
-rwxr-xr-x | gr-radio-astronomy/src/python/usrp_ra_receiver.py | 6 |
1 files changed, 5 insertions, 1 deletions
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) |