[SciPy-user] cookbook example on irregularly spaced data fails
cmaloney at kitp.ucsb.edu
Thu Sep 21 13:44:58 CDT 2006
Yep. That was it. Smaller grid has no NaN's. (Apparently not *all*
of them were NaN on the big grid... guess the boundary is the first
thing which I looked at.). Thanks.
On Sep 21, 2006, at 2:31 PM, Robert Kern wrote:
> Craig Maloney wrote:
>> Hi all.
>> I'm trying to use the delaunay module in the sandbox to do natural
>> neighbor interpolation. I'm trying to follow the cookbook example
>> The "zi's" I get at the end of the day are all NaN. If I play around
>> with the parameters, I can get *some* of the zi's to be nan.
>> Any ideas of what might be wrong?
> Not really. It is working fine for me. Some of the values must be
> nan (or
> whatever you use for default_value when calling nn_interpolator())
> because the
> requested points are outside of the convex hull.
> Robert Kern
> "I have come to believe that the whole world is an enigma, a
> harmless enigma
> that is made terrible by our own mad attempt to interpret it as
> though it had
> an underlying truth."
> -- Umberto Eco
> SciPy-user mailing list
> SciPy-user at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-user