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

The (limits[0])th lowest values are set to the (limits[0])th percentile, and the (limits[1])th highest values are set<br />

to the (limits[1])th percentile. Masked values are skipped.<br />

Parameters<br />

a : sequence<br />

z(a, score)<br />

z is deprecated!<br />

Input array.<br />

limits : {None, tuple of float} optional<br />

Tuple of the percentages to cut on each side of the array, with respect to the number<br />

of unmasked data, as floats between 0. and 1. Noting n the number of unmasked<br />

data before trimming, the (n*limits[0])th smallest data and the (n*limits[1])th largest<br />

data are masked, and the total number of unmasked data after trimming is n*(1.sum(limits))<br />

The value of one limit can be set to None to indicate an open interval.<br />

inclusive : {(True, True) tuple} optional<br />

Tuple indicating whether the number of data being masked on each side should be<br />

rounded (True) or truncated (False).<br />

inplace : {False, True} optional<br />

Whether to winsorize in place (True) or to use a copy (False)<br />

axis : {None, int} optional<br />

Axis along which to trim. If None, the whole array is trimmed, but its shape is<br />

maintained.<br />

<strong>scipy</strong>.stats.z is deprecated; please update your code to use <strong>scipy</strong>.stats.zscore_compare.<br />

Returns the z-score of a given input score, given thearray from which that score came. Not appropriate for<br />

population calculations, nor for arrays > 1D.<br />

zmap(scores, compare, axis=0)<br />

Returns an array of z-scores the shape of scores (e.g., [x,y]), compared to array passed to compare (e.g.,<br />

[time,x,y]). Assumes collapsing over dim 0 of the compare array.<br />

zs(a)<br />

zs is deprecated!<br />

<strong>scipy</strong>.stats.zs is deprecated; please update your code to use <strong>scipy</strong>.stats.zscore.<br />

Returns a 1D array of z-scores, one for each score in the passed array, computed relative to the passed array.<br />

3.18.6 Univariate and multivariate kernel density estimation (<strong>scipy</strong>.stats.kde)<br />

gaussian_kde(dataset) Representation of a kernel-density estimate using Gaussian kernels.<br />

class gaussian_kde(dataset)<br />

Representation of a kernel-density estimate using Gaussian kernels.<br />

Parameters<br />

dataset : (# of dims, # of data)-array<br />

datapoints to estimate from<br />

696 Chapter 3. Reference

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

Saved successfully!

Ooh no, something went wrong!