Did I find the right examples for you? yes no

All Samples(9)  |  Call(6)  |  Derive(0)  |  Import(3)

src/s/c/scipy-0.13.3/scipy/signal/signaltools.py   scipy(Download)
from scipy.misc import factorial
from .windows import get_window
from ._arraytools import axis_slice, axis_reverse, odd_ext, even_ext, const_ext
 
__all__ = ['correlate', 'fftconvolve', 'convolve', 'convolve2d', 'correlate2d',
    # Create y0 so zi*y0 broadcasts appropriately.
    y0 = axis_slice(y, start=-1, axis=axis)
    (y, zf) = lfilter(b, a, axis_reverse(y, axis=axis), axis=axis, zi=zi * y0)
 
    # Reverse y.
    y = axis_reverse(y, axis=axis)

src/s/c/scipy-HEAD/scipy/signal/signaltools.py   scipy(Download)
from scipy.misc import factorial
from windows import get_window
from _arraytools import axis_slice, axis_reverse, odd_ext, even_ext, const_ext
 
__all__ = ['correlate', 'fftconvolve', 'convolve', 'convolve2d', 'correlate2d',
    # Create y0 so zi*y0 broadcasts appropriately.
    y0 = axis_slice(y, start=-1, axis=axis)
    (y, zf) = lfilter(b, a, axis_reverse(y, axis=axis), axis=axis, zi=zi * y0)
 
    # Reverse y.
    y = axis_reverse(y, axis=axis)

src/p/t/ptsa-HEAD/ptsa/filtfilt.py   ptsa(Download)
from scipy.signal import lfilter
import numpy as np
from _arraytools import axis_slice, axis_reverse, odd_ext, even_ext, const_ext
 
 
    # Create y0 so zi*y0 broadcasts appropriately.
    y0 = axis_slice(y, start=-1, axis=axis)
    (y, zf) = lfilter(b, a, axis_reverse(y, axis=axis), zi=zi * y0)
 
    # Reverse y.
    y = axis_reverse(y, axis=axis)