[SciPy-user] signal.bspline()
Stefan van der Walt
stefan at sun.ac.za
Mon Aug 6 17:33:03 EDT 2007
On Mon, Aug 06, 2007 at 10:02:05PM +0200, Matthieu Brucher wrote:
> I digged into some functions documentation, but I can't understand what the
> function bspline does.
> Someone has a clue ?
Looks like it generates points on B-spline basis functions. For
example, try:
import pylab as P
import numpy as N
import scipy as S
import scipy.signal
points = N.linspace(-1,1,101)
for k in range(3):
P.plot(points,S.signal.bspline(points,k))
P.title('Order %s' % k)
P.show()
Also see
http://mathworld.wolfram.com/B-Spline.html
and
http://www.cs.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/B-spline/bspline-basis.html
Regards
Stéfan
More information about the SciPy-User
mailing list