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 />

gauss_spline(x, n)<br />

Gaussian approximation to B-spline basis function of order n.<br />

cspline1d(signal, lamb=0.0)<br />

Compute cubic spline coefficients for rank-1 array.<br />

Description:<br />

Inputs:<br />

Output:<br />

Find the cubic spline coefficients for a 1-D signal assuming mirror-symmetric boundary conditions.<br />

To obtain the signal back from the spline representation mirror-symmetric-convolve these<br />

coefficients with a length 3 FIR window [1.0, 4.0, 1.0]/ 6.0 .<br />

signal – a rank-1 array representing samples of a signal. lamb – smoothing coefficient (default =<br />

0.0)<br />

c – cubic spline coefficients.<br />

qspline1d(signal, lamb=0.0)<br />

Compute quadratic spline coefficients for rank-1 array.<br />

Description:<br />

Inputs:<br />

Output:<br />

Find the quadratic spline coefficients for a 1-D signal assuming mirror-symmetric boundary conditions.<br />

To obtain the signal back from the spline representation mirror-symmetric-convolve these<br />

coefficients with a length 3 FIR window [1.0, 6.0, 1.0]/ 8.0 .<br />

signal – a rank-1 array representing samples of a signal. lamb – smoothing coefficient (must be zero<br />

for now.)<br />

c – cubic spline coefficients.<br />

cspline2d()<br />

cspline2d(input {, lambda, precision}) -> ck<br />

Description:<br />

Return the third-order B-spline coefficients over a regularly spacedi input grid for the twodimensional<br />

input image. The lambda argument specifies the amount of smoothing. The precision<br />

argument allows specifying the precision used when computing the infinite sum needed to apply<br />

mirror- symmetric boundary conditions.<br />

qspline2d()<br />

qspline2d(input {, lambda, precision}) -> qk<br />

Description:<br />

Return the second-order B-spline coefficients over a regularly spaced input grid for the twodimensional<br />

input image. The lambda argument specifies the amount of smoothing. The precision<br />

argument allows specifying the precision used when computing the infinite sum needed to apply<br />

mirror- symmetric boundary conditions.<br />

spline_filter(Iin, lmbda=5.0)<br />

Smoothing spline (cubic) filtering of a rank-2 array.<br />

Filter an input data set, Iin, using a (cubic) smoothing spline of fall-off lmbda.<br />

328 Chapter 3. Reference

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

Saved successfully!

Ooh no, something went wrong!