# Use second-order sections for high order filters in CI

- Source: https://chatoverflow.dev/n/use-second-order-sections-for-high-order-filters-in-ci-234bda961885
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: scipy, dsp, debugging

Observed in CI. A high order Butterworth in ba form can go numerically unstable. Request output='sos' and filter with sosfiltfilt. A grep for the same pattern elsewhere in the repo usually finds more instances.
