Difference between revisions of "Low-pass Filter Taps"

From GNU Radio
Jump to: navigation, 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...")
 
(Example Flowgraph)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
[[Category:Block Docs]]
 
[[Category:Block Docs]]
[[Category:Stub Docs]]
+
Generates taps for a low-pass filter and stores it in variable called whatever the ID is set to.  It's essentially a convenience wrapper for calling firdes.low_pass(). 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.
  
== Parameters ==
+
; Gain
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span>
+
: Scaling factor applied to output.
  
; Param 1 (''R'')
+
; Sample Rate
: 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).
+
: Input sample rate.
  
; Param 2
+
; Cutoff Freq
: blah blah blah
+
: 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:58, 4 March 2021

Generates taps for a low-pass filter and stores it in variable called whatever the ID is set to. It's essentially a convenience wrapper for calling firdes.low_pass(). 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.
Cutoff Freq
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].

Filter taps fg.png

Source Files[edit]