scipy.signal.lti¶
-
class
scipy.signal.lti(*system)[source]¶ Linear Time Invariant system base class.
Parameters: *system : arguments
The
lticlass can be instantiated with either 2, 3 or 4 arguments. The following gives the number of arguments and the corresponding subclass that is created:- 2:
TransferFunction: (numerator, denominator) - 3:
ZerosPolesGain: (zeros, poles, gain) - 4:
StateSpace: (A, B, C, D)
Each argument can be an array or a sequence.
Notes
ltiinstances do not exist directly. Instead,lticreates an instance of one of its subclasses:StateSpace,TransferFunctionorZerosPolesGain.Changing the value of properties that are not directly part of the current system representation (such as the
zerosof aStateSpacesystem) is very inefficient and may lead to numerical inaccuracies.Attributes
AState matrix of the StateSpacesystem.BInput matrix of the StateSpacesystem.COutput matrix of the StateSpacesystem.DFeedthrough matrix of the StateSpacesystem.denDenominator of the TransferFunctionsystem.gainGain of the ZerosPolesGainsystem.numNumerator of the TransferFunctionsystem.polesPoles of the ZerosPolesGainsystem.zerosZeros of the ZerosPolesGainsystem.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. - 2: