Difference between revisions of "Band-reject Filter Taps"
From GNU Radio
(→Example Flowgraph) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[Category:Block Docs]] | ||
− | Generates taps for a band-reject filter and stores it in variable called whatever the ID is set to. It's essentially a convenience wrapper for calling firdes.band_reject(). | + | Generates taps for a band-reject filter and stores it in variable called whatever the ID is set to. It's essentially a convenience wrapper for calling firdes.band_reject(). None of the parameters are realtime changeable because the taps are created once at the beginning of the flowgraph. |
== Parameters == | == Parameters == | ||
− | |||
− | |||
; ID | ; ID | ||
: Similar to the [[Variable]] block, the ID will hold the values generated. | : Similar to the [[Variable]] block, the ID will hold the values generated. | ||
− | ; Gain | + | ; Gain |
: Scaling factor applied to output. | : Scaling factor applied to output. | ||
− | ; Sample Rate | + | ; Sample Rate |
: Input sample rate. | : Input sample rate. | ||
− | ; Low Cutoff Freq | + | ; Low Cutoff Freq |
: Lower cutoff frequency in Hz | : Lower cutoff frequency in Hz | ||
− | ; High Cutoff Freq | + | ; High Cutoff Freq |
: Upper cutoff frequency in Hz | : Upper cutoff frequency in Hz | ||
− | ; Transition Width | + | ; Transition Width |
: Transition width between stop-band and pass-band in Hz | : Transition width between stop-band and pass-band in Hz | ||
− | ; Window | + | ; Window |
: Type of window to use | : Type of window to use | ||
− | ; Beta | + | ; Beta |
: The beta paramater only applies to the Kaiser window. | : The beta paramater only applies to the Kaiser window. | ||
== Example Flowgraph == | == Example Flowgraph == | ||
+ | |||
+ | This flowgraph can be found at [https://github.com/gnuradio/gnuradio/blob/master/gr-filter/examples/filter_taps.grc]. | ||
+ | |||
+ | [[File:Filter_taps_fg.png|800px]] | ||
== Source Files == | == Source Files == |
Latest revision as of 22:54, 4 March 2021
Generates taps for a band-reject filter and stores it in variable called whatever the ID is set to. It's essentially a convenience wrapper for calling firdes.band_reject(). None of the parameters are realtime changeable because the taps are created once at the beginning of the flowgraph.
Parameters[edit]
- ID
- Similar to the Variable block, the ID will hold the values generated.
- Gain
- Scaling factor applied to output.
- Sample Rate
- Input sample rate.
- Low Cutoff Freq
- Lower cutoff frequency in Hz
- High Cutoff Freq
- Upper cutoff frequency in Hz
- Transition Width
- Transition width between stop-band and pass-band in Hz
- Window
- Type of window to use
- Beta
- The beta paramater only applies to the Kaiser window.
Example Flowgraph[edit]
This flowgraph can be found at [1].