[SciPy-Dev] Splines

denis denis-bz-py@t-online...
Wed Mar 13 10:47:18 CDT 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