• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

python-control / python-control / 52
73%
master: 94%

Build:
Build:
LAST BUILD BRANCH: test-norm-methods
DEFAULT BRANCH: master
Ran 23 Mar 2015 01:17AM UTC
Jobs 3
Files 26
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
52

Pull #51

travis-ci

cwrowley
Speed up forced_response (lsim)

Fixes #48

The old algorithm called a general-purpose ODE integrator at each
timestep, and this could be extremely slow (hundreds of times slower
than scipy.signal.lsim).  This new algorithm evaluates the matrix
exponential once, and uses it to advance the simulation at each step.

Importantly, the old algorithm would work for variable timesteps, but
the new version assumes a fixed timestep (as does Matlab's lsim).  This
is the usual case, and it is the price one pays for increased speed.

Note that this algorithm is the same idea as the algorithm used in
scipy.signal.lsim, but the scipy version requires inverting the `A`
matrix, and thus does not work if the system has a pole at the origin.
The algorithm used here works even if there is a pole at the origin.
This commit also adds a test for this case (the double integrator).
Pull Request #51: Speed up forced_response/lsim

20 of 20 new or added lines in 1 file covered. (100.0%)

2033 of 2789 relevant lines covered (72.89%)

2.18 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
control/timeresp.py
Jobs
ID Job ID Ran Files Coverage
1 52.1 23 Mar 2015 01:18AM UTC 0
72.89
Travis Job 52.1
2 52.2 23 Mar 2015 01:17AM UTC 0
72.64
Travis Job 52.2
3 52.3 23 Mar 2015 01:17AM UTC 0
72.64
Travis Job 52.3
Source Files on build 52
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #52
  • Pull Request #51
  • PR Base - improve-docs (#50)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc