obspy.signal.filter.remez_fir

remez_fir(data, freqmin, freqmax, df)[source]

The minimax optimal bandpass using Remez algorithm. (experimental)

Warning

This is experimental code. Use with caution!

Parameters:
  • data (numpy.ndarray) Data to filter.
  • freqmin Low corner frequency.
  • freqmax High corner frequency.
  • df Sampling rate in Hz.
Returns:

Filtered data.

Finite impulse response (FIR) filter whose transfer function minimizes the maximum error between the desired gain and the realized gain in the specified bands using the Remez exchange algorithm.

New in version 0.6.2.