mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 11:44:31 +00:00
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:
parent
9e694ce836
commit
fc037c739a
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user