GNU Radio's CCSDS Package
comm.h File Reference
#include <vector>
#include <algorithm>
#include <cstdlib>
Include dependency graph for comm.h:

Go to the source code of this file.

Functions

std::vector< unsigned char > data_gen (unsigned int nBits)
 
std::vector< double > randn (double mean, double variance, unsigned int length)
 
std::vector< double > bpsk (std::vector< unsigned char > data)
 
std::vector< double > awgn_channel (std::vector< double > signal, double snr, double code_rate, double &sigma)
 
int ber (std::vector< unsigned char > tx, std::vector< unsigned char > rx)
 
std::vector< unsigned char > sliceLogAPP (std::vector< double > logapp)
 

Function Documentation

std::vector<double> awgn_channel ( std::vector< double >  signal,
double  snr,
double  code_rate,
double &  sigma 
)

References randn().

int ber ( std::vector< unsigned char >  tx,
std::vector< unsigned char >  rx 
)
std::vector<double> bpsk ( std::vector< unsigned char >  data)
std::vector<unsigned char> data_gen ( unsigned int  nBits)
std::vector<double> randn ( double  mean,
double  variance,
unsigned int  length 
)

Referenced by awgn_channel().

std::vector<unsigned char> sliceLogAPP ( std::vector< double >  logapp)