summaryrefslogtreecommitdiff
path: root/gr-filter/examples
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
commit597b93798a804cde1783d6d2ab53b348d57c44cd (patch)
treeb65e73bb0de634ff5d209b15971ebdabf369a45c /gr-filter/examples
parent1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff)
Removing trailing/extra whitespaces before release.
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'gr-filter/examples')
-rwxr-xr-xgr-filter/examples/fft_filter_ccc.py2
-rwxr-xr-xgr-filter/examples/fir_filter_ccc.py2
-rwxr-xr-xgr-filter/examples/fir_filter_fff.py2
-rwxr-xr-xgr-filter/examples/gr_filtdes_api.py6
-rwxr-xr-xgr-filter/examples/gr_filtdes_callback.py2
-rwxr-xr-xgr-filter/examples/gr_filtdes_live_upd.py2
6 files changed, 8 insertions, 8 deletions
diff --git a/gr-filter/examples/fft_filter_ccc.py b/gr-filter/examples/fft_filter_ccc.py
index 4979cfedda..00b0697b6c 100755
--- a/gr-filter/examples/fft_filter_ccc.py
+++ b/gr-filter/examples/fft_filter_ccc.py
@@ -112,7 +112,7 @@ def main():
s2.plot(data_snk.real, 'g')
pylab.show()
-
+
if __name__ == "__main__":
try:
main()
diff --git a/gr-filter/examples/fir_filter_ccc.py b/gr-filter/examples/fir_filter_ccc.py
index 2a9241858c..b295e299bb 100755
--- a/gr-filter/examples/fir_filter_ccc.py
+++ b/gr-filter/examples/fir_filter_ccc.py
@@ -106,7 +106,7 @@ def main():
s2.plot(data_snk.real, 'g')
pylab.show()
-
+
if __name__ == "__main__":
try:
main()
diff --git a/gr-filter/examples/fir_filter_fff.py b/gr-filter/examples/fir_filter_fff.py
index c9c5556da3..60b61054e9 100755
--- a/gr-filter/examples/fir_filter_fff.py
+++ b/gr-filter/examples/fir_filter_fff.py
@@ -106,7 +106,7 @@ def main():
s2.plot(data_snk.real, 'g')
pylab.show()
-
+
if __name__ == "__main__":
try:
main()
diff --git a/gr-filter/examples/gr_filtdes_api.py b/gr-filter/examples/gr_filtdes_api.py
index c94a56bbc9..6d7716ce49 100755
--- a/gr-filter/examples/gr_filtdes_api.py
+++ b/gr-filter/examples/gr_filtdes_api.py
@@ -24,14 +24,14 @@ from gnuradio.filter import filter_design
import sys
'''
-API Blocking call
+API Blocking call
returns filter taps for FIR filter design
returns b,a for IIR filter design
-'''
+'''
filtobj = filter_design.launch(sys.argv)
# Displaying all filter paramters
-print "Filter Count:", filtobj.get_filtercount()
+print "Filter Count:", filtobj.get_filtercount()
print "Filter type:", filtobj.get_restype()
print "Filter params", filtobj.get_params()
print "Filter Coefficients", filtobj.get_taps()
diff --git a/gr-filter/examples/gr_filtdes_callback.py b/gr-filter/examples/gr_filtdes_callback.py
index a87d7d3dad..9496253d7a 100755
--- a/gr-filter/examples/gr_filtdes_callback.py
+++ b/gr-filter/examples/gr_filtdes_callback.py
@@ -32,7 +32,7 @@ except ImportError:
Callback example
Function called when "design" button is pressed
or pole-zero plot is changed
-launch function returns gr_filter_design mainwindow
+launch function returns gr_filter_design mainwindow
object when callback is not None
'''
def print_params(filtobj):
diff --git a/gr-filter/examples/gr_filtdes_live_upd.py b/gr-filter/examples/gr_filtdes_live_upd.py
index 52985119e0..9f974dd81c 100755
--- a/gr-filter/examples/gr_filtdes_live_upd.py
+++ b/gr-filter/examples/gr_filtdes_live_upd.py
@@ -65,7 +65,7 @@ class my_top_block(gr.top_block):
self.qapp = QtGui.QApplication(sys.argv)
self.filt_taps = [1,]
-
+
src1 = analog.sig_source_c(Rs, analog.GR_SIN_WAVE, f1, 0.1, 0)
src2 = analog.sig_source_c(Rs, analog.GR_SIN_WAVE, f2, 0.1, 0)
src = blocks.add_cc()