commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r6341 - gnuradio/trunk/gr-radio-astronomy/src/python


From: mleech
Subject: [Commit-gnuradio] r6341 - gnuradio/trunk/gr-radio-astronomy/src/python
Date: Wed, 5 Sep 2007 20:20:16 -0600 (MDT)

Author: mleech
Date: 2007-09-05 20:20:16 -0600 (Wed, 05 Sep 2007)
New Revision: 6341

Modified:
   gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
Log:
Removed a diagnostics print



Modified: gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
===================================================================
--- gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py    
2007-09-06 01:54:36 UTC (rev 6340)
+++ gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py    
2007-09-06 02:20:16 UTC (rev 6341)
@@ -156,7 +156,6 @@
 
         # 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 @@
          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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]