summaryrefslogtreecommitdiff
path: root/gr-atsc
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-02-03 14:58:58 +0100
committerMarcus Müller <marcus@hostalia.de>2018-02-03 14:58:58 +0100
commitb163b242e06c9f714b05f57f7180c760f021cbb6 (patch)
tree84ab2b2c624bed231e0932bfaedbfc7c4e9cc703 /gr-atsc
parenta12b1a9ecf143d3adcb0c25ca535012445370631 (diff)
Comment typo fixing.
Luzpaz went ahead and found typos using `codespell -q 3`.
Diffstat (limited to 'gr-atsc')
-rw-r--r--gr-atsc/include/gnuradio/atsc/fs_checker_impl.h2
-rw-r--r--gr-atsc/include/gnuradio/atsc/fs_correlator_impl.h2
-rw-r--r--gr-atsc/lib/GrAtscBitTimingLoop.cc2
-rw-r--r--gr-atsc/lib/GrAtscBitTimingLoop2.cc2
-rw-r--r--gr-atsc/lib/GrAtscBitTimingLoop3.cc2
-rw-r--r--gr-atsc/lib/atsc_bit_timing_loop.cc4
-rwxr-xr-xgr-atsc/python/atsc/atsc_rx.py4
-rwxr-xr-xgr-atsc/python/atsc/qa_atsc.py6
8 files changed, 12 insertions, 12 deletions
diff --git a/gr-atsc/include/gnuradio/atsc/fs_checker_impl.h b/gr-atsc/include/gnuradio/atsc/fs_checker_impl.h
index 3ac1b8d913..8409701c1b 100644
--- a/gr-atsc/include/gnuradio/atsc/fs_checker_impl.h
+++ b/gr-atsc/include/gnuradio/atsc/fs_checker_impl.h
@@ -29,7 +29,7 @@
* \brief abstract base class for ATSC field sync checker
*
* Processes input samples one at a time looking for
- * an occurence of either the field sync 1 or field sync 2 pattern.
+ * an occurrence of either the field sync 1 or field sync 2 pattern.
*
* Note that unlike atsci_fs_correlator, this class uses the symbol_num in
* input_tag to avoid having to test each symbol position.
diff --git a/gr-atsc/include/gnuradio/atsc/fs_correlator_impl.h b/gr-atsc/include/gnuradio/atsc/fs_correlator_impl.h
index 2517877666..6b9cd6f0f1 100644
--- a/gr-atsc/include/gnuradio/atsc/fs_correlator_impl.h
+++ b/gr-atsc/include/gnuradio/atsc/fs_correlator_impl.h
@@ -29,7 +29,7 @@
* \brief abstract base class for ATSC field sync correlator
*
* Processes input samples one at a time looking for
- * an occurence of either the field sync 1 or field sync 2 pattern.
+ * an occurrence of either the field sync 1 or field sync 2 pattern.
*
* For each sample processed, an output sample and an output tag are produced.
* The output samples are identical to the input samples but are delayed by
diff --git a/gr-atsc/lib/GrAtscBitTimingLoop.cc b/gr-atsc/lib/GrAtscBitTimingLoop.cc
index 835dc14a91..3080f2a0fe 100644
--- a/gr-atsc/lib/GrAtscBitTimingLoop.cc
+++ b/gr-atsc/lib/GrAtscBitTimingLoop.cc
@@ -68,7 +68,7 @@ GrAtscBitTimingLoop::GrAtscBitTimingLoop ()
// We are nominally a 2x decimator, but our actual rate varies slightly
// depending on the difference between the transmitter and receiver
// sampling clocks. Hence, we need to compute our input ranges
-// explictly.
+// explicitly.
int
GrAtscBitTimingLoop::forecast(VrSampleRange output,
diff --git a/gr-atsc/lib/GrAtscBitTimingLoop2.cc b/gr-atsc/lib/GrAtscBitTimingLoop2.cc
index 536ca08720..665569679c 100644
--- a/gr-atsc/lib/GrAtscBitTimingLoop2.cc
+++ b/gr-atsc/lib/GrAtscBitTimingLoop2.cc
@@ -59,7 +59,7 @@ GrAtscBitTimingLoop2::GrAtscBitTimingLoop2 ()
// We are nominally a 2x decimator, but our actual rate varies slightly
// depending on the difference between the transmitter and receiver
// sampling clocks. Hence, we need to compute our input ranges
-// explictly.
+// explicitly.
int
GrAtscBitTimingLoop2::forecast(VrSampleRange output,
diff --git a/gr-atsc/lib/GrAtscBitTimingLoop3.cc b/gr-atsc/lib/GrAtscBitTimingLoop3.cc
index 14596900a9..866faf737a 100644
--- a/gr-atsc/lib/GrAtscBitTimingLoop3.cc
+++ b/gr-atsc/lib/GrAtscBitTimingLoop3.cc
@@ -45,7 +45,7 @@ GrAtscBitTimingLoop3::GrAtscBitTimingLoop3 (double ratio_of_rx_clock_to_symbol_f
// We are nominally a 2x decimator, but our actual rate varies slightly
// depending on the difference between the transmitter and receiver
// sampling clocks. Hence, we need to compute our input ranges
-// explictly.
+// explicitly.
int
GrAtscBitTimingLoop3::forecast(VrSampleRange output,
diff --git a/gr-atsc/lib/atsc_bit_timing_loop.cc b/gr-atsc/lib/atsc_bit_timing_loop.cc
index 1458c9ed63..de9477a49f 100644
--- a/gr-atsc/lib/atsc_bit_timing_loop.cc
+++ b/gr-atsc/lib/atsc_bit_timing_loop.cc
@@ -96,12 +96,12 @@ atsc_bit_timing_loop::work (int noutput_items,
double timing_adjustment = 0;
bool seg_locked;
atsc::syminfo tag;
- // ammount requested in forecast
+ // amount requested in forecast
unsigned long input_size = noutput_items * d_rx_clock_to_symbol_freq + 1500 -1;
memset (&tag, 0, sizeof (tag));
- // ammount actually consumed
+ // amount actually consumed
d_si = 0;
for (k = 0; k < noutput_items; k++){
diff --git a/gr-atsc/python/atsc/atsc_rx.py b/gr-atsc/python/atsc/atsc_rx.py
index 940eeac4bd..1730763567 100755
--- a/gr-atsc/python/atsc/atsc_rx.py
+++ b/gr-atsc/python/atsc/atsc_rx.py
@@ -32,7 +32,7 @@
# complex samples / sec, then lowpass filters with a cutoff of 3.2MHz
# and a transition band width of .5MHz. Center of the tv channels is
# now at 0 with edges at -3.2MHz and 3.2MHz. This puts the pilot at
-# -3MHz + 309KHz. Next a root raised cosine filter is aplied to match the one
+# -3MHz + 309KHz. Next a root raised cosine filter is applied to match the one
# in the transmitter and thus reduce ISI. The phased locked loop then locks to
# the pilot and outputs just the real part of the signal ( as information is
# not stored in the phase with atsc ), this is then feed to the bit lock
@@ -79,7 +79,7 @@ def graph (args):
ilp_coeffs = filter.firdes.low_pass(1, input_rate, 3.2e6, .5e6, filter.firdes.WIN_HAMMING)
ilp = filter.interp_fir_filter_ccf(3, ilp_coeffs)
- # Move the center frequency to 5.75MHz ( this wont be needed soon )
+ # Move the center frequency to 5.75MHz ( this won't be needed soon )
duc_coeffs = filter.firdes.low_pass ( 1, 19.2e6, 9e6, 1e6, filter.firdes.WIN_HAMMING )
duc = filter.freq_xlating_fir_filter_ccf ( 1, duc_coeffs, -5.75e6, 19.2e6 )
diff --git a/gr-atsc/python/atsc/qa_atsc.py b/gr-atsc/python/atsc/qa_atsc.py
index e6ea81a50e..80300ace98 100755
--- a/gr-atsc/python/atsc/qa_atsc.py
+++ b/gr-atsc/python/atsc/qa_atsc.py
@@ -73,7 +73,7 @@ class vector_source_ts(gr.hier_block2):
"""
def __init__(self, ts):
"""
- Pad tranport stream packets to 256 bytes and reformat appropriately.
+ Pad transport stream packets to 256 bytes and reformat appropriately.
Args:
ts: MPEG transport stream. (sequence of ints in [0,255]; len(ts) % 188 == 0)
@@ -105,9 +105,9 @@ class vector_sink_ts(gr.hier_block2):
def data(self):
"""
- Extracts tranport stream from sink and returns it to python.
+ Extracts transport stream from sink and returns it to python.
- Depads tranport stream packets from 256 back to 188 bytes.
+ Depads transport stream packets from 256 back to 188 bytes.
@rtype: tuple of ints in [0,255]; len(result) % 188 == 0
"""
return tuple(depad_transport_stream(self.sink.data()))