aboutsummaryrefslogtreecommitdiffstats
path: root/host/python/usrp.py
Commit message (Collapse)AuthorAgeFilesLines
* python: MultiUSRP: Fix send_waveforms()iprivit2019-11-131-1/+1
| | | | | | | | | | | | | 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.
* Python: Remove Unnecessary Metadata AssignmentVidush2018-06-201-1/+0
|
* python: removing unnecessary configurationThibaud Marazano2018-06-201-1/+0
| | | | | | | Removed "set_tx_rate" that sets all channels initially, because the channel loop handles this. Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* python: Separating exposed Python data structuresPaul David2018-06-201-0/+143
- 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