summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/python
AgeCommit message (Collapse)Author
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.
2009-10-28Merge branch 'flattopwindow' of http://gnuradio.org/git/matt into flattopJosh Blum
2009-10-28redid cos windows, added flattop and nuttall_cfdMatt Ettus
2009-10-21Merge branch 'vrt' of http://gnuradio.org/git/jblumJohnathan Corgan
Merge fix: added GRUEL_INCLUDES to vrt Makefile Merge fix: added missing include in gr-vrt * 'vrt' of http://gnuradio.org/git/jblum: query the model number from the host fix so all handlers get called on event simplfied the code while i was looking at it added access methods for gps stuff added access methods and parsing for caldiv if context use existing utility method reading the lo back and storing it use the new htonll and vrt types to send cal and lo freqs checking for if context packets and setting up the payload pointer and size Reading 64 bit freq out of chunk of context packet. copied over vrt context and type headers, updated bits.h as well Dump IF-Context packets in hex. use gruel/inet.h instead of arap/inet.h fix white space made rxdspno a parameter for: start/stop streaming, and quadradio32fc
2009-10-12Merge branch 'sync' of git@gnuradio.org:trondeau into masterJohnathan Corgan
This merge adds polyphase clock recovery, implements new PAM demodulators that use it, and also moves GRC examples to gnuradio-examples component. See merge commit diff for updated files post merge. * 'sync' of git@gnuradio.org:trondeau: (54 commits) Reverting dqpsk to be mpsk_receiver based and not change its behavior. Fixing initialization of timing gains. Alpha should be < 1, and beta should be << 1. This splits the rate into a fractional an integer value, which allows the loop to adjust the fractional rate while the integer rate keeps the increments moving properly. Allows the max rate deviation to be independent of the integer rate. Scaling of the differential taps also allows alpha and beta to operate independent of the rate when fractional samples per symbol are used. Slightly more tolerant to large signal values, but they still should be close to +/-1. Fixing compiler warnings. Adding dqpsk2 block to makefile for installation. Adding DQPSK version that uses the PFB timing sync block (dqpsk2). Minor fixes for logging. Fixing import of UI file. Temporary working dbpsk2 example until we match everything. Working DBPSK implementation with new PFB clock recovery block. The feedforward AGC wasn't playing nicely, the frequency aquistion range was increased to swing half the sample rate in either direction, and the number of filter phases to use was increased to 32. A bit of code cleanup. Starting to rework QT app to control new PFB clock recovery alg. Making old dbpsk work again to compare against new version. Adding new DBPSK block with new PFB clock recovery alg. Revert "More additions to PAM timing simulation." More additions to PAM timing simulation. Using 2-PAM by default. Cleaning up GRC PAM timing example and adding ability to do M-ary PAM. Cleaning up constructor. Moving filter number decision to start work function. ...
2009-10-12simplfied the code while i was looking at itJosh Blum
2009-10-12Reverting dqpsk to be mpsk_receiver based and not change its behavior.Tom Rondeau
2009-10-12Fixing initialization of timing gains. Alpha should be < 1, and beta should ↵Tom Rondeau
be << 1.
2009-10-12Adding dqpsk2 block to makefile for installation.Tom Rondeau
2009-10-12Adding DQPSK version that uses the PFB timing sync block (dqpsk2).Tom Rondeau
2009-10-12Minor fixes for logging.Tom Rondeau