SciPy 0.6.0 API Documentation Generated by Endo, 2007-10-17
Check state-space matrices and ensure they are rank-2.
Impulse response of continuous-time system.
Inputs:
system -- an instance of the LTI class or a tuple with 2, 3, or 4
elements representing (num, den), (zero, pole, gain), or
(A, B, C, D) representation of the system.
X0 -- (optional, default = 0) inital state-vector.
T -- (optional) time points (autocomputed if not given).
N -- (optional) number of time points to autocompute (100 if not given).
Ouptuts: (T, yout)
T -- output time points,
yout -- impulse response of system (except possible singularities at 0).
Simulate output of a continuous-time linear system.
Inputs:
system -- an instance of the LTI class or a tuple describing the
system. The following gives the number of elements in
the tuple and the interpretation.
2 (num, den)
3 (zeros, poles, gain)
4 (A, B, C, D)
U -- an input array describing the input at each time T
(interpolation is assumed between given times).
If there are multiple inputs, then each column of the
rank-2 array represents an input.
T -- the time steps at which the input is defined and at which
the output is desired.
X0 -- (optional, default=0) the initial conditions on the state vector.
interp -- linear (1) or zero-order hold (0) interpolation
Outputs: (T, yout, xout)
T -- the time values for the output.
yout -- the response of the system.
xout -- the time-evolution of the state-vector.
Simulate output of a continuous-time linear system, using ODE solver.
Inputs:
system -- an instance of the LTI class or a tuple describing the
system. The following gives the number of elements in
the tuple and the interpretation.
2 (num, den)
3 (zeros, poles, gain)
4 (A, B, C, D)
U -- an input array describing the input at each time T
(linear interpolation is assumed between given times).
If there are multiple inputs, then each column of the
rank-2 array represents an input.
T -- the time steps at which the input is defined and at which
the output is desired.
X0 -- (optional, default=0) the initial conditions on the state vector.
Outputs: (T, yout, xout)
T -- the time values for the output.
yout -- the response of the system.
xout -- the time-evolution of the state-vector.
State-space to transfer function.
Inputs:
A, B, C, D -- state-space representation of linear system. input -- For multiple-input systems, the input to use.
Outputs:
- num, den -- Numerator and denominator polynomials (as sequences)
- respectively.
State-space representation to zero-pole-gain representation.
Inputs:
A, B, C, D -- state-space matrices. input -- for multiple-input systems, the input to use.
Outputs:
z, p, k -- zeros and poles in sequences and gain constant.
Step response of continuous-time system.
Inputs:
system -- an instance of the LTI class or a tuple with 2, 3, or 4
elements representing (num, den), (zero, pole, gain), or
(A, B, C, D) representation of the system.
X0 -- (optional, default = 0) inital state-vector.
T -- (optional) time points (autocomputed if not given).
N -- (optional) number of time points to autocompute (100 if not given).
Ouptuts: (T, yout)
T -- output time points,
yout -- step response of system.
Transfer function to state-space representation.
Inputs:
num, den -- sequences representing the numerator and denominator polynomials.
Outputs:
A, B, C, D -- state space representation of the system.
Zero-pole-gain representation to state-space representation
Inputs:
z, p, k -- zeros, poles (sequences), and gain of system
Outputs:
A, B, C, D -- state-space matrices.
| Local name | Refers to |
|---|---|
| arange | numpy.arange |
| array | numpy.array |
| asarray | numpy.asarray |
| atleast_1d | numpy.atleast_1d |
| atleast_2d | numpy.atleast_2d |
| diag | numpy.diag |
| dot | numpy.dot |
| eye | numpy.eye |
| integrate | scipy.integrate |
| interpolate | scipy.interpolate |
| linalg | scipy.linalg |
| nan_to_num | numpy.nan_to_num |
| normalize | SciPy.signal.filter_design.normalize |
| numpy | numpy |
| ones | numpy.ones |
| poly | numpy.poly |
| product | numpy.product |
| real | numpy.real |
| r_ | numpy.r_ |
| squeeze | numpy.squeeze |
| tf2zpk | SciPy.signal.filter_design.tf2zpk |
| transpose | numpy.transpose |
| zeros | numpy.zeros |
| zpk2tf | SciPy.signal.filter_design.zpk2tf |