[SciPy-User] interpolation (using averaging) on a staircase function

Frédéric Parrenin parrenin at ujf-grenoble.fr
Thu May 22 10:53:50 EDT 2014


Dear all,

I have a serie (x,y) which I would like to interpolate at new abscissas xp,
but not using a simple interpolation. I would like to the yp to be equal to
the average over each interval (xp[i],xp[i+1]) of the staircase function
defined by the (x,y) serie.

How to do that using scipy?

Best regards,

Frédéric Parrenin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20140522/091437ab/attachment.html>


More information about the SciPy-User mailing list