Skip to content

Commit

Permalink
Merge pull request #1768 from glopesdev/issue-1761
Browse files Browse the repository at this point in the history
Clarify use of cross-correlation for FIR filters
  • Loading branch information
glopesdev authored May 1, 2024
2 parents 08512e1 + 21ab771 commit ced27db
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 ced27db

Please sign in to comment.