Commit graph

4 commits

Author SHA1 Message Date
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
Vidush
11074ebcb4 Python: Remove Unnecessary Metadata Assignment 2018-06-20 19:02:32 -05:00
Thibaud Marazano
dc5b37126e python: removing unnecessary configuration
Removed "set_tx_rate" that sets all channels initially, because the
channel loop handles this.

Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
2018-06-20 19:02:32 -05:00
Paul David
e74cf7635b python: Separating exposed Python data structures
- 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
2018-06-20 19:02:32 -05:00