firpfbchr_crcf

Finite impulse response polyphase filterbank channelizer with output rational output rate \( P / M \)

Variants: firpfbchr_crcf

Public Functions

firpfbchr_crcf firpfbchr_crcf_create(unsigned int _chans, unsigned int _decim, unsigned int _m, float * _h)
firpfbchr_crcf firpfbchr_crcf_create_kaiser(unsigned int _chans, unsigned int _decim, unsigned int _m, float _as)
int firpfbchr_crcf_destroy(firpfbchr_crcf _q)
int firpfbchr_crcf_reset(firpfbchr_crcf _q)
int firpfbchr_crcf_print(firpfbchr_crcf _q)
unsigned int firpfbchr_crcf_get_M(firpfbchr_crcf _q)
unsigned int firpfbchr_crcf_get_num_channels(firpfbchr_crcf _q)
unsigned int firpfbchr_crcf_get_P(firpfbchr_crcf _q)
unsigned int firpfbchr_crcf_get_decim_rate(firpfbchr_crcf _q)
unsigned int firpfbchr_crcf_get_m(firpfbchr_crcf _q)
int firpfbchr_crcf_push(firpfbchr_crcf _q, float complex * _x)
int firpfbchr_crcf_execute(firpfbchr_crcf _q, float complex * _y)

Interfaces

firpfbchr_crcf firpfbchr_crcf_create(unsigned int _chans, unsigned int _decim, unsigned int _m, float * _h)

create rational rate resampling channelizer (firpfbchr) object by specifying filter coefficients directly

  • _chans : number of output channels in chanelizer
  • _decim : output decimation factor (output rate is 1/decim input)
  • _m : prototype filter semi-length, length=2*chans*m
  • _h : prototype filter coefficient array, shape: (2*chans*m, 1)

firpfbchr_crcf firpfbchr_crcf_create_kaiser(unsigned int _chans, unsigned int _decim, unsigned int _m, float _as)

create rational rate resampling channelizer (firpfbchr) object by specifying filter design parameters for Kaiser prototype

  • _chans : number of output channels in chanelizer
  • _decim : output decimation factor (output rate is 1/decim input)
  • _m : prototype filter semi-length, length=2*chans*m
  • _as : filter stop-band attenuation [dB]

int firpfbchr_crcf_destroy(firpfbchr_crcf _q)

destroy firpfbchr object, freeing internal memory

int firpfbchr_crcf_reset(firpfbchr_crcf _q)

reset firpfbchr object internal state and buffers

int firpfbchr_crcf_print(firpfbchr_crcf _q)

print firpfbchr object internals to stdout

unsigned int firpfbchr_crcf_get_M(firpfbchr_crcf _q)

get number of output channels to channelizer

Warning: This method is deprecated. use firpfbchr_get_num_channels(...) instead

unsigned int firpfbchr_crcf_get_num_channels(firpfbchr_crcf _q)

unsigned int firpfbchr_crcf_get_P(firpfbchr_crcf _q)

get decimation factor for channelizer

Warning: This method is deprecated. use firpfbchr_get_decim_rate(...) instead

unsigned int firpfbchr_crcf_get_decim_rate(firpfbchr_crcf _q)

unsigned int firpfbchr_crcf_get_m(firpfbchr_crcf _q)

get semi-length to channelizer filter prototype

int firpfbchr_crcf_push(firpfbchr_crcf _q, float complex * _x)

push buffer of samples into filter bank

  • _q : channelizer object
  • _x : channelizer input, shape: (decim, 1)

int firpfbchr_crcf_execute(firpfbchr_crcf _q, float complex * _y)

execute filterbank channelizer, writing complex baseband samples for each channel into output array

  • _q : channelizer object
  • _y : channelizer output, shape: (chans, 1)