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

T – output time points, yout – impulse response of system (except possible singularities at 0).<br />

step(system, X0=None, T=None, N=None)<br />

Step response of continuous-time system.<br />

Inputs:<br />

system – an instance of the LTI class or a tuple with 2, 3, or 4<br />

elements representing (num, den), (zero, pole, gain), or (A, B, C, D) representation of the<br />

system.<br />

X0 – (optional, default = 0) inital state-vector. T – (optional) time points (autocomputed if not<br />

given). N – (optional) number of time points to autocompute (100 if not given).<br />

Ouptuts: (T, yout)<br />

T – output time points, yout – step response of system.<br />

3.13.7 LTI Reresentations<br />

tf2zpk(b, a) Return zero, pole, gain (z,p,k) representation from a numerator, denominator<br />

representation of a linear filter.<br />

zpk2tf(z, p, k) Return polynomial transfer function representation from zeros<br />

tf2ss(num, den) Transfer function to state-space representation.<br />

ss2tf(A, B, C, D[,<br />

input])<br />

State-space to transfer function.<br />

zpk2ss(z, p, k) Zero-pole-gain representation to state-space representation<br />

ss2zpk(A, B, C, D[,<br />

input])<br />

State-space representation to zero-pole-gain representation.<br />

tf2zpk(b, a)<br />

Return zero, pole, gain (z,p,k) representation from a numerator, denominator representation of a linear filter.<br />

Parameters<br />

b : ndarray<br />

numerator polynomial.<br />

a : ndarray<br />

Returns<br />

z : ndarray<br />

numerator and denominator polynomials.<br />

zeros of the transfer function.<br />

p : ndarray<br />

k : float<br />

poles of the transfer function.<br />

system gain.<br />

If some values of b are too close to 0, they are removed. In that case, a :<br />

BadCoefficients warning is emitted. :<br />

zpk2tf(z, p, k)<br />

Return polynomial transfer function representation from zeros and poles<br />

3.13. Signal processing (<strong>scipy</strong>.signal) 343

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

Saved successfully!

Ooh no, something went wrong!