Skip to content

Commit

Permalink
Clarify use of cross-correlation for FIR filters
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Apr 30, 2024
1 parent 08512e1 commit 21ab771
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Bonsai.Dsp/FirFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ namespace Bonsai.Dsp
/// Represents an operator that convolves the input signal with a finite-impulse
/// response filter kernel.
/// </summary>
/// <remarks>
/// This operator is implemented using cross-correlation. If kernels are symmetric,
/// there is no difference between correlation and convolution. When using asymmetric
/// kernels, note the kernel needs to be flipped to obtain a true convolution.
/// </remarks>
[Description("Convolves the input signal with a finite-impulse response filter kernel.")]
public class FirFilter : Transform<Mat, Mat>
{
Expand Down

0 comments on commit 21ab771

Please sign in to comment.