Closed andreas-h closed 10 years ago
That's fine, but please be aware that most of the code can be replaced by the ~ three lines in https://github.com/JohannesBuchner/regulargrid/blob/master/regulargrid/cartesiangrid.py because scipy.ndimage.map_coordinates solves that problem in a very general way. It is very performant too. Perhaps a thin wrapper for this function like CartesianGrid is enough.
Isn't map_coordinates
and CartesianGrid
limited to equally spaced grids? I'm interested in rectangular grids which have variable/uneven spacing.
Yes. Oh yeah, I implemented uneven spacing, didn't I. It's been such a long time ... Anyways, have fun with the code.
Great, thanks a lot =) I'll keep you updated.
Just wanted to let you know that the new functionality, based on your regulargrid implementation, is now merged into scipy master: https://github.com/scipy/scipy/commit/a90dc2804da21ba4c48c2615facd0ac5848ebe59. Thanks again for giving permission to do this work!
Wicked. Thank you.
Hi,
I'd like some of the code in this repository to be included in the scipy.interpolate module. I'm currently preparing a pull request for scipy which contains code largely based on what you have in
regulargrid.py
.I hereby ask permission for this code to be included into Scipy (given that the Scipy team actually want it), which is BSD-licensed.
Best regards, Andreas.