15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SciPy Reference Guide, Release 0.8.dev<br />

UnivariateSpline.__call__(x[, nu]) Evaluate spline (or its nu-th derivative) at positions x.<br />

UnivariateSpline.derivatives(x) Return all derivatives of the spline at the point x.<br />

UnivariateSpline.integral(a, b) Return definite integral of the spline between two<br />

UnivariateSpline.roots() Return the zeros of the spline.<br />

UnivariateSpline.get_coeffs() Return spline coefficients.<br />

UnivariateSpline.get_knots() Return the positions of (boundary and interior)<br />

UnivariateSpline.get_residual() Return weighted sum of squared residuals of the spline<br />

UnivariateSpline.set_smoothing_factor(s) Continue spline computation with the given smoothing<br />

__call__(x, nu=None)<br />

Evaluate spline (or its nu-th derivative) at positions x. Note: x can be unordered but the evaluation is more<br />

efficient if x is (partially) ordered.<br />

derivatives(x)<br />

Return all derivatives of the spline at the point x.<br />

integral(a, b)<br />

Return definite integral of the spline between two given points.<br />

roots()<br />

Return the zeros of the spline.<br />

Restriction: only cubic splines are supported by fitpack.<br />

get_coeffs()<br />

Return spline coefficients.<br />

get_knots()<br />

Return the positions of (boundary and interior) knots of the spline.<br />

get_residual()<br />

Return weighted sum of squared residuals of the spline approximation: sum ((w[i]*(y[i]-s(x[i])))**2,axis=0)<br />

set_smoothing_factor(s)<br />

Continue spline computation with the given smoothing factor s and with the knots found at the last call.<br />

Low-level interface to FITPACK functions:<br />

splrep(x, y[, w, xb, xe, k, task, s, t, ...]) Find the B-spline representation of 1-D curve.<br />

splprep(x[, w, u, ub, ue, k, task, s, t, ...]) Find the B-spline representation of an N-dimensional curve.<br />

splev(x, tck[, der]) Evaulate a B-spline and its derivatives.<br />

splint(a, b, tck[, full_output]) Evaluate the definite integral of a B-spline.<br />

sproot(tck[, mest]) Find the roots of a cubic B-spline.<br />

spalde(x, tck) Evaluate all derivatives of a B-spline.<br />

bisplrep(x, y, z[, w, xb, xe, yb, ye, kx, ...]) Find a bivariate B-spline representation of a surface.<br />

bisplev(x, y, tck[, dx, dy]) Evaluate a bivariate B-spline and its derivatives.<br />

splrep(x, y, w=None, xb=None, xe=None, k=3, task=0, s=None, t=None, full_output=0, per=0, quiet=1)<br />

Find the B-spline representation of 1-D curve.<br />

Description:<br />

Inputs:<br />

Given the set of data points (x[i], y[i]) determine a smooth spline approximation of degree k on the<br />

interval xb

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!