Comment about correct MatchedFilter usage.

Because the filter expects a combined translate/rotate and low-pass filter in the taps, the taps must be a multiple of the translate sinusoid period.
This commit is contained in:
Jared Boone 2015-11-07 11:27:31 -08:00
parent 9e694ce836
commit fc037c739a

View File

@ -36,6 +36,11 @@
namespace dsp {
namespace matched_filter {
// This filter contains "magic" (optimizations) that expect the taps to
// combine a low-pass filter with a complex sinusoid that performs shifting of
// the input signal to 0Hz/DC. This also means that the taps length must be
// a multiple of the complex sinusoid period.
class MatchedFilter {
public:
using sample_t = std::complex<float>;