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

Russell E. Owen rowen at u.washington.edu
Mon Jun 29 18:18:44 EDT 2009

In article <4D2B04ED-4612-4244-A8B8-3FF0C8659582 at stsci.edu>,
 Perry Greenfield <perry at 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 

-- Russell

More information about the NumPy-Discussion mailing list