Eric Firing wrote:
> Jeff Whitaker wrote:
>> Armin Moser wrote:
>>> Jeff Whitaker wrote:
>>>  
>>>> Armin Moser wrote:
>>>>    
>>>>> Hi,
>>>>>
>>>>> I would like to interpolate an array of shape (801,676) to regularily
>>>>> spaced datapoints using griddata. This interpolation is quick if the
>>>>> (x,y) supporting points are computed as X,Y = meshgrid(x,y). If this
>>>>> condition is not fullfilled the delaunay triangulation is extremely
>>>>> slow, i.e. not useable. Is this a known property of the used
>>>>> triangulation? The triangulation can be performed with matlab without
>>>>> any problems.
>>>>>
>>>>> Armin
>>>>>         
>>>> Armin:  You could try installing the natgrid toolkit and see if that
>>>> speeds up griddata at all.  If not, please post a test script with data
>>>> and maybe we can figure out what is going on.
>>>>     
>>> I have already tried natgrid and it didn't improve the situation. As
>>> suggested I append a script demonstrating the problem.
>>>
>>> Thanks
>>> Armin
>>>   
>>
>> Armin:  On my mac, your two benchmarks take 15 and 14 seconds.  Do you
>> consider that too slow?
> 
> I got 10 s and 8 s on my Thinkpad--but that was without natgrid.  When I
> installed natgrid, the benchmark was taking so long I killed the window.
Thats the behaviour I observed (on Windows and Linux) with and without
natgrid. I'm very puzzled at the moment.

Thanks a lot
Armin

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to