summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/python
Commit message (Collapse)AuthorAgeFilesLines
* uhd: pep8 formattingJosh Morman2021-11-241-29/+43
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* gr-uhd: fix input filename in freq hopping examplesAdrien Michel2021-08-051-1/+1
| | | | Signed-off-by: Adrien Michel <adriengit@users.noreply.github.com>
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-1/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* Update license header to SPDX formatdevnulling2020-01-272-26/+2
|
* uhd: fix freq_hopping example - missing 'time'Piotr Krysik2019-03-081-5/+10
| | | | | | | | | | | | | | | | Freq_hopping example wasn't working correctly and symptom of it was that frequency changes were happening in random moments. The reason was that time of execution of tune commands wasn't specified and so they were executed as non-timed commands. In case of of full tuning (dsp_tuning == false) more changes were needed. 'tx_freq' tag can't be executed as a timed command at all, so I changed it to 'tx_command' with 'freq' element and also added missing 'time'. I found out about the issue but credit of fixing it by adding 'time' element to 'tx_command' tag value goes to Sylvain Munaut, as this change was suggested by him.
* uhd: Re-add freq_hopping.py exampleMartin Braun2019-01-112-0/+268
| | | | | | | This was accidentally removed in 6d9a164, which was supposed to eliminate the WX-GUI examples. This commit also makes the example compatible with the current state of GNU Radio and in particular Python 3.
* wxgui: removedJohnathan Corgan2016-09-0818-5025/+0
|
* cmake: nuke cpack from existenceJohnathan Corgan2016-08-031-1/+0
| | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
* gr-analog: Add safety and default for FM preemphasis filterAndy Walls2016-03-301-2/+2
| | | | | | | | | | | | | The FM preemphasis filter design now precludes the user from inducing a pole on the unit circle at z = -1.0 and z = 1.0. A pole at either of these locations makes the filter unstable and useless: feeding back "+/-inf" into an IIR filter has no good recovery. Also provide a reasonable, maximally safe default of 0.925*fs/2.0 for the high frequency corner, fh. This keeps the slope of the preemphasis filter looking reasonable sane in the whole band; at least for tau=75e-6 and fs=48000.
* gr-analog: Fix FM preemphasis filter and rework deemphasis filterAndy Walls2016-03-291-1/+2
| | | | | | | Add working filters designs for the FM preemphasis Tx filter. Rework the FM deemphasis Rx filter as it was easier to rederive the transfer function, than to determine if the one in use was correct.
* Merge remote-tracking branch 'mbant/uhd/message_updates'Tom Rondeau2015-05-061-18/+20
|\
| * uhd: Updated frequency hopping example to do DSP tuning onlyMartin Braun2015-05-051-18/+20
| |
* | Print scan rateChris Kuethe2015-05-031-0/+12
|/ | | | | Useful when scanning in a way that is likely to run slowly, doubly so when multiple passes across the band are needed.
* uhd: Added more type checking and flexibility to commands and tagsMartin Braun2014-07-071-1/+3
|
* uhd: Added command interface to uhd source, modified command syntaxMartin Braun2014-07-071-1/+1
|
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-073-13/+13
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* uhd: Added freq hopping example, improved tag handling in usrp_sinkMartin Braun2014-04-261-0/+216
|
* Merge branch 'master' into nextTom Rondeau2013-05-071-40/+59
|\ | | | | | | | | Conflicts: gr-uhd/examples/python/usrp_spectrum_sense.py
| * uhd: enhanced version of usrp_spectrum_sense.pyMike Jameson M0MIK2013-04-261-40/+59
| |
* | Merge branch 'master' into nextTom Rondeau2013-04-011-8/+33
|\| | | | | | | | | | | | | | | | | | | Conflicts: gnuradio-runtime/include/gr_logger.h gr-digital/lib/packet_headergenerator_bb_impl.cc gr-digital/python/ofdm_txrx.py gr-digital/python/qa_ofdm_txrx.py gr-digital/python/qa_packet_headergenerator_bb.py gr-uhd/examples/python/usrp_spectrum_sense.py
| * uhd: updated usrp_spectrum_sense with frequency readoutMike Jameson2013-03-241-10/+35
| |
* | blocks: converting references to vector source/sink, null source/sink, nop, ↵Tom Rondeau2013-03-173-5/+6
| | | | | | | | copy, head, skiphead, vector_map, and annotator blocks to use gr-blocks.
* | blocks: removing file_sink/source file_descriptor_sink/source form core and ↵Tom Rondeau2013-03-103-7/+7
| | | | | | | | moved all refs to gr-blocks.
* | blocks: removing bin_statistics_f from core; now in gr-blocks.Tom Rondeau2013-03-071-4/+4
| |
* | core: removed all complex_to_<type> blocks from core; using gr-blocks.Tom Rondeau2013-03-064-5/+5
| |
* | uhd: fixing incorrect module names for UHD examples.Tom Rondeau2013-02-197-25/+29
| |
* | Merge branch 'master' into nextTom Rondeau2013-02-1310-21/+19
|\|
| * Merge remote-tracking branch 'm0mik/m-updates'Tom Rondeau2013-02-135-5/+5
| |\
| | * uhd: reset gain defaults to NoneMike Jameson2013-02-085-5/+5
| | |
| * | uhd: fixed receive_path()Mike Jameson2013-02-111-1/+1
| | |
| * | uhd: fixed default midpoint gainMike Jameson2013-02-111-6/+2
| | |
| * | uhd: fixes audio_alsa_sink busyMike Jameson2013-02-1110-11/+13
| |/
* | blocks: removes blocks moved to gr-blocks from gnuradio-core.Tom Rondeau2012-12-2115-35/+48
| | | | | | | | Also fixes up some other missing moves.
* | analog: Removing reference to gr.sig_source_X and gr.noise_source_X where ↵Tom Rondeau2012-11-062-8/+9
| | | | | | | | | | | | | | | | possible. Passing make and make test. Examples and apps need testing. gr-filter relies on sig_source and noise_source, so can't remove them from core.
* | all: Python, GRC, and examples to properly pull blocks from filter and analog.Tom Rondeau2012-11-0612-185/+204
| |
* | analog: removed all AGC blocks from gnuradio-core.Tom Rondeau2012-10-313-3/+6
| | | | | | | | Also replaces calls to gr.agc with analog.agc.
* | docs: Changed arguments in python docstrings to new formatting style.Ben Reynwar2012-08-1413-15/+29
|/
* Removed whitespace and added dtools/bin/remove-whitespace as a tool to do ↵Tom Rondeau2012-04-1316-224/+224
| | | | | | this in the future. The sed script was provided by Moritz Fischer.
* examples: Reworked locations and installation of examples.Tom Rondeau2012-04-0317-0/+4696
All python and GRC examples directly associated with a top-level component are now in that examples directory. Examples are split into c++, python, and grc dirs but are all installed into $prefix/share/gnuradio/examples/<component>.