uhd/host/python
iprivit eb448043a9 python: MultiUSRP: Fix send_waveforms()
The send_waveform() function takes the waveform_proto array and if it
has only 1 channel, explicitly reshapes it to be
(1, waveform_proto.size), or uses np.tile to replicate the
waveform_proto array over X channels. It then proceeds to loop over the
waveform_proto array, but attempts to do so over the channel dimension
instead of looping over the actual samples. This results in sending the
entire waveform_proto array regardless of the duration specified.

The fix is to specify the dimension in which it crops, and not crop in
dimension of the channels.
2019-11-13 14:07:15 -08:00
..
__init__.py python: Separating exposed Python data structures 2018-06-20 19:02:32 -05:00
CMakeLists.txt cmake: Remove ENABLE_PYTHON3 flag and simplify Python detection 2019-05-24 14:17:13 -07:00
filters.py python: Separating exposed Python data structures 2018-06-20 19:02:32 -05:00
pyuhd.cpp python: Included complex.h to allow pybind to convert that data type 2019-11-01 16:35:33 -07:00
setup.py.in python: cmake: Use native format for setup.py 2019-02-25 15:20:47 -08:00
types.py python: Replace Boost.Python with PyBind11 2019-02-22 16:56:52 -08:00
usrp.py python: MultiUSRP: Fix send_waveforms() 2019-11-13 14:07:15 -08:00