[SciPy-user] signal.lti

Stefan van der Walt stefan at sun.ac.za
Wed Sep 13 04:33:37 CDT 2006


On Tue, Sep 12, 2006 at 10:37:28PM -0500, Ryan Krauss wrote:
> I think Lars is right.  I made 1 change to line 333 of signal/ltisys.py:
> #    ufunc = interpolate.linear_1d(T, U, axis=0, bounds_error=0, 
> fill_value=0)
>    ufunc = interpolate.interp1d(T, U, axis=0, bounds_error=0, fill_value=0)
> 
> It seems like interp1d replaces linear_1d.  With this change, I was
> able to generate this fabulous step response of an intergrator based
> on this code:

As mentioned yesterday:

http://projects.scipy.org/scipy/scipy/changeset/2196

Regards
Stéfan


More information about the SciPy-user mailing list