On 26 May 2010 17:20, Carlos Grohmann <carlos.grohmann@gmail.com> wrote:
I can interpolate my data using rbf, but only inside a rectangular
area (mesh). I'm looking into how to interpolate data inside a
circular area, that is, disregarding anything outside a circle (or a
polygon, like a convex hull)

If you can define your polygon/circle, you can filter your points and select only those within the boundary. You can do this with pnpoly if you have matplotlib (see this: <http://matplotlib.sourceforge.net/faq/howto_faq.html#test-whether-a-point-is-inside-a-polygon>). You can then interpolate your points, into a regular grid, and discard the gridcell values outside your region of interest.

J