scipp.scipy.signal.butter#

scipp.scipy.signal.butter(coord, *, N, Wn, **kwargs)#

Butterworth digital and analog filter design.

Design an Nth-order digital or analog Butterworth filter and return the filter coefficients.

This is intended for use with scipp.scipy.signal.sosfiltfilt(). See there for an example.

This is a wrapper around scipy.signal.butter(). See there for a complete description of parameters. The differences are: :rtype: SOS

  • Instead of a sampling frequency fs, this wrapper takes a variable coord as input. The sampling frequency is then computed from this coordinate. Only data sampled at regular intervals are supported.

  • The critical frequency or frequencies must be provided as a variable with correct unit.

  • Only ‘sos’ output is supported.

Seealso:

scipp.scipy.signal.sosfiltfilt()