diff options
author | mleech | 2007-12-21 03:48:58 +0000 |
---|---|---|
committer | mleech | 2007-12-21 03:48:58 +0000 |
commit | 836d254439fb08c46edd6f020ab86bd02541baf1 (patch) | |
tree | a4fcc4fdaf9bb2286ec9e4451f1c4148fca9d500 /gr-radio-astronomy/src | |
parent | 374447978631cc38b18495f9a17d2fe1c85e1046 (diff) | |
download | gnuradio-836d254439fb08c46edd6f020ab86bd02541baf1.tar.gz gnuradio-836d254439fb08c46edd6f020ab86bd02541baf1.tar.bz2 gnuradio-836d254439fb08c46edd6f020ab86bd02541baf1.zip |
Fixed calls to ra_stripchartsink and ra_fftsink
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7235 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-radio-astronomy/src')
-rwxr-xr-x | gr-radio-astronomy/src/python/usrp_psr_receiver.py | 2 | ||||
-rwxr-xr-x | gr-radio-astronomy/src/python/usrp_ra_receiver.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-radio-astronomy/src/python/usrp_psr_receiver.py b/gr-radio-astronomy/src/python/usrp_psr_receiver.py index 6b430be6c..fba0a3e38 100755 --- a/gr-radio-astronomy/src/python/usrp_psr_receiver.py +++ b/gr-radio-astronomy/src/python/usrp_psr_receiver.py @@ -309,7 +309,7 @@ class app_flow_graph(stdgui2.std_top_block): 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, diff --git a/gr-radio-astronomy/src/python/usrp_ra_receiver.py b/gr-radio-astronomy/src/python/usrp_ra_receiver.py index a34b39f9f..e424e9c95 100755 --- a/gr-radio-astronomy/src/python/usrp_ra_receiver.py +++ b/gr-radio-astronomy/src/python/usrp_ra_receiver.py @@ -252,12 +252,12 @@ class app_flow_graph(stdgui2.std_top_block): # 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 @@ class app_flow_graph(stdgui2.std_top_block): # 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)", |