summaryrefslogtreecommitdiff
path: root/gr-channels/grc/channels_channel_model2.block.yml
diff options
context:
space:
mode:
authorHåkon Vågsether <haakonsv@gmail.com>2017-09-24 12:16:22 +0200
committerHåkon Vågsether <haakonsv@gmail.com>2017-10-10 10:49:36 +0200
commitbaf7eaf8f29d5a490f2580917362cf5b3db47281 (patch)
tree7afab4ee2dfa6439ecf95d47aa68996020ea04c5 /gr-channels/grc/channels_channel_model2.block.yml
parent6fa9d33246251f44a0e78682e50e9a1cb0b03171 (diff)
Added auto-generated YAML blocks
Diffstat (limited to 'gr-channels/grc/channels_channel_model2.block.yml')
-rw-r--r--gr-channels/grc/channels_channel_model2.block.yml56
1 files changed, 56 insertions, 0 deletions
diff --git a/gr-channels/grc/channels_channel_model2.block.yml b/gr-channels/grc/channels_channel_model2.block.yml
new file mode 100644
index 0000000000..f42a77c8dd
--- /dev/null
+++ b/gr-channels/grc/channels_channel_model2.block.yml
@@ -0,0 +1,56 @@
+id: channels_channel_model2
+label: Channel Model 2
+
+parameters:
+- id: noise_voltage
+ label: Noise Voltage
+ dtype: real
+ default: '0.0'
+- id: epsilon
+ label: Time Offset
+ dtype: real
+ default: '1.0'
+- id: taps
+ label: Taps
+ dtype: complex_vector
+ default: 1.0 + 1.0j
+- id: seed
+ label: Seed
+ dtype: int
+ default: '0'
+- id: block_tags
+ label: Block Tag Propagation
+ dtype: enum
+ default: 'False'
+ options: ['True', 'False']
+ option_labels: ['Yes', 'No']
+ option_attributes:
+ hide_block: ['', part]
+ hide: ${ block_tags.hide_block }
+
+inputs:
+- domain: stream
+ dtype: complex
+- label: freq
+ domain: stream
+ dtype: float
+- label: time
+ domain: stream
+ dtype: float
+
+outputs:
+- domain: stream
+ dtype: complex
+
+templates:
+ imports: |-
+ from gnuradio import channels
+ from gnuradio.filter import firdes
+ make: "channels.channel_model2(\n\tnoise_voltage=${noise_voltage},\n\tepsilon=${epsilon},\n\
+ \ttaps=${taps},\n\tnoise_seed=${seed},\n\tblock_tags=${block_tags}\n)"
+ callbacks:
+ - set_noise_voltage(${noise_voltage})
+ - set_taps(${taps})
+ - set_timing_offset(${epsilon})
+
+file_format: 1