[SciPy-Dev] Splines

denis denis-bz-py at t-online.de
Wed Mar 13 11:47:18 EDT 2013


Pauli Virtanen <pav <at> iki.fi> writes:

> However, map_coordinates is only for splines on uniform set of knots,
> you can't evaluate it on a grid efficiently, etc.

Pauli,
  It's easy to uniformize non-uniform grids, see
[Intergrid](http://denis-bz.github.com/docs/intergrid.html)
(comments welcome).
Sure, for order > 1 this is not as smooth as real non-uniform splines
but very simple, low-memory too, fast:
    in 4d, 5d, 6d, Intergrid does around 3M, 2M, .8M interpolations / second.

a bird in the hand.

cheers
  -- denis






More information about the SciPy-Dev mailing list