Difference between revisions of "Decimating FIR Filter"

From GNU Radio
Jump to: navigation, search
(add Example Flowgraph)
Line 20: Line 20:
 
== Example Flowgraph ==
 
== Example Flowgraph ==
  
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.
+
This flowgraph implements a Broadcast FM stereo receiver using basic blocks.
 +
 
 +
[[File:USRP_FM_stereo_fg.png|644px]]
  
 
== Source Files ==
 
== Source Files ==

Revision as of 15:10, 22 June 2020

This is GNU Radio's "normal" FIR Filter.

For a large number of taps, consider using an FFT Filter, see [1]

For standard filters such as lowpass, highpass, bandpass, etc., the filter.firdes and filter.optfir classes provide convenient generating methods.

Parameters

(R): Run-time adjustable

Decimation
Decimation rate. The output stream will have this decimation applied to it. A decimation rate of 1 simply means no decimation. If decimation is set higher than 1, make sure the filter will remove energy outside of the "output region", i.e. -Fs/2 to Fs/2 where Fs is the input sample rate divided by the decimation rate.
Taps (R)
Taps to use in FIR filter.
Sample Delay
Additional samples to delay by, default is 0 or no delay.

Example Flowgraph

This flowgraph implements a Broadcast FM stereo receiver using basic blocks.

USRP FM stereo fg.png

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
GRC File