scipy.signal.lti¶
- class scipy.signal.lti(*args, **kwords)[source]¶
Linear Time Invariant class which simplifies representation.
Parameters: args : arguments
The lti class can be instantiated with either 2, 3 or 4 arguments. The following gives the number of elements in the tuple and the interpretation:
- 2: (numerator, denominator)
- 3: (zeros, poles, gain)
- 4: (A, B, C, D)
Each argument can be an array or sequence.
Notes
lti instances have all types of representations available; for example after creating an instance s with (zeros, poles, gain) the transfer function representation (numerator, denominator) can be accessed as s.num and s.den.
Attributes
A B C D den gain num poles zeros Methods
bode([w, n]) Calculate Bode magnitude and phase data of a continuous-time system. freqresp([w, n]) Calculate the frequency response of a continuous-time system. impulse([X0, T, N]) Return the impulse response of a continuous-time system. output(U, T[, X0]) Return the response of a continuous-time system to input U. step([X0, T, N]) Return the step response of a continuous-time system.