Removed a diagnostics print
authormleech <mleech@221aa14e-8319-0410-a670-987f0aec2ac5>
Thu, 6 Sep 2007 02:20:16 +0000 (02:20 +0000)
committermleech <mleech@221aa14e-8319-0410-a670-987f0aec2ac5>
Thu, 6 Sep 2007 02:20:16 +0000 (02:20 +0000)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6341 221aa14e-8319-0410-a670-987f0aec2ac5

gr-radio-astronomy/src/python/usrp_ra_receiver.py

index 6107dfffb8c24fac29d9351439c4f1eebd96cba4..9023545281533e1863852b42affd0355f5757659 100755 (executable)
@@ -156,7 +156,6 @@ class app_flow_graph(stdgui.gui_flow_graph):
 
         # We change center frequencies based on nhitlines and setitimer
         self.setifreq_timer = self.setitimer * (self.nhitlines * 5)
-        print "setifreq_timer", self.setifreq_timer
 
         # Create actual timer
         self.seti_then = time.time()
@@ -1050,7 +1049,8 @@ class app_flow_graph(stdgui.gui_flow_graph):
          self.myform['dcgain'].set_value(gain)
          self.cal_mult.set_k(gain*0.01)
          self.calib_coeff = gain
-         self.cal_offs.set_k(self.calib_offset*(self.calib_coeff*8000))
+         x = gain/100.0
+         self.cal_offs.set_k(self.calib_offset*(x*8000))
 
     def compute_notch_taps(self,notchlist):
          NOTCH_TAPS = 256