GNU Radio's SATNOGS Package
gr::satnogs::golay24 Class Reference

A binary Golay (24,12,8) encoder and decoder. More...

#include <golay24.h>

Public Member Functions

 golay24 ()
 
 ~golay24 ()
 
uint32_t encode12 (uint16_t in, bool lsb_parity=true)
 
bool decode24 (uint32_t *out, uint32_t in)
 

Static Public Attributes

static const std::vector< uint32_t > G_P
 
static const std::vector< uint32_t > G_I
 

Detailed Description

A binary Golay (24,12,8) encoder and decoder.

A binary Golay (24,12,8) encoder and decoder. The implementation uses LUT based on the process described in the book:

Morelos-Zaragoza, Robert H. The art of error correcting coding. John Wiley & Sons, 2006.

Constructor & Destructor Documentation

◆ golay24()

gr::satnogs::golay24::golay24 ( )

◆ ~golay24()

gr::satnogs::golay24::~golay24 ( )

Member Function Documentation

◆ decode24()

bool gr::satnogs::golay24::decode24 ( uint32_t *  out,
uint32_t  in 
)

◆ encode12()

uint32_t gr::satnogs::golay24::encode12 ( uint16_t  in,
bool  lsb_parity = true 
)

Member Data Documentation

◆ G_I

const std::vector<uint32_t> gr::satnogs::golay24::G_I
static

◆ G_P

const std::vector<uint32_t> gr::satnogs::golay24::G_P
static

The documentation for this class was generated from the following file: