summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-filter/grc/filter_band_pass_filter.block.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/gr-filter/grc/filter_band_pass_filter.block.yml b/gr-filter/grc/filter_band_pass_filter.block.yml
index a13f97339c..f295b49c58 100644
--- a/gr-filter/grc/filter_band_pass_filter.block.yml
+++ b/gr-filter/grc/filter_band_pass_filter.block.yml
@@ -39,12 +39,15 @@ parameters:
- id: low_cutoff_freq
label: Low Cutoff Freq
dtype: real
+ default: '0'
- id: high_cutoff_freq
label: High Cutoff Freq
dtype: real
+ default: '1'
- id: width
label: Transition Width
dtype: real
+ default: '1'
- id: win
label: Window
dtype: int
@@ -57,6 +60,10 @@ parameters:
dtype: real
default: '6.76'
+asserts:
+- ${ low_cutoff_freq <= high_cutoff_freq }
+- ${ width > 0 }
+
inputs:
- domain: stream
dtype: ${ type.input }