This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[newb] eigen3 for FIR filter (convolution)?

Tags: None
(comma "," separated)
nbecker
Registered Member
Posts
4
Karma
0
newb here. Is there any eigen3 code that could help with 1D FIR filtering?
kp0987
Registered Member
Posts
21
Karma
0
rbossart
Registered Member
Posts
14
Karma
0
Hi,

I cannot yet share the code I have for that, sorry. But please take into account this:
1) a circular buffer does not necessarily move memory circularly at each update step
2) the circular buffers I know of do not provide linear access to data. (no lin access = performance killer).

What you have to do is get or implement a linear access circular buffer. When, in the fir filter, you need to compute, you just have to Eigen::Map the coefficients and the right part of the circular buffer. It works *great*.

Cheers,
Romain


rbossart, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell