From: Scott C. L. <sli...@us...> - 2017-01-06 04:59:40
|
Branch: refs/heads/master Home: https://github.com/python-control/python-control Commit: 310f5805f0fd51aa9e1191aaf3083d483421695d https://github.com/python-control/python-control/commit/310f5805f0fd51aa9e1191aaf3083d483421695d Author: Rory Yorke <ror...@gm...> Date: 2017-01-04 (Wed, 04 Jan 2017) Changed paths: M control/statesp.py M control/tests/statesp_test.py M control/tests/xferfcn_test.py M control/xferfcn.py Log Message: ----------- BugFix: DC gain for discrete-time systems For discrete time systems the DC gain is found at z=1; change dcgain method in TransferFunction and StateSpace classes for this. Added tests for static gain, low-pass filter, differencer and summer for both classes. If the StateSpace DC gain computation fails due to singularity, return an array of NaNs of size (output,input), rather than scalar NaN. Added separate test for this for continuous- and discrete-time cases. Commit: 78a03c22db012f1ba3acbb51c44d48eb725b5e6c https://github.com/python-control/python-control/commit/78a03c22db012f1ba3acbb51c44d48eb725b5e6c Author: Scott C. Livingston <sli...@us...> Date: 2017-01-05 (Thu, 05 Jan 2017) Changed paths: M control/statesp.py M control/tests/statesp_test.py M control/tests/xferfcn_test.py M control/xferfcn.py Log Message: ----------- Merge pull request #126 from roryyorke/rory/discr-time-dcgain-fix BugFix: DC gain for discrete-time systems Compare: https://github.com/python-control/python-control/compare/32f13bcdf32f...78a03c22db01 |