summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/examples/pfb/resampler.py
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/examples/pfb/resampler.py')
-rwxr-xr-xgnuradio-core/src/examples/pfb/resampler.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnuradio-core/src/examples/pfb/resampler.py b/gnuradio-core/src/examples/pfb/resampler.py
index 7b296ca717..555938d281 100755
--- a/gnuradio-core/src/examples/pfb/resampler.py
+++ b/gnuradio-core/src/examples/pfb/resampler.py
@@ -1,24 +1,24 @@
#!/usr/bin/env python
#
# Copyright 2009 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
from gnuradio import gr, blks2
import sys
@@ -38,7 +38,7 @@ except ImportError:
class mytb(gr.top_block):
def __init__(self, fs_in, fs_out, fc, N=10000):
gr.top_block.__init__(self)
-
+
rerate = float(fs_out) / float(fs_in)
print "Resampling from %f to %f by %f " %(fs_in, fs_out, rerate)
@@ -56,7 +56,7 @@ class mytb(gr.top_block):
# A resampler that just needs a resampling rate.
# Filter is created for us and designed to cover
# entire bandwidth of the input signal.
- # An optional atten=XX rate can be used here to
+ # An optional atten=XX rate can be used here to
# specify the out-of-band rejection (default=80).
self.resamp_1 = blks2.pfb_arb_resampler_ccf(rerate)