diff options
Diffstat (limited to 'gr-radio-astronomy')
-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)", |