[Numpy-discussion] Advice on converting Numarray C extension?

Russell E. Owen rowen@u.washington....
Mon Jun 29 17:18:44 CDT 2009


In article <4D2B04ED-4612-4244-A8B8-3FF0C8659582@stsci.edu>,
 Perry Greenfield <perry@stsci.edu> wrote:

> Hi Russell,
> 
> Have you looked at the example in our interactive data analysis  
> tutorial where we compute radial profiles in Python? It's not as fast  
> as C because of the sort, but perhaps that's fast enough for your  
> purposes. I wasn't sure if you had already seen that approach or not.  
> (I think it is in the 3rd chapter, but I can look it up if you need me  
> to).

I have not seen this. I'll give it a look. Thanks! But I suspect the 
sort will add unacceptable overhead because this radial profile is 
computed as part of an iteration (to find the point of maximum radial 
symmetry).

-- Russell



More information about the Numpy-discussion mailing list