diff options
author | Johnathan Corgan | 2010-05-13 13:11:13 -0700 |
---|---|---|
committer | Johnathan Corgan | 2010-05-13 13:11:13 -0700 |
commit | 3a730f46faf1942c713350b312a1dfeffb587550 (patch) | |
tree | 5ceac3051d67f0a5dfbac2210e5bb9a267218157 /gr-wxgui/src/python/scopesink_gl.py | |
parent | 331542fc51eb47a65161ab6d41c6dc8fd1dd1f22 (diff) | |
download | gnuradio-3a730f46faf1942c713350b312a1dfeffb587550.tar.gz gnuradio-3a730f46faf1942c713350b312a1dfeffb587550.tar.bz2 gnuradio-3a730f46faf1942c713350b312a1dfeffb587550.zip |
gr-wxgui: Renamed "emulate analog" feature to "use persistence"
Diffstat (limited to 'gr-wxgui/src/python/scopesink_gl.py')
-rw-r--r-- | gr-wxgui/src/python/scopesink_gl.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-wxgui/src/python/scopesink_gl.py b/gr-wxgui/src/python/scopesink_gl.py index a12517883..b3222b43b 100644 --- a/gr-wxgui/src/python/scopesink_gl.py +++ b/gr-wxgui/src/python/scopesink_gl.py @@ -77,16 +77,16 @@ class _scope_sink_base(gr.hier_block2, common.wxgui_hb): ac_couple=False, num_inputs=1, frame_rate=scope_window.DEFAULT_FRAME_RATE, - emulate_analog=False, - analog_alpha=None, + use_persistence=False, + persist_alpha=None, **kwargs #do not end with a comma ): #ensure analog alpha - if analog_alpha is None: + if persist_alpha is None: actual_frame_rate=float(frame_rate) analog_cutoff_freq=0.5 # Hertz #calculate alpha from wanted cutoff freq - analog_alpha = 1.0 - math.exp(-2.0*math.pi*analog_cutoff_freq/actual_frame_rate) + persist_alpha = 1.0 - math.exp(-2.0*math.pi*analog_cutoff_freq/actual_frame_rate) if not t_scale: t_scale = 10.0/sample_rate #init @@ -139,8 +139,8 @@ class _scope_sink_base(gr.hier_block2, common.wxgui_hb): trigger_channel_key=TRIGGER_CHANNEL_KEY, decimation_key=DECIMATION_KEY, msg_key=MSG_KEY, - emulate_analog=emulate_analog, - analog_alpha=analog_alpha, + use_persistence=use_persistence, + persist_alpha=persist_alpha, ) common.register_access_methods(self, self.win) #connect |