aboutsummaryrefslogtreecommitdiffstats
path: root/host/python/pyuhd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: cal: Add iq_cal calibration data container classMartin Braun2020-04-021-0/+5
| | | | | | | | 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.
* python: Export UHD paths utility functionsMartin Braun2020-03-121-0/+5
| | | | | | | | | All of the functions defined in uhd/utils/paths.hpp are now available in Python, with the exception of get_module_paths(). #!/usr/bin/env python3 import uhd print(uhd.get_lib_path()) # Prints location of libuhd
* python: Remove Python2-specific codeMartin Braun2020-03-121-7/+0
|
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-11/+7
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* rfnoc: adding RFNoC Python APIBrent Stapleton2020-01-021-0/+6
| | | | | | | | Adding Python bindings for the RFNoC API. This includes the rfnoc_graph, noc_block_base, and several other supporting classes. Templated functions are not currently supported. For example, `rfnoc_graph::get_block` can only return the basic block controller.
* uhd: Replace usage of boost smart pointers with C++11 counterpartsMartin Braun2019-11-261-5/+0
| | | | | | | | | | | | | | | | | | | This removes the following Boost constructs: - boost::shared_ptr, boost::weak_ptr - boost::enable_shared_from_this - boost::static_pointer_cast, boost::dynamic_pointer_cast The appropriate includes were also removed. All C++11 versions of these require #include <memory>. Note that the stdlib and Boost versions have the exact same syntax, they only differ in the namespace (boost vs. std). The modifications were all done using sed, with the exception of boost::scoped_ptr, which was replaced by std::unique_ptr. References to boost::smart_ptr were also removed. boost::intrusive_ptr is not removed in this commit, since it does not have a 1:1 mapping to a C++11 construct.
* python: Included complex.h to allow pybind to convert that data typeerickshepherdNI2019-11-011-0/+1
|
* python: Replace Boost.Python with PyBind11Martin Braun2019-02-221-155/+24
| | | | | | This does not change the Python API itself, but it is still a significant change. Most importantly, it removes the dependency on Boost.Python.
* python: Add sync source to Python APIBrent Stapleton2018-11-291-0/+9
| | | | Exposing getters, setters, and options for multi_usrp sync source.
* python: Fixing Boost.Python initializer visibilityMarcus Müllr2018-08-031-0/+11
| | | | | | With Boost 1.64 to 1.65 (which, of course, Ubuntu LTS ships), the `PyInit_Libraryname` are invisible when one sets the default visibility to "hidden" (which is reasonable, and which we do).
* python: Separating exposed Python data structuresPaul David2018-06-201-437/+116
| | | | | | | | | - Separating exposed Python data structures into logical sections - Exposes all of the multi_usrp API - Adds a layer of Python for documentation and adding helper methods - Adds improvements and fixes to the MultiUSRP object - Includes additional exposed data structures (like time_spec_t, etc.) - Add code to release the Python GIL during long C++ calls
* python: Initial commit of Python APIAndrej Rode2018-06-201-0/+512
Initial commit of the Python API using Boost.Python. Bind the MultiUSRP API for use in Python. Bindings intended to provide as complete coverage as possible. - Wrap most multi_usrp calls - Adding multi channel send/recv examples in examples/python - Adding setuptools support - Initial attempt at binding the UHD types and filters