From d38cfb4188d929b27132853e53f67d1b288067be Mon Sep 17 00:00:00 2001
From: jblum
Date: Fri, 17 Apr 2009 02:58:41 +0000
Subject: switched to new gr.channel_model
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10862 221aa14e-8319-0410-a670-987f0aec2ac5
---
grc/data/platforms/python/block_tree.xml | 2 +-
grc/data/platforms/python/blocks/Makefile.am | 2 +-
.../python/blocks/blks2_channel_model.xml | 60 ---------------------
.../platforms/python/blocks/gr_channel_model.xml | 61 ++++++++++++++++++++++
4 files changed, 63 insertions(+), 62 deletions(-)
delete mode 100644 grc/data/platforms/python/blocks/blks2_channel_model.xml
create mode 100644 grc/data/platforms/python/blocks/gr_channel_model.xml
(limited to 'grc/data/platforms/python')
diff --git a/grc/data/platforms/python/block_tree.xml b/grc/data/platforms/python/block_tree.xml
index 4e6ff01c4..80fcbe78c 100644
--- a/grc/data/platforms/python/block_tree.xml
+++ b/grc/data/platforms/python/block_tree.xml
@@ -166,7 +166,7 @@
gr_freq_xlating_fir_filter_xxx
gr_iir_filter_ffd
gr_filter_delay_fc
- blks2_channel_model
+ gr_channel_model
gr_single_pole_iir_filter_xx
gr_hilbert_fc
diff --git a/grc/data/platforms/python/blocks/Makefile.am b/grc/data/platforms/python/blocks/Makefile.am
index a97266fba..131b1d630 100644
--- a/grc/data/platforms/python/blocks/Makefile.am
+++ b/grc/data/platforms/python/blocks/Makefile.am
@@ -30,7 +30,6 @@ dist_ourdata_DATA = \
band_reject_filter.xml \
blks2_am_demod_cf.xml \
blks2_analysis_filterbank.xml \
- blks2_channel_model.xml \
blks2_dxpsk_demod.xml \
blks2_dxpsk_mod.xml \
blks2_error_rate.xml \
@@ -65,6 +64,7 @@ dist_ourdata_DATA = \
gr_and_xx.xml \
gr_argmax_xx.xml \
gr_binary_slicer_fb.xml \
+ gr_channel_model.xml \
gr_char_to_float.xml \
gr_chunks_to_symbols.xml \
gr_clock_recovery_mm_xx.xml \
diff --git a/grc/data/platforms/python/blocks/blks2_channel_model.xml b/grc/data/platforms/python/blocks/blks2_channel_model.xml
deleted file mode 100644
index 88805636c..000000000
--- a/grc/data/platforms/python/blocks/blks2_channel_model.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
- Channel Model
- blks2_channel_model
- from gnuradio import blks2
- from gnuradio.gr import firdes
- blks2.channel_model(
- noise_voltage=$noise_voltage,
- frequency_offset=$freq_offset,
- epsilon=$epsilon,
- taps=$taps,
- noise_seed=$seed,
-)
- set_noise_voltage($noise_voltage)
- set_frequency_offset($freq_offset)
- set_taps($taps)
-
- Noise Voltage
- noise_voltage
- 0.0
- real
-
-
- Frequency Offset
- freq_offset
- 0.0
- real
-
-
- Epsilon
- epsilon
- 1.0
- real
-
-
- Taps
- taps
- 1.0, 0.0
- complex_vector
-
-
- Seed
- seed
- 42
- int
-
-
- in
- complex
-
-
-
diff --git a/grc/data/platforms/python/blocks/gr_channel_model.xml b/grc/data/platforms/python/blocks/gr_channel_model.xml
new file mode 100644
index 000000000..e23062dff
--- /dev/null
+++ b/grc/data/platforms/python/blocks/gr_channel_model.xml
@@ -0,0 +1,61 @@
+
+
+
+ Channel Model
+ gr_channel_model
+ from gnuradio import gr
+ from gnuradio.gr import firdes
+ gr.channel_model(
+ noise_voltage=$noise_voltage,
+ frequency_offset=$freq_offset,
+ epsilon=$epsilon,
+ taps=$taps,
+ noise_seed=$seed,
+)
+ set_noise_voltage($noise_voltage)
+ set_frequency_offset($freq_offset)
+ set_taps($taps)
+ set_timing_offset($epsilon)
+
+ Noise Voltage
+ noise_voltage
+ 0.0
+ real
+
+
+ Frequency Offset
+ freq_offset
+ 0.0
+ real
+
+
+ Epsilon
+ epsilon
+ 1.0
+ real
+
+
+ Taps
+ taps
+ 1.0 + 1.0j
+ complex_vector
+
+
+ Seed
+ seed
+ 42
+ int
+
+
+ in
+ complex
+
+
+
--
cgit