mirror of
https://github.com/saymrwulf/uhd.git
synced 2026-05-15 21:01:26 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| CMakeLists.txt | ||
| filters.py | ||
| pyuhd.cpp | ||
| setup.py.in | ||
| types.py | ||
| usrp.py | ||