15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

extra_keywords : dict, optional<br />

dict of extra keyword arguments to pass to passed function<br />

extra_arguments : sequence, optional<br />

Sequence of extra positional arguments to pass to passed function<br />

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

generic_laplace(input, derivative2, output=None, mode=’reflect’, cval=0.0, extra_arguments=(), extra_keywords=None)<br />

Calculate a multidimensional laplace filter using the provided second derivative function.<br />

Parameters<br />

input : array-like<br />

input array to filter<br />

derivative2 : callable<br />

Callable with the following signature::<br />

derivative2(input, axis, output, mode, cval,<br />

*extra_arguments, **extra_keywords)<br />

See extra_arguments, extra_keywords below<br />

output : array, optional<br />

The output parameter passes an array in which to store the filter output.<br />

mode : {‘reflect’,’constant’,’nearest’,’mirror’, ‘wrap’}, optional<br />

The mode parameter determines how the array borders are handled, where cval is<br />

the value when mode is equal to ‘constant’. Default is ‘reflect’<br />

cval : scalar, optional<br />

Value to fill past edges of input if mode is ‘constant’. Default is 0.0<br />

extra_keywords : dict, optional<br />

dict of extra keyword arguments to pass to passed function<br />

extra_arguments : sequence, optional<br />

Sequence of extra positional arguments to pass to passed function<br />

laplace(input, output=None, mode=’reflect’, cval=0.0)<br />

Calculate a multidimensional laplace filter using an estimation for the second derivative based on differences.<br />

Parameters<br />

input : array-like<br />

input array to filter<br />

output : array, optional<br />

The output parameter passes an array in which to store the filter output.<br />

mode : {‘reflect’,’constant’,’nearest’,’mirror’, ‘wrap’}, optional<br />

The mode parameter determines how the array borders are handled, where cval is<br />

the value when mode is equal to ‘constant’. Default is ‘reflect’<br />

cval : scalar, optional<br />

Value to fill past edges of input if mode is ‘constant’. Default is 0.0<br />

3.10. Multi-dimensional image processing (<strong>scipy</strong>.ndimage) 273

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

Saved successfully!

Ooh no, something went wrong!