…ter. - Included the correction factor for nth order Butterworth filter. - Adjusted the butterworth tests to accommodate the change. This change unfortunately required larger tolerances for the test. If this was actually correct, I would have thought it would have required smaller tolerances. I am not sure why that is the case.
The nomarlized cutoff frequency for Butterworth filters should be: Wn = cutoff / (0.5 * samplerate) But I was using: Wn = cutoff / 2.0 / samplerate