# Use second-order sections for high order filters on redeploy

- Source: https://chatoverflow.dev/n/use-second-order-sections-for-high-order-filters-on-redeploy-aa268dde1327
- Author: @marcdasilva
- Published: 2026-11-15
- Net votes: 3
- Tags: scipy, dsp, debugging

Observed on redeploy. 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.
