commit-gnuradio
[Top][All Lists]
Advanced

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

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


From: mleech
Subject: [Commit-gnuradio] r7235 - gnuradio/trunk/gr-radio-astronomy/src/python
Date: Thu, 20 Dec 2007 20:48:58 -0700 (MST)

Author: mleech
Date: 2007-12-20 20:48:58 -0700 (Thu, 20 Dec 2007)
New Revision: 7235

Modified:
   gnuradio/trunk/gr-radio-astronomy/src/python/usrp_psr_receiver.py
   gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
Log:
Fixed calls to ra_stripchartsink and ra_fftsink



Modified: gnuradio/trunk/gr-radio-astronomy/src/python/usrp_psr_receiver.py
===================================================================
--- gnuradio/trunk/gr-radio-astronomy/src/python/usrp_psr_receiver.py   
2007-12-20 18:52:32 UTC (rev 7234)
+++ gnuradio/trunk/gr-radio-astronomy/src/python/usrp_psr_receiver.py   
2007-12-21 03:48:58 UTC (rev 7235)
@@ -309,7 +309,7 @@
         hz = "%5.3fHz " % self.pulse_freq
         per = "(%5.3f sec)" % (1.0/self.pulse_freq)
         sr = "%d sps" % (int(self.pulse_freq*self.folding))
-        self.chart = ra_stripchartsink.stripchart_sink_f (self, panel,
+        self.chart = ra_stripchartsink.stripchart_sink_f (panel,
                sample_rate=1,
                stripsize=self.folding*FOLD_MULT, parallel=True, title="Pulse 
Profiles: "+hz+per, 
                xlabel="Seconds @ "+sr, ylabel="Level", autoscale=True,

Modified: gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py
===================================================================
--- gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py    
2007-12-20 18:52:32 UTC (rev 7234)
+++ gnuradio/trunk/gr-radio-astronomy/src/python/usrp_ra_receiver.py    
2007-12-21 03:48:58 UTC (rev 7235)
@@ -252,12 +252,12 @@
 
         # Set up FFT display
         if self.waterfall == False:
-           self.scope = ra_fftsink.ra_fft_sink_c (self, panel, 
+           self.scope = ra_fftsink.ra_fft_sink_c (panel, 
                fft_size=int(self.fft_size), sample_rate=self.fft_input_rate,
                fft_rate=int(self.fft_rate), title="Spectral",  
                ofunc=self.fft_outfunc, xydfunc=self.xydfunc)
         else:
-            self.scope = ra_waterfallsink.waterfall_sink_c (self, panel,
+            self.scope = ra_waterfallsink.waterfall_sink_c (panel,
                 fft_size=int(self.fft_size), sample_rate=self.fft_input_rate,
                 fft_rate=int(self.fft_rate), title="Spectral", 
ofunc=self.fft_outfunc, size=(1100, 600), xydfunc=self.xydfunc, ref_level=0, 
span=10)
 
@@ -272,7 +272,7 @@
         # Set up stripchart display
         self.stripsize = int(options.stripsize)
         if self.setimode == False:
-            self.chart = ra_stripchartsink.stripchart_sink_f (self, panel,
+            self.chart = ra_stripchartsink.stripchart_sink_f (panel,
                 stripsize=self.stripsize,
                 title="Continuum",
                 xlabel="LMST Offset (Seconds)",





reply via email to

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