[SciPy-dev] Should ndimage.measurements.* should return lists if index is a list?

josef.pktd@gmai... josef.pktd@gmai...
Fri May 1 11:07:27 CDT 2009


On Fri, May 1, 2009 at 11:13 AM, Thouis (Ray) Jones
<thouis@broad.mit.edu> wrote:
> 2009/4/19 Stéfan van der Walt <stefan@sun.ac.za>:
>> 2009/4/19  <josef.pktd@gmail.com>:
>>> The long term intention is to rewrite ndimage in cython, but I don't think
>>> this will happen anytime soon.
>>
>> I wish it could, though -- it would save us so much time, and I think
>> it is doable in two months by a dedicated student.  Does anyone have
>> some free time to spare, or some money to pay for a student?
>
> We may have a student this summer that can work on it as a project.
>
> In the meantime, I rewrote ndimage.measurements in pure python/numpy.
> I'm still testing its speed, but I think it will provide a good base
> for a cython version.  I've simplified the code quite a bit.
> Everything goes through a single labeled_reduce function, which
> handles all the label/index interactions without needing any type
> conversions.
>
> The changes are available via git at:
> http://broad.mit.edu/~thouis/scipy.git ndimage_measurements_rewrite
>

I cloned your git repository, but how do I find your changes?
`git log` only shows some old svn.scipy commits. And I didn't find any
other branch hiding inside.

(anything tricky with git and I'm lost)

Josef


More information about the Scipy-dev mailing list