aboutsummaryrefslogtreecommitdiffstats
path: root/host/python/pyuhd.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-03-03 16:10:06 -0800
committerAaron Rossetto <aaron.rossetto@ni.com>2020-04-02 11:55:17 -0500
commit3fe5ccf700a0c6f27dca9511386460194dcc593c (patch)
tree19d394faac0581601d3d6e5d35a7a82e325bf245 /host/python/pyuhd.cpp
parent1e016e49e82c430197a90a018fbc7613cc654088 (diff)
downloaduhd-3fe5ccf700a0c6f27dca9511386460194dcc593c.tar.gz
uhd-3fe5ccf700a0c6f27dca9511386460194dcc593c.tar.bz2
uhd-3fe5ccf700a0c6f27dca9511386460194dcc593c.zip
uhd: cal: Add iq_cal calibration data container class
This class can be used to store calibration coefficients for the X300 DC offset and IQ imbalance calibration. Note: This also modifies Doxyfile.in to not document files generated by flatc.
Diffstat (limited to 'host/python/pyuhd.cpp')
-rw-r--r--host/python/pyuhd.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/python/pyuhd.cpp b/host/python/pyuhd.cpp
index 9ce72c476..5e8c6424c 100644
--- a/host/python/pyuhd.cpp
+++ b/host/python/pyuhd.cpp
@@ -13,6 +13,7 @@
namespace py = pybind11;
+#include "cal/cal_python.hpp"
#include "rfnoc/rfnoc_python.hpp"
#include "stream_python.hpp"
#include "types/filters_python.hpp"
@@ -73,4 +74,8 @@ PYBIND11_MODULE(libpyuhd, m)
// Register RFNoC submodule
auto rfnoc_module = m.def_submodule("rfnoc", "RFNoC Objects");
export_rfnoc(rfnoc_module);
+
+ // Register calibration submodule
+ auto cal_module = m.def_submodule("cal", "Calibration Objects");
+ export_cal(cal_module);
}