![](https://secure.gravatar.com/avatar/15c05480eda96586c521cf0df92ec41c.jpg?s=120&d=mm&r=g)
4 Mar
2010
4 Mar
'10
9:47 p.m.
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