Merge branch 'usrp_siggen' of http://gnuradio.org/git/jblum into master
* 'usrp_siggen' of http://gnuradio.org/git/jblum:
only import usrp and usrp2 modules in the setup methods
updated digital to use installed usrp options
tweaked ampl slider params
copied usrp_siggen stuff from experimental gui into gnuradio tree
Round the slider's value, but not the internal representation.
Now, the slider can operate on any step size without killing the precision for other forms.
Merge branch 'grc' from http://gnuradio.org/git/jblum.git into master
we dont use test() -> remove it
Made the window for the pass band filters integers (take firdes.WIN_XXX).
Evaluation fix in param.to_code().
Removed the flagging api and usage from the base classes.
added ref scale param to fft and waterfall
Switched the python classes to inherit from the base and gui classes.
port and param types from an overloaded method
todo
Replaced TYPES in Port and Param with types parameter.
made is_virtual_xxx a block level function, used by port and param classes
added stream id type and checking in evaluate
avoid loops
Recursive resolution of virtual sources.
added virtual source and added stream ids, logic to clone in port
added rewrite methods to element to separate from validation logic
Added virtual sink and logic to clone port.
removed repurposing of pads
Work on command line options for generated code.
renamed the colors dialog to types
use pkgpythondir
...
Eric Blossom [Fri, 4 Sep 2009 10:32:32 +0000 (03:32 -0700)]
Fix problem with commands timing out (specifically stop_rx_streaming)
After fixing the race, this change uses Tom's idea to stop enqueuing
data when trying to stop, and adds a new flush_rx_samples method
to drop any samples that may have already been accumulated.
I ran Tom's test case 500 times with 0 failures ;-)
Merge branch 'sync' from http://gnuradio.org/git/trondeau.git into master
* Fixing a line in the clock recovery algorithm. This works with a bit larger error than there proably should be.
* Adding clock sync algorithm using PFB. This works, but needs a bit more work.
Dont force an evaluation in to code unless the type is string or list.
Not doing so forces the variables to call evaluate before the namespace was bootstrapped.
This fixes a bug that came up when the validate was replaced with rewrite in flowgraph.import_data().
By replacing the validate, evaluate was only called once, and the namespace was not bootstrapped.
Merge branch 'lo_fix' from http://gnuradio.org/git/jblum.git into master
* Modifications to usrp2 source and sink so that set center freq is called afer set lo offset.
* Modifications to the usrp blocks and wrapper so that the lo offset is set with the lo frequency.
Fix so that the waterfall texture is initialized with a buffer of the same size.
If the fft size was a non power of two, the buffer would be a different size.
This would cause a segfault. Particularly because fft_window was throwing out a bin.
Merge branch 'wxgui' from http://gnuradio.org/git/jblum.git into master
* Modified log power fft block so ref scale is peak to peak.
* Tweaked fft sink autoscale routine to come up with better numbers.
* Modified scope sink ac couple block to use constant tap. The previous
tap calculation would cause failure for very small sample rates.
Modified log power fft block so ref scale is peak to peak.
Tweaked fft sink autoscale routine to come up with better numbers.
Modified scope sink ac couple block to use constant tap.
The previous tap calculation would cause failure for very small sample rates.
Josh Blum [Sun, 30 Aug 2009 17:34:10 +0000 (10:34 -0700)]
Switched the python classes to inherit from the base and gui classes.
Use only **kwargs so all contructor parameters must be passed with keys.
Moved gui input forms classes from base to gui param module.
Josh Blum [Sat, 29 Aug 2009 08:04:58 +0000 (01:04 -0700)]
Replaced TYPES in Port and Param with types parameter.
Replaced odict in options for storing options with a list.
Fix virtual port check in flow graph template.
Johnathan Corgan [Wed, 26 Aug 2009 23:52:40 +0000 (16:52 -0700)]
Merge vrt of http://gnuradio.org/git/jblum.git into master
* automatic store for empty traces on enable
* added traces to fft window
* added quadradio method to enable/disable cal
* use enum for band select
* added get band select
Johnathan Corgan [Wed, 26 Aug 2009 23:48:36 +0000 (16:48 -0700)]
Merge msg-passing from http://gnuradio.org/git/eb.git
* Add shorthand for making tuples.
* Add blobs and shorthand pmt pseudo-constructors.
* gruel::send can now send to a pmt.
* Add top-level msg_passing.h include file.
* QA code now works.
* Add pmt type that wraps a gruel::msg_accepter.
Josh Blum [Wed, 26 Aug 2009 18:23:23 +0000 (11:23 -0700)]
Added virtual sink and logic to clone port.
Tweaks to the base validation routines.
Validate twice in the update until rewrite functions are implemented.
Johnathan Corgan [Tue, 25 Aug 2009 23:02:33 +0000 (16:02 -0700)]
Merge utils from http://gnuradio.org/git/trondeau.git
Added files to Makefile.am for distribution.
Added colorbar to spectrogram for magnitude measurement.
Fixed spectrogram plotting axis.
Adding a spectrogram plot. The axis need work.
GR plotter tool handles end of file and files shorter than the block length.
Manages window/filter types better. Disables filter types if the designing algorithm doesn't support it (no RRC or Gaussian for equiripple filters).
User messages if PyQt and PyQwt are not installed (or found).
Setting validators for all edit boxes.
Fixing tab order.
Adding display for the number of taps in the filter.
Adding equiripple band reject filter to filter design app.
Adding P-M version of band reject filter.
Fixed documentation for optfir band pass filters.
Added routine for optfir equiripple filter design code to create complex bandpass filters. Also adds this ability to the filter designer.
Added design for Guassian filters.
Added design for RRC filters.
Added Band Notch filter
Adding complex bandpass filter design (for windowed filters only).
Adding plotting of group delay.
Adding labels to the plots.
...
Eric Blossom [Wed, 19 Aug 2009 05:44:05 +0000 (22:44 -0700)]
Add blobs and shorthand pmt pseudo-constructors.
blobs == Binary Large Object. Very handy for passing around
uninterpreted data. The shorthand constructors were implemented by
overloading the pmt_t mp(foo) function in the pmt namespace.
I originally called "mp" "pmt", but that caused a conflict with the
pmt namespace.