[Scipy-tickets] [SciPy] #1112: scipy.signal.lsim2: pass additional keyword args to odeint.

SciPy Trac scipy-tickets@scipy....
Sun Feb 14 18:53:29 CST 2010


#1112: scipy.signal.lsim2: pass additional keyword args to odeint.
--------------------------+-------------------------------------------------
 Reporter:  warren        |       Owner:  somebody
     Type:  enhancement   |      Status:  new     
 Priority:  normal        |   Milestone:  0.8.0   
Component:  scipy.signal  |     Version:  0.7.0   
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by warren):

 The attached patch modifies lsim2 to pass additional keyword arguments to
 odeint.

 It also allows the argument U to be None, in which case the input is
 treated as being identically zero.  In this case, the code never actually
 computes U, so it should be a bit more efficient.

 I also added a new function, impulse2, which uses odeint to compute the
 impulse response.  This function is a modification of a function I wrote
 to address the problem discussed in this thread:
     http://mail.scipy.org/pipermail/scipy-user/2009-November/023416.html

 Finally, I added some tests for the new functions.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1112#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list