summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/python
AgeCommit message (Collapse)Author
2009-09-09only import usrp and usrp2 modules in the setup methodsJosh Blum
2009-09-09copied usrp_siggen stuff from experimental gui into gnuradio treeJosh Blum
2009-09-04Merge branch 'grc' from http://gnuradio.org/git/jblum.git into masterJohnathan Corgan
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 ...
2009-08-31Modified log power fft block so ref scale is peak to peak.Josh Blum
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.
2009-08-25Merge branch 'master' of http://gnuradio.org/git/gnuradio into grcJosh Blum
2009-08-25Merge utils from http://gnuradio.org/git/trondeau.gitJohnathan Corgan
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. ...
2009-08-25Work on command line options for generated code.Josh Blum
Simplified eng_option eng_float to reuse str_to_num code.
2009-08-24Adding P-M version of band reject filter.Tom Rondeau
2009-08-24Fixed documentation for optfir band pass filters.Tom Rondeau
2009-08-24Added routine for optfir equiripple filter design code to create complex ↵Tom Rondeau
bandpass filters. Also adds this ability to the filter designer.
2009-08-23Added blks2.pfb_arb_resampler_ccf to GRC block listJohnathan Corgan
* New block XML file * Added set_taps callback to blks2 hier block * GRC example showing pre- and post-resampling swept spectrum
2009-08-14Added git ignore files auto created from svn:ignore properties.git
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11592 221aa14e-8319-0410-a670-987f0aec2ac5
2009-08-12Merging trondeau/pfb r11249:11581 into trunk. This adds a few polyphase ↵trondeau
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. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11583 221aa14e-8319-0410-a670-987f0aec2ac5
2009-08-06Adds constructor for gr.message_source that takes existing msgq.jcorgan
A gr.message_source object can now be created in one of two ways: blk = gr.message_source(itemsize, limit) msgq = gr.msg_queue(limit) blk = gr.message_source(itemsize, msgq) git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11541 221aa14e-8319-0410-a670-987f0aec2ac5
2009-08-05Fixed optfir for producing equiripple FIR filters. Does LPF, fixes the HPF, ↵trondeau
and adds BPF (real). git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11537 221aa14e-8319-0410-a670-987f0aec2ac5
2009-07-11Implements ticket:401 and ticket:402.jcorgan
Adds several API functions to determine build constants at runtime, and a convenience command line program to display them: From C++: const std::string gr_prefix(); const std::string gr_sysconfdir(); const std::string gr_prefsdir(); const std::string gr_build_date(); const std::string gr_svn_date(); const std::string gr_svn_version(); const std::string gr_version(); From Python: gr.prefix() gr.sysconfdir() gr.prefsdir() gr.build_date() gr.svn_date() gr.svn_version() gr.version() The new binary is 'gnuradio' and installed on the path: $ gnuradio Program options: gnuradio [options]: -h [ --help ] print help message --prefix print gnuradio installation prefix --sysconfdir print gnuradio system configuration directory --prefsdir print gnuradio preferences directory --builddate print gnuradio build date (RFC2822 format) -v [ --version ] print gnuradio version --svnversion print SVN repository version (SVN format) --svndate print SVN repository date $ git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11418 221aa14e-8319-0410-a670-987f0aec2ac5
2009-07-09Adds generic msgq runner convenience class.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11398 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-27Merged r11123:11148 from jcorgan/np into trunk.jcorgan
Adds --enable-python option to configure (defaults to yes). Using --disable-python or --enable-python=no will cause only C++ API targets to be created and installed. Several new shared libraries are now created. Where in the past, the C++ objects of the actual gnuradio blocks that were in a component were hidden inside their corresponding Python extension modules, these are now split out into a libgnuradio-foo.so library, and the _foo.so Python module is linked to that. This has been the way several top- level components have operated for some time, such as gr-audio-alsa and gr-usrp and gr-usrp2. This changeset applies that pattern to all components. C++ API users can use pkg-config to discover the cflags and libs parameters needed to include and link against these libraries. These components have not been tested: gr-comedi gr-audio-osx gr-audio-windows Passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11150 221aa14e-8319-0410-a670-987f0aec2ac5
2009-05-08Fix abort when user fails to connect hier_block2 outputs both internally and ↵jcorgan
internally; throw meaningful exception instead. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10992 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-25Generate more informative error message than recursion errorjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10908 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-25Fixes ticket:312.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10907 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-19Merged r10875:10880 from jcorgan/t161 into trunk. Implements ticket:161, ↵jcorgan
allowing multiple internal blocks to be connected to a hier_block2 external input. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10881 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-17Minor fix to last checkinjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10872 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-17Fixes ticket:383jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10871 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-17Fixes ticket:386jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10869 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-17Fixes ticket:374jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10865 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-17Cleanup on gr.channel_modeljcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10864 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-15new fm detector added based on FIR derivative detector. Stereo sep better ↵n4hy
than pll based one and more efficient. Tweaking probably needed, usrp_wfm_rcv_fmdet added to demo git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10847 221aa14e-8319-0410-a670-987f0aec2ac5
2009-04-01Fix erroneous output io signaturejcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10734 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-26fixed typoeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10691 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-24Merged r10666:10669 from jblum/vlen. Trunk passes distcheck.jblum
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10678 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-20Adds QA code for ticket:237 fixjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10661 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-19Fix for ticket:348, Stopping a process does not properly terminate USRP1.eb
This is a partial merge from eb/t348 10637:10648, and contains the actual fix. The next commit will contain the rest of the merge which adds a -N <nsamples> argument to usrp_siggen.py, usrp_siggen.cc and test_usrp_standard_tx.cc. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10649 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-14Merged r10554:10595 from michaelld/am_swig_4 into trunk. Major overhaul of ↵jcorgan
SWIG usage in build system, also fixes ticket:130. Trunk passes distcheck. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10596 221aa14e-8319-0410-a670-987f0aec2ac5
2009-03-08Copy pubsub from gr-wxgui into gnuradio-core, need to migrate wxgui usage to ↵jcorgan
new class before removing old git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10575 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-25Merged mld/fix_makefile_gen -r10446:10509 to trunk. This cleans upeb
the generation of the Makefile.gen's that occurs in gr-trellis, lib/gengen and lib/filter. If you change any code generator such that it generates a different set of generated file names, you must execute "make generate-makefile" in a non-VPATH build to regenerate the Makefile.gen's. Once they are regenerated, commit them to the repo. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10511 221aa14e-8319-0410-a670-987f0aec2ac5
2009-02-17kludge the legacy: usrp subdevice 2, the 3rd subdevicejblum
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10448 221aa14e-8319-0410-a670-987f0aec2ac5
2008-11-23fixing sync routines by wrapping the angle and not clipping it; also opening ↵trondeau
up the frequency sync range a bit. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10040 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-27Added copyright header and disabled test_004, as it requires pygsl, which is ↵jcorgan
not checked for in configure git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9876 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-27Added basic wavelet classifier blocks. GSL is now a prerequisite foreb
gnuradio-core. Merged from eb/frank -r9627:9868 to trunk. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9870 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-27Added optional vlen parameter to vector_source_* and vector_sink_*.eb
Merged from eb/frank 9627:9868 to trunk. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9869 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-01pll bandwidth optimized to more nearly meet Carson's rule. The 19 kHz pilot ↵n4hy
recovery will soon be replace by polyphase channelizer trick git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9694 221aa14e-8319-0410-a670-987f0aec2ac5
2008-10-01Given 75 kHz deviation in the US FM market, Carson's rule says this is ↵n4hy
nominally 180 kHz occupied bandwidth, not 200 kHz git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9690 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-12Merged -r9556:9560 from jcorgan/scr into trunk. Adds gr.scrambler_bb and ↵jcorgan
gr.descrambler_bb, using updated gri_lfsr. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9561 221aa14e-8319-0410-a670-987f0aec2ac5
2008-09-10Replaced """! with """. Exclamation mark showed in doxygen docs. jblum
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9549 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-25Relaxed tolerance to fix OS/X 10.5 make check failure.eb
Merged michaelld/gruel_make_check_osx -r9402:9403 to trunk. Thanks Michael! git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9408 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-19Merged features/mp-sched -r8915:9335 into the trunk. The trunk noweb
contains the SMP aware scheduler. This changeset introduces a dependency on boost 1.35 or later. See source:gnuradio/trunk/README.building-boost for additional info. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9336 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-14Merged changeset r9241:9289 from jblum/glwxgui into trunk. Adds OpenGL ↵jcorgan
versions of fftsink, waterfallsink, and scopesink, and new constsink. See README.gl for use. (Josh Blum) git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9290 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-06set decimjblum
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9194 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-03Better fix for race in logpwrfft.pyjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9160 221aa14e-8319-0410-a670-987f0aec2ac5