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

fourier_ellipsoid(input, size, n=-1, axis=-1, output=None)<br />

Multi-dimensional ellipsoid fourier filter.<br />

The array is multiplied with the fourier transform of a ellipsoid of given sizes. If the parameter n is negative,<br />

then the input is assumed to be the result of a complex fft. If n is larger or equal to zero, the input is assumed<br />

to be the result of a real fft, and n gives the length of the of the array before transformation along the the real<br />

transform direction. The axis of the real transform is given by the axis parameter. This function is implemented<br />

for arrays of rank 1, 2, or 3.<br />

fourier_gaussian(input, sigma, n=-1, axis=-1, output=None)<br />

Multi-dimensional Gaussian fourier filter.<br />

The array is multiplied with the fourier transform of a Gaussian kernel. If the parameter n is negative, then the<br />

input is assumed to be the result of a complex fft. If n is larger or equal to zero, the input is assumed to be the<br />

result of a real fft, and n gives the length of the of the array before transformation along the the real transform<br />

direction. The axis of the real transform is given by the axis parameter.<br />

fourier_shift(input, shift, n=-1, axis=-1, output=None)<br />

Multi-dimensional fourier shift filter.<br />

The array is multiplied with the fourier transform of a shift operation If the parameter n is negative, then the<br />

input is assumed to be the result of a complex fft. If n is larger or equal to zero, the input is assumed to be the<br />

result of a real fft, and n gives the length of the of the array before transformation along the the real transform<br />

direction. The axis of the real transform is given by the axis parameter.<br />

fourier_uniform(input, size, n=-1, axis=-1, output=None)<br />

Multi-dimensional Uniform fourier filter.<br />

The array is multiplied with the fourier transform of a box of given sizes. If the parameter n is negative, then the<br />

input is assumed to be the result of a complex fft. If n is larger or equal to zero, the input is assumed to be the<br />

result of a real fft, and n gives the length of the of the array before transformation along the the real transform<br />

direction. The axis of the real transform is given by the axis parameter.<br />

3.10.3 Interpolation <strong>scipy</strong>.ndimage.interpolation<br />

affine_transform(input, matrix[, offset, ...]) Apply an affine transformation.<br />

geometric_transform(input, mapping[, ...]) Apply an arbritrary geometric transform.<br />

map_coordinates(input, coordinates[, ...]) Map the input array to new coordinates by interpolation.<br />

rotate(input, angle[, axes, reshape, ...]) Rotate an array.<br />

shift(input, shift[, output_type, output, ...]) Shift an array.<br />

spline_filter(input[, order, output, ...]) Multi-dimensional spline filter.<br />

spline_filter1d(input[, order, axis, ...]) Calculates a one-dimensional spline filter along the given axis.<br />

zoom(input, zoom[, output_type, output, ...]) Zoom an array.<br />

affine_transform(input, matrix, offset=0.0, output_shape=None, output_type=None, output=None, order=3,<br />

mode=’constant’, cval=0.0, prefilter=True)<br />

Apply an affine transformation.<br />

The given matrix and offset are used to find for each point in the output the corresponding coordinates in the input<br />

by an affine transformation. The value of the input at those coordinates is determined by spline interpolation of<br />

the requested order. Points outside the boundaries of the input are filled according to the given mode. The output<br />

shape can optionally be given. If not given it is equal to the input shape. The parameter prefilter determines if<br />

the input is pre-filtered before interpolation, if False it is assumed that the input is already filtered.<br />

The matrix must be two-dimensional or can also be given as a one-dimensional sequence or array. In the latter<br />

case, it is assumed that the matrix is diagonal. A more efficient algorithms is then applied that exploits the<br />

separability of the problem.<br />

280 Chapter 3. Reference

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

Saved successfully!

Ooh no, something went wrong!