Order of instruction wrong on wiki page
TrianecT-Wouter opened this issue · 1 comments
TrianecT-Wouter commented
on this page:
the example shows:
var filter = new Butterworth.HighPassFilter(order, f);
from the code (https://github.com/ar1st0crat/NWaves/blob/master/NWaves/Filters/Butterworth/HighPassFilter.cs#L26) it looks like it should be:
var filter = new Butterworth.HighPassFilter(f, order);
ar1st0crat commented
Good catch, thanks. Fixed. I didn't even pay attention earlier to the inconsistency between IIR and FIR design method prototypes and the order of parameters (e.g. in FirWinLp
it's different). Not crucial, I guess, but annoying :(