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.
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.
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.
eb [Sat, 15 Aug 2009 18:32:56 +0000 (18:32 +0000)]
Added reset method to gr_head and gr_vector_sink. This allows graphs
containing these blocks to be run more than once with user control
over when the reset of the counter and sink occurs.
gr_msg_accepter derives from gruel::msg_accepter_msgq and will
implement in its post() a notification of the destination block
thread that a message is pending.
trondeau [Wed, 12 Aug 2009 03:39:03 +0000 (03:39 +0000)]
Merging trondeau/pfb r11249:11581 into trunk. This adds a few polyphase filterbank implementations that do (integer) decimation, (integer) interpolation, arbitrary resampling, and channelizing. gnuradio-example/python/pfb includes a number of different examples of how to use these blocks.
trondeau [Tue, 11 Aug 2009 22:02:56 +0000 (22:02 +0000)]
Cleaning up Qt code. This mostly reformats the code to be more consistent with our style. It also changes the layout to use Qt layouts for proper resizing of the GUI. Only the QwtPlots need to be resized manually.
trondeau [Mon, 10 Aug 2009 02:07:55 +0000 (02:07 +0000)]
Significantly improved performance of the Qt Gui sinks. This removes a number of redundant loops and memcopies by combining operations and reduces the CPU load greatly to run much more smoothly.
jcorgan [Sun, 2 Aug 2009 15:45:12 +0000 (15:45 +0000)]
Made libusrp2 min and max samples even number.
This forces an even number of samples in the min or max case,
preserving the alignment of interleaved samples in the face
of RX overruns or TX underruns.
This is a custom build for USRP2 FPGA. It allows using a BasicRX or
LFRX board and feed two independent, real signals. In addition, instead
of the CIC/HB decimator, which optimizes frequency response, it uses an
integrate and dump decimator, which optimizes for time-domain impulse
response.
These changes have been made in dsp_core_rx.v:
* A second DDC has been added, sharing a frequency register with
the existing DDC.
* The output of the two DDCs are interleaved as I1 Q1 I2 Q2I ...
into the receive FIFO. This limits the host configured decimation
to 8 intead of 4. Use gr.deinterleave to recover the streams.
* The CIC/HB decimator has been replaced by an integrate and dump at
the decimation rate.
* To assist with meeting timing, the external RAM has been disabled.
The basic application is to coherently sample two real IF streams and
downconvert to baseband, while minimizing the impulse response duration
of the resampling filters.
Merged -r11480:11507, r11508 from nldudok1/tvrx_mimo_merge_with_trunk into trunk. This branch was created with a corrupted merge tracking database, so manual merge and remove of merge info properties was needed.