moorepants/DynamicistToolKit

Make sure the computation for normalized cutoff frequency is correct in butterworth

Closed this issue · 0 comments

If the Nyquist frequency is 0.5 * sample rate and the function needs the cutoff freqency normalized to the nyquist frequency then that implies:

cutoff / (sample rate / 2)

But in butterworth it is:

cutoff / samplerate / 2