Turn almost-zeros in TPMS matched filter to actual zeros.

This commit is contained in:
Jared Boone 2016-01-02 10:24:49 -08:00
parent 0e04939439
commit 096ebe47d8

View File

@ -42,10 +42,10 @@
// sample=153.6k, deviation=38400, symbol=19200 // sample=153.6k, deviation=38400, symbol=19200
// Length: 8 taps, 1 symbols, 2 cycles of sinusoid // Length: 8 taps, 1 symbols, 2 cycles of sinusoid
constexpr std::array<std::complex<float>, 8> rect_taps_153k6_1t_p { { constexpr std::array<std::complex<float>, 8> rect_taps_153k6_1t_p { {
{ 1.2500000000e-01f, 0.0000000000e+00f }, { 7.6540424947e-18f, 1.2500000000e-01f }, { 1.2500000000e-01f, 0.0000000000e+00f }, { 0.0000000000e+00f, 1.2500000000e-01f },
{ -1.2500000000e-01f, 1.5308084989e-17f }, { -2.2962127484e-17f, -1.2500000000e-01f }, { -1.2500000000e-01f, 0.0000000000e+00f }, { 0.0000000000e+00f, -1.2500000000e-01f },
{ 1.2500000000e-01f, -3.0616169979e-17f }, { 3.8270212473e-17f, 1.2500000000e-01f }, { 1.2500000000e-01f, 0.0000000000e+00f }, { 0.0000000000e+00f, 1.2500000000e-01f },
{ -1.2500000000e-01f, 4.5924254968e-17f }, { -5.3578297463e-17f, -1.2500000000e-01f }, { -1.2500000000e-01f, 0.0000000000e+00f }, { 0.0000000000e+00f, -1.2500000000e-01f },
} }; } };
class TPMSProcessor : public BasebandProcessor { class TPMSProcessor : public BasebandProcessor {