splev(x, tck, der=0, ext=0)
Given the knots and coefficients of a B-spline representation, evaluate the value of the smoothing polynomial and its derivatives. This is a wrapper around the FORTRAN routines splev and splder of FITPACK.
Manipulating the tck-tuples directly is not recommended. In new code, prefer using BSpline
objects.
An array of points at which to return the value of the smoothed spline or its derivatives. If :None:None:`tck`
was returned from splprep
, then the parameter values, u should be given.
If a tuple, then it should be a sequence of length 3 returned by splrep
or splprep
containing the knots, coefficients, and degree of the spline. (Also see Notes.)
The order of derivative of the spline to compute (must be less than or equal to k, the degree of the spline).
Controls the value returned for elements of x
not in the interval defined by the knot sequence.
if ext=0, return the extrapolated value.
if ext=1, return 0
if ext=2, raise a ValueError
if ext=3, return the boundary value.
The default value is 0.
An array of values representing the spline function evaluated at the points in x
. If :None:None:`tck`
was returned from splprep
, then this is a list of arrays representing the curve in an N-D space.
Evaluate a B-spline or its derivatives.
Examples are given in the tutorial <tutorial-interpolate_splXXX>
.
The following pages refer to to this document either explicitly or contain code examples using this.
scipy.interpolate._fitpack_impl.splrep
scipy.interpolate._fitpack_py.splder
scipy.interpolate._fitpack_impl.splantider
scipy.interpolate._fitpack_py.splrep
scipy.interpolate._fitpack_py.splantider
scipy.interpolate._fitpack_py.sproot
scipy.interpolate._fitpack_py.splint
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them