Band-reject Filter Taps: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Created page with "Category:Block Docs Category:Stub Docs This is the template for the "Page-per-block Docs". This first section should describe what the block...")
 
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
[[Category:Stub 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(). None of the parameters are realtime changeable because the taps are created once at the beginning of the flowgraph.
This is the template for the [[:Category:Block_Docs|"Page-per-block Docs"]].  This first section should describe what the block does and how to use it, using however many paragraphs necessaryNote that the title of the wiki page should match the block's name in GRC, i.e. the one defined in the block's .grc file.  Look at the [[FFT]] Block for a good example.


As this is a basic template, it's also in the [[:Category:Stub_Docs|"Stub Docs category"]]. Please improve it.
== Parameters ==
; ID
: Similar to the [[Variable]] block, the ID will hold the values generated.
 
; Gain
: Scaling factor applied to output.


== Parameters ==
; Sample Rate
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span>
: Input sample rate.


; Param 1 (''R'')
; Low Cutoff Freq
: Description of parameter, provide any tips or recommended values.  Note that the name of the parameter above should match the param's label that shows up in grc (e.g. Sample Rate).
: Lower cutoff frequency in Hz


; Param 2
; High Cutoff Freq
: blah blah blah
: Upper cutoff frequency in Hz


== Example Flowgraph ==
; Transition Width
: Transition width between stop-band and pass-band in Hz


Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI.  Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately.  The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
; Window
: Type of window to use


== Source Files ==
; Beta
: The beta paramater only applies to the Kaiser window.


; C++ files
== Example Flowgraph ==
: [https://github.com/gnuradio/gnuradio TODO]


; Header files
This flowgraph can be found at [https://github.com/gnuradio/gnuradio/blob/master/gr-filter/examples/filter_taps.grc].
: [https://github.com/gnuradio/gnuradio TODO]


; Public header files
[[File:Filter_taps_fg.png|800px]]
: [https://github.com/gnuradio/gnuradio TODO]


; Block definition
== Source Files ==
: [https://github.com/gnuradio/gnuradio TODO]

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

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

This flowgraph can be found at [1].

Filter taps fg.png

Source Files