From d9f4d540ef334013eb404ce91b3b446e5fc917ff Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 31 Mar 2020 21:38:13 -0700 Subject: uhd: math: Add interpolation.hpp - Moves linear_interp from cal to utils - Moves the interp_mode enum class to interpolation.hpp - Adds three interpolation methods for maps: at_interpolate_1d(), at_nearest(), at_lin_interp() - Adds unit tests --- host/lib/cal/iq_cal.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/lib/cal/iq_cal.cpp') diff --git a/host/lib/cal/iq_cal.cpp b/host/lib/cal/iq_cal.cpp index e1ed8c9cb..f5640b01e 100644 --- a/host/lib/cal/iq_cal.cpp +++ b/host/lib/cal/iq_cal.cpp @@ -8,10 +8,12 @@ #include #include #include +#include #include #include using namespace uhd::usrp::cal; +using namespace uhd::math; constexpr int VERSION_MAJOR = 1; constexpr int VERSION_MINOR = 0; -- cgit v1.2.3