Difference between revisions of "Gr-baz"
(→General) |
m (→General) |
||
Line 1: | Line 1: | ||
== General == | == General == | ||
− | '''NOTE:''' A few components will not work (e.g. BorIP client) without applying certain [[GNU Radio Patches|patches]]. Please see below. | + | '''NOTE:''' A few components will not work (e.g. BorIP client) without applying certain [[GNU Radio Patches|patches]] to your GNU Radio source. Please see below. |
The module name is '''baz''', so in Python one would write: | The module name is '''baz''', so in Python one would write: |
Revision as of 11:10, 24 March 2012
Contents
[hide]General
NOTE: A few components will not work (e.g. BorIP client) without applying certain patches to your GNU Radio source. Please see below.
The module name is baz, so in Python one would write:
baz.<block>(args)
To import a file (e.g. borip):
from baz import <file>
Components
patch
Before using various blocks in gr-baz, you must apply at least some of the patches contained in this directory to your GNU Radio source tree. For example: you must update gr_udp_source if you wish to use it as a BorIP client.
lib (C++)
delay
pow_cc
print_char
puncture_bb/depuncture_ff
swap_ff
test_counter_cc
unpacked_to_packed_bb
agc_cc
python
borip
auto_fec
eye
facsink
grc
GRC XML block definitions for:
- agc: AGC (Baz) - this is unfinished
- auto_fec: Auto FEC
- borip_source: BorIP Source
- delay: Variable Delay
- puncture_bb/depuncture_ff: Puncture/Depuncture
- pow_cc: Power
- swap_ff: Swap
- test_counter_cc: Test Counter
- eye: Eye Diagram
- facsink: Fast AutoCorrelation Sink
- gr_mpsk_receiver_debug_cc: MPSK Receiver (Debug)
- Requires appropriate patch to gr_mpsk_receiver_debug.cc
Also, this contains patches for GRC to enable 'any' block support. This enables you to use raw GNU Radio blocks by typing in the necessary Python function to create the block (without a dedicated GRC XML block definition). For example: I use it with baz.print_char
- baz_any_source: Any Block Source (for source blocks)
- baz_any_sink: Any Block Sink (for sink blocks)
- baz_any: Any Block (for blocks with I/O)
You can either apply the following two patches, OR apply one from the patch page:
apps
am_fft
Same functionality as usrp_fft.py, however the AM (magnitude) signal is shown instead of the original complex one.
usrp_fac
Stand-alone app for using the Fast Auto-correlation Sink.