[SciPy-User] interpolate.bispl{rep, ev} need some love, or I'm using them incorrectly...

Kurt Smith kwmsmith at gmail.com
Thu Mar 4 16:47:03 EST 2010


I've been trying to get interpolation working on a not-too-large array
(512 X 512) using interpolate.interp2d, which is a nice wrapper for
interpolate.bispl{rep,ev}.  Apparently these routines are meant to
work on smallish arrays (~ 50 X 50) and give me a segfault when I hand
them anything about (200 X 200) or so.  When they do work, they're
prohibitively slow.

My question is:  what is the usecase for these bivariate spline
routines?  I've discovered ndimage.spline_filter and
ndimage.map_coordinates -- these fit my purposes much better; fast and
nice interface.  What is the difference between the two approaches?

Kurt



More information about the SciPy-User mailing list