From: sawyerbfuller <no...@gi...> - 2020-07-11 16:00:16
|
Branch: refs/heads/master Home: https://github.com/python-control/python-control Commit: 155d8ebca7f7cd1b2ecf528c75321cd4ef9906fc https://github.com/python-control/python-control/commit/155d8ebca7f7cd1b2ecf528c75321cd4ef9906fc Author: sawyerbfuller <587...@us...> Date: 2020-07-11 (Sat, 11 Jul 2020) Changed paths: M control/freqplot.py M control/matlab/timeresp.py M control/rlocus.py M control/sisotool.py M control/tests/sisotool_test.py M control/tests/timeresp_test.py M control/timeresp.py Log Message: ----------- Improved default time vector and handling for time response functions step, impulse, and initial (#420) * fixed default response time for time response of discrete-time functions step, impulse, and initial * to pass tests, added convenient ability to specify simulation time and number of steps rather than complete time vector in timeresponse functions * eliminated deprecation warnings by importing certain functions from numpy instead of scipy * eliminated deprecation warnings by importing certain functions from numpy instead of scipy * small fix to pass unit tests * adjusted sisotool test so tests pass with new default step response time window * added functionality to automatically choose dt in timeresp.py based on system poles. and unit tests. * removed some leftover code and comments * explanation in docstrings for how time vector T is auto-computed in time response functions |