summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/python
AgeCommit message (Collapse)Author
2010-12-28Merge branch 'master' into nextTom Rondeau
* master: Under extreme circumstances, optfir might never produce an answer (atten>300), so this puts in a check on the ripple; if it gets too large, stop trying. Allowing PFB interpolator to be called without specifying the taps; autogen taps inside hierblock. Allowing PFB decimator to be called without specifying the taps; autogen taps inside hierblock. PFB channelizer can be specified without external taps. Uses optfir to generate an internal filter to cover the channel bandwidth; user can specify the attenuation of this filter if desired. Updating the arb. resampler to use the optfir filter that provides better specificatiion of stopband atten.
2010-12-28Under extreme circumstances, optfir might never produce an answer ↵Tom Rondeau
(atten>300), so this puts in a check on the ripple; if it gets too large, stop trying.
2010-12-28Allowing PFB interpolator to be called without specifying the taps; autogen ↵Tom Rondeau
taps inside hierblock.
2010-12-28Allowing PFB decimator to be called without specifying the taps; autogen ↵Tom Rondeau
taps inside hierblock.
2010-12-28PFB channelizer can be specified without external taps. Uses optfir to ↵Tom Rondeau
generate an internal filter to cover the channel bandwidth; user can specify the attenuation of this filter if desired.
2010-12-28Updating the arb. resampler to use the optfir filter that provides better ↵Tom Rondeau
specificatiion of stopband atten.
2010-12-23Merge branch 'master' into nextTom Rondeau
* master: clean now gets rid of unittest results. Passes distcheck. Modifying the unittest output. XML files are no longer written outside of the build tree. A new patch for fixing the alsa restart issue. Submitted by Volker Schroer. Reverting last change in alsa. PFB resampler: fix it this way to avoid the signed/unsigned warning. PFB resampler: fixes bug where filter could be looking past the number of inputs. Adding a "change in progress" check to alsa sink. Added a check in alsa sink if error has occurred due to blocking; if so, it will just drop samples and not get backed up. Patch taken from Marcus Leech 10/29/2010. Conflicts: Makefile.common gnuradio-core/src/lib/filter/gr_pfb_arb_resampler_ccf.cc
2010-12-23Modifying the unittest output. XML files are no longer written outside of ↵Tom Rondeau
the build tree.
2010-12-21Merge branch 'next' into guile.Eric Blossom
Passes distcheck. * next: (32 commits) volk: Fix for popcnt's 64/32-bit issues. Using a copy of config.guess and config.sub instead of sym links. Including time header to qa files. Changed python env variable to more globally usable version. gr_uhd: Quick fix for make distcheck failures if UHD is not installed. PFB resampler: fix it this way to avoid the signed/unsigned warning. PFB resampler: fixes bug where filter could be looking past the number of inputs. resampler PFB: Sets relative rate when rate is changed. Create method to set rate on pfb_arb_resamp after it has been created. Allow it to be called from GRC. volk: fix for running 32-bit OS on 64-bit processor. System is correctly identified as 32-bit and compiles with the correct flags. volk: changing the path variables again. This works on my various systems tested. Using abs_ path names failed on Ubuntu 8.04 32-bit. volk: May be a hack, but it was required for my 32-bit Fedora 13 to work. volk: Removing unnecessary shell script; last commit takes care if its functions. volk: Fixing build system to handle making volk_mktables, volk_tables.h, and volk_config.h instead of a standalone shell script. volk: readding 16sc_magnitude_32f_sse with fix for SSE hadd_ps error. volk: Adding a few more generic-only test cases. volk: adding generic QA test for 16sc_magnitude_32f. volk: modified the configure scripts to output which architectures it will be building based on the configure tests. uhd: update notes in grc blocks for addressing scheme volk: Removing erroneous SSE function that actually usese an SSE3 intrin (mm_hadd_ps). ...
2010-12-11Create method to set rate on pfb_arb_resamp after it has been created.Matt Ettus
Allow it to be called from GRC.
2010-12-06Merge branch 'next' into guile-nextEric Blossom
* next: (116 commits) Adding new example script for using the new PFB arbitrary resampler interface. One resampler takes user-generated taps and another resampler just takes the resampling rate. Both input and output signals are plotted. Modifying blsk2 wrapper for PFB arbitrary resampler to allow the user to just specify the requested resampling rate without providing their own filter taps. uhd: reverting tag changes on uhd single usrp source, there seems to be issues with the work() logic uhd: removed default value chan=0 in the cc files WITH_INCLUDES _must_ be last uhd: replaced CFLAGS with CPPFLAGS variable, and fixed swig args FIXME uhd: default channel params to zero for single source and sink blocks Revert "Removed usrp2-firmware from being automatically built." Remove generated file from repo Removed usrp2-firmware from being automatically built. uhd: added libdir to UHD CFLAGS (shared by lib and swig) Swapping out preset keys until I work out some of their issues. Modifying QA tests for the sample tags. By default, it only checks the sizes of the tags since order is not specified or guarenteed. Block is a gr_block, so this sets its relative rate. Was required for using in the QA of the sample tags code. Removing global pmt constants. Were causing segfaults during make check. Must fix this later. Fixing up the UHD sample tag example to take command line options. Swapping order of testing rrate. Changing propagation policy enum type name and making a few other minor edits. Changing API for gr_skiphead to use uint64_t for the offset instead of size_t (still unsigned). Fixes issue #304. Adding typedef for uint64_t and int64_t so we can use them through SWIG. ... Passes make distcheck.
2010-12-06Modifying blsk2 wrapper for PFB arbitrary resampler to allow the user to ↵Tom Rondeau
just specify the requested resampling rate without providing their own filter taps. Taps are then generated inside hier_block2 to cover full bandwidth of input signal. Optional attenuation parameter may be provided.
2010-11-24Add conditionals around gnuradio-core/src/{guile,python}Eric Blossom
2010-11-24Major Makefile.am housecleaning. Passes distcheck.Eric Blossom
Move all occurrences of swig_built_sources out of Makefile.am's. Move all SWIG related use of BUILT_SOURCES out of Makefile.am's. Clean up 'if PYTHON' conditionalization in gr-* Still left to do: fix Makefile.swig CLEANFILES and no_dist_files such that they remove exactly the generated files.
2010-11-24Consistently use TESTS += in conditionalsEric Blossom
2010-11-10Cleanup gr:connect and gr:disconnect for Guile.Eric Blossom
Rename {dis,}connect to {dis,}primitive_connect in .i file. Update python code to reflect change.
2010-11-10Rename basic_block coersion method to to_basic_block. Add to_hier_block2 ↵Eric Blossom
and to_top_block. basic_block was renamed because the number of guile generic methods on basic_block was getting large and confusing. to_hier_block2 and to_top_block were added to support coercion to those types in guile (and python). This change simplifies the handling of "connect" in guile.
2010-11-10Remove dead codeEric Blossom
2010-11-10rename s/gnuradio_swig_python/gnuradio_core/gEric Blossom
2010-10-06Checks to make sure XML path is writable before making the XML runner. ↵Tom Rondeau
Ignores it if directory is now writable.
2010-10-03Updating all python QA programs in gnuradio-core to output XML files.Tom Rondeau
Also fixed gr_unittest.py to print to the screen and fail make check properly if there's an error. Need to find a way to use XML runner with main() to fail make check and output to screen, too.
2010-10-03Adding gr_xmlrunner.py to Makefile.Tom Rondeau
2010-10-03Adding XML output to Python unittests.Tom Rondeau
gr_unittest.py was updated to handle the path and file creation and run the XML runner gr_xmlrunner.py is a public domain program written by Sebastian Rittau <srittau@jroger.in-berlin.de> (THANKS!) to extend Python's unittest module to handle XML JUnit format output. This was renamed from xmlrunner.py if any future work is done on it from our project as well as to keep the namespace clean and clear. qa_skiphead.py is a first test program for the XML output. Creates an outputfile $HOME/.gnuradio/unittest/python/test_skiphead.xml.
2010-05-25Fix erroneous file modesJohnathan Corgan
2010-05-23Merge remote branch 'gnuradio/wip/udp_source_sink'Johnathan Corgan
* gnuradio/wip/udp_source_sink: gnuradio-core: update copyrights gnuradio-core: allow swig to handle exceptions in UDP source/sink grc: update UDP source and sink block wrappers Simplify USE_SELECT usage Return immediately when using d_residual. Defend against a peer that sends an invalid message length. Move initialization of select timeout Correct update of d_temp_offset (parallel construction) Identify memory leaks that occur on error conditions Use -1 as file descriptor "not open" value instead of 0 Add additional conditionalization of networking includes Flush pending errors in gr_udp_sink on disconnect() Rework UDP source and sink, with incompatible API changes Updates to udp source/sink (select(), wait, cleanup) Discard data in gr_udp_sink until receiver is started. Use getaddrinfo in gr_udp_{source,sink} Changes to gr_udp_{source,sink} for MinGW Ignore ENOPROTOOPT return from setsockopt(SO_LINGER)
2010-05-21gnuradio-core: update copyrightsJohnathan Corgan
2010-05-10Add gru.hexshort to deal with short hex constantsEric Blossom
2010-05-04Rework UDP source and sink, with incompatible API changesDon Ward
Remove source address specifications for sink; add connect() and disconnect() to sink; add get_port() to source; add optional EOF signaling (using zero-length packets) to sink and source; modify dial_tone, vector, and audio examples to match new code; add qa test case.
2010-04-07Opening up channelizer to have different sampling rates out. This first pass ↵Tom Rondeau
produces the correct output for oversampling_rate = 1.
2010-03-21Add new block gr.additive_scrambler_bb()Johnathan Corgan
This block performs scrambling by XORing the input sequence with the output of an LFSR. Repeating this operation restores the original sequence. (This differs from gr.scrambler_bb(), which convolves the input sequence with the LFSR output.) The additive scrambler allows an optional bit count after which the LFSR is reset to its initial seed. This allows use with, e.g., packetized fixed length payloads.
2010-03-14Fixing copyright dates.Tom Rondeau
2010-03-14Making old and new digital modulations completely seperable by adding ↵Tom Rondeau
modulation_utils2 so only new modulator blocks work with the version 2 of everything. Also changed some internal names for clarity.
2010-03-13Merge branch 'digital' of vps.gnuradio.org:trondeau into digitalTom Rondeau
2010-03-13Merge branch 'digital' of git@gnuradio.org:trondeau into digitalTom Rondeau
Conflicts: gnuradio-examples/python/digital/benchmark_qt_rx2.py
2010-03-13Adding version 2 of receive path so as not to affect old dbpsk and dqpsk ↵Tom Rondeau
operations.
2010-03-06Using better defaults for new FLL implementation.Tom Rondeau
2010-02-27Fixing logging in new DBPSK and DQPSK.Tom Rondeau
2010-02-26Fixing a few bugs in handling of real samples per symbol.Tom Rondeau
2010-02-09Removing resampler from usrp transmit path as its taken care of in the ↵Tom Rondeau
modulators.
2010-02-08Setting up code to handle setting of samples per symbol properly. Still ↵Tom Rondeau
buggy in the transmitter due to the make packet padding to 512 bytes.
2010-02-01Fixing DQPSK block to work with any real value samples per symbol and ↵Tom
getting object names the same as DBPSK block.
2010-01-31Using PFB resampler to do the RRC filtering on the modulator. This along ↵Tom
with the PFB clock recovery in the demod block allows arbitrary real numbers for the number of samples per symbol. We will have to chance the transmit and recieve path code in the examples to take advantage of this.
2010-01-17Adding FLL correction to DQPSK2 block.Tom
2010-01-02Printing FLL gain value in verbose mode.Tom
2009-12-20Adding FLL to DBPSK demodulator block. Need OTA testing.Tom
2009-11-25added sync output port to dxpsk2 demodJosh Blum
2009-10-29fixed issue where usrp siggen continued to transmit after program exitJosh Blum
2009-10-29modified flowgraph cleanupJosh Blum
2009-10-29Merge branch 'flattopwindow' of http://gnuradio.org/git/jblumJohnathan Corgan
Merge-fix: Remove debugging print Merge-fix: Update copyrights * 'flattopwindow' of http://gnuradio.org/git/jblum: Added window option to wxgui fft and waterfall sink. redid cos windows, added flattop and nuttall_cfd
2009-10-28Added window option to wxgui fft and waterfall sink.Josh Blum
Added rectangular window function to window.py. Average stays hidden in waterfall, fft, and numbersink wrappers (only avg_alpha shows/hides). Fixed options in waterfall wrapper to model after fft and numbersink average params.