scipy/signal/bsplines.py
def bspline(x, n):
    """B-spline basis function of order n.

    Notes
    -----
    Uses numpy.piecewise and automatic function-generator.

    """
    ax = -abs(asarray(x))
    # number of pieces on the left-side is (n+1)/2
    funclist, condfuncs = _bspline_piecefunctions(n)
    condlist = [func(ax) for func in condfuncs]
    return piecewise(ax, condlist, funclist)
B-spline basis function of order n.

    Notes
    -----
    Uses numpy.piecewise and automatic function-generator.

    
B-spline basis function of order n.
Notes

Uses numpy.piecewise and automatic function-generator.
B - spline basis function of order n . Notes Uses numpy . piecewise and automatic function - generator .
def bspline(x, n):
    ax = -abs(asarray(x))
    funclist, condfuncs = _bspline_piecefunctions(n)
    condlist = [func(ax) for func in condfuncs]
    return piecewise(ax, condlist, funclist)
def bspline ( x , n ) : ax = - abs ( asarray ( x ) ) funclist , condfuncs = _bspline_piecefunctions ( n ) condlist = [ func ( ax ) for func in condfuncs ] return piecewise ( ax , condlist , funclist )
B-spline basis function of order n.
Notes
B - spline basis function of order n . Notes
"""B-spline basis function of order n.

    Notes
    -----
    Uses numpy.piecewise and automatic function-generator.

    """ # number of pieces on the left-side is (n+1)/2
x
n