symstreamrcf

Symbol streaming generator object

Public Functions

symstreamrcf symstreamrcf_create()
symstreamrcf symstreamrcf_create_linear(int _ftype, float _bw, unsigned int _m, float _beta, int _ms)
symstreamrcf symstreamrcf_copy(symstreamrcf _q)
int symstreamrcf_destroy(symstreamrcf _q)
int symstreamrcf_print(symstreamrcf _q)
int symstreamrcf_reset(symstreamrcf _q)
int symstreamrcf_get_ftype(symstreamrcf _q)
float symstreamrcf_get_bw(symstreamrcf _q)
unsigned int symstreamrcf_get_m(symstreamrcf _q)
float symstreamrcf_get_beta(symstreamrcf _q)
int symstreamrcf_set_scheme(symstreamrcf _q, int _ms)
int symstreamrcf_get_scheme(symstreamrcf _q)
int symstreamrcf_set_gain(symstreamrcf _q, float _gain)
float symstreamrcf_get_gain(symstreamrcf _q)
float symstreamrcf_get_delay(symstreamrcf _q)
int symstreamrcf_write_samples(symstreamrcf _q, float complex * _buf, unsigned int _buf_len)

Interfaces

symstreamrcf symstreamrcf_create()

Create symstream object with default parameters. This is equivalent to invoking the create_linear() method with _ftype=LIQUID_FIRFILT_ARKAISER, _k=2, _m=7, _beta=0.3, and with _ms=LIQUID_MODEM_QPSK

symstreamrcf symstreamrcf_create_linear(int _ftype, float _bw, unsigned int _m, float _beta, int _ms)

Create symstream object with linear modulation

  • _ftype : filter type (e.g. LIQUID_FIRFILT_RRC)
  • _bw : relative signal bandwidth, 0.001 <= _bw <= 1.0
  • _m : filter delay (symbols), 0 < _m
  • _beta : filter excess bandwidth, 0 < _beta <= 1
  • _ms : modulation scheme, e.g. LIQUID_MODEM_QPSK

symstreamrcf symstreamrcf_copy(symstreamrcf _q)

Copy object recursively including all internal objects and state

int symstreamrcf_destroy(symstreamrcf _q)

Destroy symstream object, freeing all internal memory

int symstreamrcf_print(symstreamrcf _q)

Print symstream object's parameters

int symstreamrcf_reset(symstreamrcf _q)

Reset symstream internal state

int symstreamrcf_get_ftype(symstreamrcf _q)

Get internal filter type

float symstreamrcf_get_bw(symstreamrcf _q)

Get internal signal bandwidth (symbol rate)

unsigned int symstreamrcf_get_m(symstreamrcf _q)

Get internal filter semi-length

float symstreamrcf_get_beta(symstreamrcf _q)

Get internal filter excess bandwidth factor

int symstreamrcf_set_scheme(symstreamrcf _q, int _ms)

Set internal linear modulation scheme, leaving the filter parameters (interpolator) unmodified

  • _q :
  • _ms :

int symstreamrcf_get_scheme(symstreamrcf _q)

Get internal linear modulation scheme

int symstreamrcf_set_gain(symstreamrcf _q, float _gain)

Set internal linear gain (before interpolation)

  • _q :
  • _gain :

float symstreamrcf_get_gain(symstreamrcf _q)

Get internal linear gain (before interpolation)

float symstreamrcf_get_delay(symstreamrcf _q)

Get delay in samples

int symstreamrcf_write_samples(symstreamrcf _q, float complex * _buf, unsigned int _buf_len)

Write block of samples to output buffer

  • _q : synchronizer object
  • _buf : output buffer, shape: (_buf_len, 1)
  • _buf_len : output buffer size