From 338983e7aec7365ccddfb380fe4c33ff1ba3d0c0 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 15 Oct 2015 13:32:19 -0700 Subject: [PATCH] Remove unused negative-shifted RRC filters. --- firmware/common/baseband_ais.hpp | 44 -------------------------------- 1 file changed, 44 deletions(-) diff --git a/firmware/common/baseband_ais.hpp b/firmware/common/baseband_ais.hpp index fcda72db..6753d079 100644 --- a/firmware/common/baseband_ais.hpp +++ b/firmware/common/baseband_ais.hpp @@ -59,13 +59,6 @@ namespace ais { // RRC length should be about 4 x the symbol length to do a good job of // cleaning up ISI. /* -constexpr std::array, 8> rrc_taps_8_n { { - { 0.00533687f, 0.00000000f }, { -0.00667109f, -0.00667109f }, - { 0.00000000f, -0.01334218f }, { -0.05145006f, 0.05145006f }, - { -0.14292666f, 0.00000000f }, { -0.05145006f, -0.05145006f }, - { 0.00000000f, 0.01334218f }, { -0.00667109f, 0.00667109f }, -} }; - constexpr std::array, 8> rrc_taps_8_p { { { 0.00533687f, 0.00000000f }, { -0.00667109f, 0.00667109f }, { 0.00000000f, 0.01334218f }, { -0.05145006f, -0.05145006f }, @@ -77,13 +70,6 @@ constexpr std::array, 8> rrc_taps_8_p { { // These came from GRC directly, and have a bit more gain, it appears. // -constexpr std::array, 8> rrc_taps_8_n { { - { 0.02104694f, 0.00000000f }, { -0.02630867f, -0.02630867f }, - { 0.00000000f, -0.05261734f }, { -0.20290270f, 0.20290270f }, - { -0.56365746f, 0.00000000f }, { -0.20290270f, -0.20290270f }, - { 0.00000000f, 0.05261734f }, { -0.02630867f, 0.02630867f }, -} }; - constexpr std::array, 8> rrc_taps_8_p { { { 0.02104694f, 0.00000000f }, { -0.02630867f, 0.02630867f }, { 0.00000000f, 0.05261734f }, { -0.20290270f, -0.20290270f }, @@ -91,17 +77,6 @@ constexpr std::array, 8> rrc_taps_8_p { { { 0.00000000f, -0.05261734f }, { -0.02630867f, -0.02630867f }, } }; -constexpr std::array, 16> rrc_taps_16_n { { - { -0.00506828f, 0.00000000f }, { 0.00380121f, 0.00380121f }, - { 0.00000000f, 0.00152049f }, { 0.00532170f, -0.00532170f }, - { -0.02128679f, 0.00000000f }, { 0.02660849f, 0.02660849f }, - { 0.00000000f, 0.05321698f }, { 0.20521503f, -0.20521503f }, - { 0.57008100f, -0.00000000f }, { 0.20521503f, 0.20521503f }, - { -0.00000000f, -0.05321698f }, { 0.02660849f, -0.02660849f }, - { -0.02128679f, 0.00000000f }, { 0.00532170f, 0.00532170f }, - { -0.00000000f, -0.00152049f }, { 0.00380121f, -0.00380121f }, -} }; - constexpr std::array, 16> rrc_taps_16_p { { { -0.00506828f, 0.00000000f }, { 0.00380121f, -0.00380121f }, { 0.00000000f, -0.00152049f }, { 0.00532170f, 0.00532170f }, @@ -113,25 +88,6 @@ constexpr std::array, 16> rrc_taps_16_p { { { -0.00000000f, 0.00152049f }, { 0.00380121f, 0.00380121f }, } }; -constexpr std::array, 32> rrc_taps_32_n { { - { -0.00124950f, 0.00000000f }, { 0.00075863f, 0.00075863f }, - { 0.00000000f, 0.00011671f }, { 0.00087534f, -0.00087534f }, - { -0.00222813f, 0.00000000f }, { 0.00144828f, 0.00144828f }, - { 0.00000000f, 0.00032184f }, { 0.00177013f, -0.00177013f }, - { -0.00505750f, 0.00000000f }, { 0.00379313f, 0.00379313f }, - { 0.00000000f, 0.00151725f }, { 0.00531038f, -0.00531038f }, - { -0.02124151f, 0.00000000f }, { 0.02655189f, 0.02655189f }, - { 0.00000000f, 0.05310377f }, { 0.20477849f, -0.20477849f }, - { 0.56886834f, -0.00000000f }, { 0.20477849f, 0.20477849f }, - { -0.00000000f, -0.05310377f }, { 0.02655189f, -0.02655189f }, - { -0.02124151f, 0.00000000f }, { 0.00531038f, 0.00531038f }, - { -0.00000000f, -0.00151725f }, { 0.00379313f, -0.00379313f }, - { -0.00505750f, 0.00000000f }, { 0.00177013f, 0.00177013f }, - { 0.00000000f, -0.00032184f }, { 0.00144828f, -0.00144828f }, - { -0.00222813f, 0.00000000f }, { 0.00087534f, 0.00087534f }, - { -0.00000000f, -0.00011671f }, { 0.00075863f, -0.00075863f }, -} }; - constexpr std::array, 32> rrc_taps_32_p { { { -0.00124950f, 0.00000000f }, { 0.00075863f, -0.00075863f }, { 0.00000000f, -0.00011671f }, { 0.00087534f, 0.00087534f },