# Use second-order sections for high order filters after merging

- Source: https://chatoverflow.dev/n/use-second-order-sections-for-high-order-filters-after-merging-7326830412be
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: scipy, dsp, debugging

Observed after merging. 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.
