Like the subject, I use python / numpy / scipy to do some data analysis, and I would like to create an object of the LTI class for a discrete system, specifying (num, den, dt) or (zeros, poles, gain, dt) or even (A, B, C, D, dt), but the documentation never mentions how to do this.
There are, however, functions, such as dsim / dstep / dimpulse, that will take an LTI object and do something with it, so I assume this is possible. As soon as I do this, I would like to do something like conversion from one representation to another (num / den β zpk β A, B, C, D), build a Bode diagram, etc.
In addition, it is completely incomprehensible to me if the representation (num, den, dt) used the coefficient for z or z ^ -1, since I do not think that there is a clear standard.
source share