gr::filter::kernel::filterbank
gnuradio/filter/filterbank.h
std::vector< std::vector< float > > std::vector<std::vector<float> > gr::filter::kernel::filterbank::d_taps d_taps gr::filter::kernel::filterbank::d_taps
unsigned int unsigned int gr::filter::kernel::filterbank::d_nfilts d_nfilts gr::filter::kernel::filterbank::d_nfilts
unsigned int unsigned int gr::filter::kernel::filterbank::d_ntaps d_ntaps gr::filter::kernel::filterbank::d_ntaps
std::vector< kernel::fir_filter_ccf > std::vector<kernel::fir_filter_ccf> gr::filter::kernel::filterbank::d_fir_filters d_fir_filters gr::filter::kernel::filterbank::d_fir_filters
std::vector< bool > std::vector<bool> gr::filter::kernel::filterbank::d_active d_active gr::filter::kernel::filterbank::d_active
unsigned int unsigned int gr::filter::kernel::filterbank::d_taps_per_filter d_taps_per_filter gr::filter::kernel::filterbank::d_taps_per_filter
gr::filter::kernel::filterbank::filterbank
(const std::vector< std::vector< float > > &taps)
filterbank
gr::filter::kernel::filterbank::filterbank
const std::vector< std::vector< float > > & taps

Build the filterbank.

taps

(vector of vector of floats / list of list of floats) Populates the filters.

taps
filterbank
gr::filter::kernel::filterbank::filterbank
(filterbank &&)=default
filterbank
gr::filter::kernel::filterbank::filterbank
filterbank &&
filterbank
virtual gr::filter::kernel::filterbank::~filterbank
()=default
~filterbank
gr::filter::kernel::filterbank::~filterbank
void virtual void gr::filter::kernel::filterbank::set_taps (const std::vector< std::vector< float > > &taps) set_taps gr::filter::kernel::filterbank::set_taps const std::vector< std::vector< float > > & taps

Update the filterbank's filter taps.

taps

(vector of vector of floats / list of list of floats) The prototype filter to populate the filterbank.

taps
void void gr::filter::kernel::filterbank::print_taps () print_taps gr::filter::kernel::filterbank::print_taps

Print all of the filterbank taps to screen.

std::vector< std::vector< float > > std::vector< std::vector< float > > gr::filter::kernel::filterbank::taps () const taps gr::filter::kernel::filterbank::taps

Return a vector<vector<>> of the filterbank taps

filterbank
set_taps

A filter bank with generic taps.

This block takes in a vector of N complex inputs, passes them through N FIR filters, and outputs a vector of N complex outputs.

The only advantage of using this block over N individual FIR filter blocks is that it places less of a load on the scheduler.

The number of filters cannot be changed dynamically, however filters can be deactivated (i.e. no processing is done for them) by passing a vector of filter taps containing all zeros to them. In this case their entry in the output vector is a zero.

gr::filter::kernel::filterbank
d_taps
d_fir_filters
d_active
gr::filter::kernel::fir_filter< gr_complex, gr_complex, float >
std::vector< bool >
std::vector< float >
std::vector< gr::filter::kernel::fir_filter< gr_complex, gr_complex, float > >
elements
p
std::vector< std::vector< float > >
elements
p
- gr::filter::kernel::filterbank
  d_active
- gr::filter::kernel::filterbank
  d_fir_filters
- gr::filter::kernel::filterbank
  d_nfilts
- gr::filter::kernel::filterbank
  d_ntaps
- gr::filter::kernel::filterbank
  d_taps
- gr::filter::kernel::filterbank
  d_taps_per_filter
- gr::filter::kernel::filterbank
  filterbank
- gr::filter::kernel::filterbank
  filterbank
- gr::filter::kernel::filterbank
  print_taps
- gr::filter::kernel::filterbank
  set_taps
- gr::filter::kernel::filterbank
  taps
- gr::filter::kernel::filterbank
  ~filterbank