MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / initPFBCH

Method initPFBCH

src/sdr/SDRPostThread.cpp:401–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399
400
401void SDRPostThread::initPFBCH() {
402 // std::cout << "Initializing post-process FIR polyphase filterbank channelizer with " << numChannels << " channels." << std::endl;
403 if (channelizer) {
404 firpfbch_crcf_destroy(channelizer);
405 }
406 channelizer = firpfbch_crcf_create_kaiser(LIQUID_ANALYZER, numChannels, 4, 60);
407
408 chanBw = (sampleRate / numChannels);
409
410 chanCenters.resize(numChannels+1);
411 demodChannelActive.resize(numChannels+1);
412
413 // std::cout << "Channel bandwidth spacing: " << (chanBw) << std::endl;
414}
415
416void SDRPostThread::runPFBCH(SDRThreadIQData *data_in) {
417 bool refreshed = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected