Re: [Matplotlib-users] speeding-up griddata()

2009-07-27 Thread Denis-B
stack in interpolate_one might be the time hog; I see claims that plain vector is faster. StackVectorint, 128 in http://stackoverflow.com/questions/354442/looking-for-c-stl-like-vector-class-but-using-stack-storage looks nice, but I haven't timed it myself. cheers -- denis -- View this

Re: [Matplotlib-users] speeding-up griddata()

2009-07-24 Thread Denis-B
Jeff Whitaker wrote: Denis: I have added an 'interp' keyword to griddata (svn revision 7287) so you can choose the faster linear interpolation with interp='linear'. Thanks Jeff, that was quick. Do you also see linear wy faster than NN, factor 100 ?! (Fwiw, a quick run of

Re: [Matplotlib-users] speeding-up griddata()

2009-07-21 Thread Denis-B
Robert C, Robert K, folks, messing with the nice delaunay/testfuncs.py to time linear_interpolate_grid nn_interpolate_grid and nn_interpolate_unstructured in _delaunay, I see linear ~ 100 times faster than the nn_ s: # from: trigrid Ntri=1000 Ngrid=100 run: 21 Jul 2009 17:33 mac 10.4.11 ppc