gnuradio.fec
Blocks for forward error correction.
-
gnuradio.fec.decode_ccsds_27_fb() → decode_ccsds_27_fb_sptr
A rate 1/2, k=7 convolutional decoder for the CCSDS standard.
This block performs soft-decision convolutional decoding using the Viterbi algorithm.
The input is a stream of (possibly noise corrupted) floating point values nominally spanning [-1.0, 1.0], representing the encoded channel symbols 0 (-1.0) and 1 (1.0), with erased symbols at 0.0.
The output is MSB first packed bytes of decoded values.
As a rate 1/2 code, there will be one output byte for every 16 input symbols.
This block is designed for continuous data streaming, not packetized data. The first 32 bits out will be zeroes, with the output delayed four bytes from the corresponding inputs.
Constructor Specific Documentation:
-
decode_ccsds_27_fb_sptr.active_thread_priority(decode_ccsds_27_fb_sptr self) → int
-
decode_ccsds_27_fb_sptr.declare_sample_delay(decode_ccsds_27_fb_sptr self, int which, int delay)
declare_sample_delay(decode_ccsds_27_fb_sptr self, unsigned int delay)
-
decode_ccsds_27_fb_sptr.message_subscribers(decode_ccsds_27_fb_sptr self, swig_int_ptr which_port) → swig_int_ptr
-
decode_ccsds_27_fb_sptr.min_noutput_items(decode_ccsds_27_fb_sptr self) → int
-
decode_ccsds_27_fb_sptr.pc_input_buffers_full_avg(decode_ccsds_27_fb_sptr self, int which) → float
pc_input_buffers_full_avg(decode_ccsds_27_fb_sptr self) -> pmt_vector_float
-
decode_ccsds_27_fb_sptr.pc_noutput_items_avg(decode_ccsds_27_fb_sptr self) → float
-
decode_ccsds_27_fb_sptr.pc_nproduced_avg(decode_ccsds_27_fb_sptr self) → float
-
decode_ccsds_27_fb_sptr.pc_output_buffers_full_avg(decode_ccsds_27_fb_sptr self, int which) → float
pc_output_buffers_full_avg(decode_ccsds_27_fb_sptr self) -> pmt_vector_float
-
decode_ccsds_27_fb_sptr.pc_work_time_avg(decode_ccsds_27_fb_sptr self) → float
-
decode_ccsds_27_fb_sptr.pc_work_time_total(decode_ccsds_27_fb_sptr self) → float
-
decode_ccsds_27_fb_sptr.sample_delay(decode_ccsds_27_fb_sptr self, int which) → unsigned int
-
decode_ccsds_27_fb_sptr.set_min_noutput_items(decode_ccsds_27_fb_sptr self, int m)
-
decode_ccsds_27_fb_sptr.set_thread_priority(decode_ccsds_27_fb_sptr self, int priority) → int
-
decode_ccsds_27_fb_sptr.thread_priority(decode_ccsds_27_fb_sptr self) → int
-
gnuradio.fec.encode_ccsds_27_bb() → encode_ccsds_27_bb_sptr
A rate 1/2, k=7 convolutional encoder for the CCSDS standard.
This block performs convolutional encoding using the CCSDS standard polynomial (“Voyager”).
The input is an MSB first packed stream of bits.
The output is a stream of symbols 0 or 1 representing the encoded data.
As a rate 1/2 code, there will be 16 output symbols for every input byte.
This block is designed for continuous data streaming, not packetized data. There is no provision to “flush” the encoder.
Constructor Specific Documentation:
-
encode_ccsds_27_bb_sptr.active_thread_priority(encode_ccsds_27_bb_sptr self) → int
-
encode_ccsds_27_bb_sptr.declare_sample_delay(encode_ccsds_27_bb_sptr self, int which, int delay)
declare_sample_delay(encode_ccsds_27_bb_sptr self, unsigned int delay)
-
encode_ccsds_27_bb_sptr.message_subscribers(encode_ccsds_27_bb_sptr self, swig_int_ptr which_port) → swig_int_ptr
-
encode_ccsds_27_bb_sptr.min_noutput_items(encode_ccsds_27_bb_sptr self) → int
-
encode_ccsds_27_bb_sptr.pc_input_buffers_full_avg(encode_ccsds_27_bb_sptr self, int which) → float
pc_input_buffers_full_avg(encode_ccsds_27_bb_sptr self) -> pmt_vector_float
-
encode_ccsds_27_bb_sptr.pc_noutput_items_avg(encode_ccsds_27_bb_sptr self) → float
-
encode_ccsds_27_bb_sptr.pc_nproduced_avg(encode_ccsds_27_bb_sptr self) → float
-
encode_ccsds_27_bb_sptr.pc_output_buffers_full_avg(encode_ccsds_27_bb_sptr self, int which) → float
pc_output_buffers_full_avg(encode_ccsds_27_bb_sptr self) -> pmt_vector_float
-
encode_ccsds_27_bb_sptr.pc_work_time_avg(encode_ccsds_27_bb_sptr self) → float
-
encode_ccsds_27_bb_sptr.pc_work_time_total(encode_ccsds_27_bb_sptr self) → float
-
encode_ccsds_27_bb_sptr.sample_delay(encode_ccsds_27_bb_sptr self, int which) → unsigned int
-
encode_ccsds_27_bb_sptr.set_min_noutput_items(encode_ccsds_27_bb_sptr self, int m)
-
encode_ccsds_27_bb_sptr.set_thread_priority(encode_ccsds_27_bb_sptr self, int priority) → int
-
encode_ccsds_27_bb_sptr.thread_priority(encode_ccsds_27_bb_sptr self) → int