summaryrefslogtreecommitdiff
path: root/gr-fec
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fec')
-rw-r--r--gr-fec/CMakeLists.txt2
-rw-r--r--gr-fec/docs/CMakeLists.txt (renamed from gr-fec/doc/CMakeLists.txt)0
-rw-r--r--gr-fec/docs/README.fec (renamed from gr-fec/doc/README.fec)0
-rw-r--r--gr-fec/docs/fec.dox (renamed from gr-fec/doc/fec.dox)0
-rw-r--r--gr-fec/include/gnuradio/fec/alist.h2
-rw-r--r--gr-fec/include/gnuradio/fec/ccsds_encoder.h2
-rw-r--r--gr-fec/include/gnuradio/fec/dummy_encoder.h2
-rw-r--r--gr-fec/include/gnuradio/fec/polar_common.h3
-rw-r--r--gr-fec/lib/conv_bit_corr_bb_impl.cc2
-rw-r--r--gr-fec/lib/reed-solomon/CMakeLists.txt2
-rw-r--r--gr-fec/lib/tpc_decoder.cc6
-rwxr-xr-xgr-fec/lib/tpc_encoder.cc2
-rw-r--r--gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py2
-rw-r--r--gr-fec/python/fec/polar/channel_construction_bec.py2
-rw-r--r--gr-fec/python/fec/polar/helper_functions.py2
15 files changed, 15 insertions, 14 deletions
diff --git a/gr-fec/CMakeLists.txt b/gr-fec/CMakeLists.txt
index 6938a97d08..adb2a941fd 100644
--- a/gr-fec/CMakeLists.txt
+++ b/gr-fec/CMakeLists.txt
@@ -62,7 +62,7 @@ if(ENABLE_PYTHON)
add_subdirectory(grc)
endif(ENABLE_PYTHON)
add_subdirectory(examples)
-add_subdirectory(doc)
+add_subdirectory(docs)
add_subdirectory(ldpc_alist)
add_subdirectory(apps)
diff --git a/gr-fec/doc/CMakeLists.txt b/gr-fec/docs/CMakeLists.txt
index 35aebb2e01..35aebb2e01 100644
--- a/gr-fec/doc/CMakeLists.txt
+++ b/gr-fec/docs/CMakeLists.txt
diff --git a/gr-fec/doc/README.fec b/gr-fec/docs/README.fec
index 346cc8f1da..346cc8f1da 100644
--- a/gr-fec/doc/README.fec
+++ b/gr-fec/docs/README.fec
diff --git a/gr-fec/doc/fec.dox b/gr-fec/docs/fec.dox
index 436510025b..436510025b 100644
--- a/gr-fec/doc/fec.dox
+++ b/gr-fec/docs/fec.dox
diff --git a/gr-fec/include/gnuradio/fec/alist.h b/gr-fec/include/gnuradio/fec/alist.h
index 85f6a79cd7..e68a88cd4e 100644
--- a/gr-fec/include/gnuradio/fec/alist.h
+++ b/gr-fec/include/gnuradio/fec/alist.h
@@ -57,7 +57,7 @@ class FEC_API alist
//! Write alist data to a file
void write(const char * fname) const;
- //! Retuns N, the number of variable nodes
+ //! Returns N, the number of variable nodes
int get_N();
//! Return M, the number of check nodes
diff --git a/gr-fec/include/gnuradio/fec/ccsds_encoder.h b/gr-fec/include/gnuradio/fec/ccsds_encoder.h
index 9fa364a42e..f482ad90f7 100644
--- a/gr-fec/include/gnuradio/fec/ccsds_encoder.h
+++ b/gr-fec/include/gnuradio/fec/ccsds_encoder.h
@@ -46,7 +46,7 @@ namespace gr {
* where we can set the rate, constraint length, and polynomial,
* see gr::fec::code::cc_encoder.
*
- * The encoder is set up wtih a number of bits per frame in the
+ * The encoder is set up with a number of bits per frame in the
* constructor. When not being used in a tagged stream mode,
* this encoder will only process frames of the length provided
* here. If used in a tagged stream block, this setting becomes
diff --git a/gr-fec/include/gnuradio/fec/dummy_encoder.h b/gr-fec/include/gnuradio/fec/dummy_encoder.h
index cd38d747f7..b0aa704c8b 100644
--- a/gr-fec/include/gnuradio/fec/dummy_encoder.h
+++ b/gr-fec/include/gnuradio/fec/dummy_encoder.h
@@ -61,7 +61,7 @@ namespace gr {
* handled. If set to True, the encoder's
* get_output_conversion returns 'packed_bits', meaning
* that the output data of the encoder is packed and
- * should be unpacked. Generally handled throug an
+ * should be unpacked. Generally handled through an
* extended encoder interface.
*/
static generic_encoder::sptr make(int frame_size, bool pack = false,
diff --git a/gr-fec/include/gnuradio/fec/polar_common.h b/gr-fec/include/gnuradio/fec/polar_common.h
index daa612cfc5..c36995b59e 100644
--- a/gr-fec/include/gnuradio/fec/polar_common.h
+++ b/gr-fec/include/gnuradio/fec/polar_common.h
@@ -27,6 +27,7 @@
#include <vector>
#include <gnuradio/fec/api.h>
+#include <vector>
// Forward declaration for those objects. SWIG doesn't like them to be #include'd.
namespace gr {
@@ -47,7 +48,7 @@ namespace gr {
*
* \details
* Polar codes are based on this paper by Erdal Arikan "Channel
- * Polarization: A Method for Contructing Capacity-Achieving Codes
+ * Polarization: A Method for Constructing Capacity-Achieving Codes
* for Symmetric Binary-Input Memoryless Channels", 2009 block
* holds common information for encoders and decoders. All polar
* encoder/decoders inherit from polar_common.
diff --git a/gr-fec/lib/conv_bit_corr_bb_impl.cc b/gr-fec/lib/conv_bit_corr_bb_impl.cc
index 48de06157b..7c514168f4 100644
--- a/gr-fec/lib/conv_bit_corr_bb_impl.cc
+++ b/gr-fec/lib/conv_bit_corr_bb_impl.cc
@@ -66,7 +66,7 @@ namespace gr {
// d_msgrecv_rpc(alias(), "messages_recieved", &d_msgrecv,
// pmt::mp(0), pmt::mp(65536), pmt::mp(0),
-// "messages", "Asynch Messages Recieved",
+// "messages", "Asynch Messages Received",
// RPC_PRIVLVL_MIN, DISPTIME | DISPOPTSTRIP),
// d_msgsent_rpc(alias(), "messages_sent", &d_msgsent,
// pmt::mp(0), pmt::mp(65536), pmt::mp(0),
diff --git a/gr-fec/lib/reed-solomon/CMakeLists.txt b/gr-fec/lib/reed-solomon/CMakeLists.txt
index 3d35c9025d..383441e9eb 100644
--- a/gr-fec/lib/reed-solomon/CMakeLists.txt
+++ b/gr-fec/lib/reed-solomon/CMakeLists.txt
@@ -20,7 +20,7 @@
########################################################################
# This file included, use CMake directory variables
########################################################################
-#MSVC workaround: we cant have dynamically sized arrays.
+#MSVC workaround: we can't have dynamically sized arrays.
#So ifdef a max array bounds that is larger than NN and NROOTS
#Its a bit of a hack, but if you look at the code, its so full of ifdefs,
#and lacks optimization where it should be pre-allocating these arrays.
diff --git a/gr-fec/lib/tpc_decoder.cc b/gr-fec/lib/tpc_decoder.cc
index b3fbcc92df..3381d55dc8 100644
--- a/gr-fec/lib/tpc_decoder.cc
+++ b/gr-fec/lib/tpc_decoder.cc
@@ -126,7 +126,7 @@ tpc_decoder::tpc_decoder (std::vector<int> row_polys, std::vector<int> col_polys
}
// declare the reverse sweep trellis
- // the beta vector is logically layed out in memory as follows, assuming the
+ // the beta vector is logically laid out in memory as follows, assuming the
// following values (for educational purposes)
// defined: LL = 6, rowEncoder_K = 3, derived: mm_row=2, max_states_row=4, rowEncoder_n=1, num_symbols_row=2
// state_idx
@@ -301,7 +301,7 @@ void tpc_decoder::siso_decode_row() {
num_llr_u = -MAXLOG;
den_llr_u = -MAXLOG;
- // intialize alpha_row
+ // initialize alpha_row
// for (state=0;state<max_states_row;state++) {
// alpha_row[state] = -MAXLOG;
// }
@@ -510,7 +510,7 @@ void tpc_decoder::siso_decode_col() {
num_llr_u = -MAXLOG;
den_llr_u = -MAXLOG;
- // intialize alpha_col
+ // initialize alpha_col
// for (state=0;state<max_states_col;state++) {
// alpha_col[state] = -MAXLOG;
// }
diff --git a/gr-fec/lib/tpc_encoder.cc b/gr-fec/lib/tpc_encoder.cc
index 849205753e..c9d89d7531 100755
--- a/gr-fec/lib/tpc_encoder.cc
+++ b/gr-fec/lib/tpc_encoder.cc
@@ -249,7 +249,7 @@ void tpc_encoder::generic_work(void *inBuffer, void *outBuffer) {
for(ii=0; ii<numCheckColsToEncode; ii++) {
// populate colToEncode
for(jj=0; jj<d_kcol; jj++) {
- colToEncode[jj] = rowEncodedBits[jj][ii]; // indexing is wierd b/c of the way we declared the vector :(
+ colToEncode[jj] = rowEncodedBits[jj][ii]; // indexing is weird b/c of the way we declared the vector :(
}
//DEBUG_PRINT("Encoding col=[%d] -->\n",ii+numDataColsToEncode);
diff --git a/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py b/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py
index 5774329ecd..6cf0dee09e 100644
--- a/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py
+++ b/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py
@@ -59,7 +59,7 @@ def read_alist_file(filename):
def write_alist_file(filename, H, verbose=0):
"""
This function writes an alist file for the parity check
- matrix. The format of alist files is desribed at:
+ matrix. The format of alist files is described at:
http://www.inference.phy.cam.ac.uk/mackay/codes/alist.html
"""
diff --git a/gr-fec/python/fec/polar/channel_construction_bec.py b/gr-fec/python/fec/polar/channel_construction_bec.py
index f920024ee0..d0ca4f84ed 100644
--- a/gr-fec/python/fec/polar/channel_construction_bec.py
+++ b/gr-fec/python/fec/polar/channel_construction_bec.py
@@ -32,7 +32,7 @@ def bec_channel(eta):
binary erasure channel (BEC)
for each y e Y
W(y|0) * W(y|1) = 0 or W(y|0) = W(y|1)
- transistions are 1 -> 1 or 0 -> 0 or {0, 1} -> ? (erased symbol)
+ transitions are 1 -> 1 or 0 -> 0 or {0, 1} -> ? (erased symbol)
'''
# looks like BSC but should be interpreted differently.
w = np.array((1 - eta, eta, 1 - eta), dtype=float)
diff --git a/gr-fec/python/fec/polar/helper_functions.py b/gr-fec/python/fec/polar/helper_functions.py
index 6ea30c799b..147023a593 100644
--- a/gr-fec/python/fec/polar/helper_functions.py
+++ b/gr-fec/python/fec/polar/helper_functions.py
@@ -34,7 +34,7 @@ def bsc_channel(p):
W(0|0) = W(1|1) and W(1|0) = W(0|1)
this function returns a prob's vector for a BSC
- p denotes an erroneous transistion
+ p denotes an erroneous transition
'''
if not (p >= 0.0 and p <= 1.0):
print("given p is out of range!")