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.

SciPy Reference Guide, Release 0.8.dev<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 />

origin : scalar, optional<br />

The ‘‘origin‘‘ parameter controls the placement of the filter. Default 0 :<br />

minimum_filter1d(input, size, axis=-1, output=None, mode=’reflect’, cval=0.0, origin=0)<br />

Calculate a one-dimensional minimum filter along the given axis.<br />

The lines of the array along the given axis are filtered with a minimum filter of given size.<br />

Parameters<br />

input : array-like<br />

size : int<br />

input array to filter<br />

length along which to calculate 1D minimum<br />

axis : integer, optional<br />

axis of input along which to calculate. Default is -1<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 />

origin : scalar, optional<br />

The ‘‘origin‘‘ parameter controls the placement of the filter. Default 0 :<br />

percentile_filter(input, percentile, size=None, footprint=None, output=None, mode=’reflect’, cval=0.0, origin=0)<br />

Calculates a multi-dimensional percentile filter.<br />

Parameters<br />

input : array-like<br />

input array to filter<br />

percentile : scalar<br />

The percentile parameter may be less then zero, i.e., percentile = -20 equals percentile<br />

= 80<br />

size : scalar or tuple, optional<br />

See footprint, below<br />

276 Chapter 3. Reference

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

Saved successfully!

Ooh no, something went wrong!