Jump to content

Contributions:FIRFilter: Difference between revisions

From BCI2000 Wiki
Mellinger (talk | contribs)
Mellinger (talk | contribs)
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:
===Source Code Revisions===
===Source Code Revisions===
*Initial development: 31
*Initial development: 31
*Tested under: 2196
*Tested under: 2203
*Known to compile under: 2196
*Known to compile under: 2203
*Broken since: --
*Broken since: --


==Parameters==
==Parameters==
===FIRWindows===
===FIRIntegration===
Number of input blocks.
This parameter may be one of
===FIRDetrend===
;0 - none
Detrend data?  0=no 1=mean 2= linear.
:no integration,
===Integration===
;1 - mean
FIR Integration 0 = none, 1= mean 2 = rms 3 = max.
:mean value,
===FIRFilteredChannels===
;2 - rms
Number of FIR Filtered Channels.
:root mean square,
;3 - max
:maximum value.


===FIRFilterKernal===
For each sample of input, the FIRFilter computes the convolution of past samples with FIR filter coefficients.
FIR filter coefficients. Here, rows correspond to channels, defining an individual FIR filter for each channel.
When ''FIRIntegration'' is set to "none", this is also the filter's output.
When ''FIRIntegration'' is set to "mean", "rms", or "max", the respective computation is performed on the convolved signal, and its result returned in the output signal's first sample (element, bin).


===VisualizeTemporalFiltering===
===FIRCoefficients===
Visualize Temporal filtered signals (0=no 1=yes).
A matrix of FIR filter coefficients. Here, rows correspond to channels, defining an individual FIR filter for each channel. When an empty matrix is specified, the FIRFilter returns its input signal unchanged.


==States==
==States==

Latest revision as of 16:50, 22 November 2008

Synopsis

A finite impulse response (FIR) filter for temporal filtering.

Location

http://www.bci2000.org/svn/trunk/src/contrib/SignalProcessing/FIR

Versioning

Authors

Dennis McFarland, Juergen Mellinger

Source Code Revisions

  • Initial development: 31
  • Tested under: 2203
  • Known to compile under: 2203
  • Broken since: --

Parameters

FIRIntegration

This parameter may be one of

0 - none
no integration,
1 - mean
mean value,
2 - rms
root mean square,
3 - max
maximum value.

For each sample of input, the FIRFilter computes the convolution of past samples with FIR filter coefficients. When FIRIntegration is set to "none", this is also the filter's output. When FIRIntegration is set to "mean", "rms", or "max", the respective computation is performed on the convolved signal, and its result returned in the output signal's first sample (element, bin).

FIRCoefficients

A matrix of FIR filter coefficients. Here, rows correspond to channels, defining an individual FIR filter for each channel. When an empty matrix is specified, the FIRFilter returns its input signal unchanged.

States

None.

See also

User Reference:Filters, Contributions:SignalProcessing