Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add numba-accelerated refine/locate/batch through engine={auto, python, numba} #49

Merged
merged 12 commits into from
Feb 3, 2014

Conversation

danielballan
Copy link
Member

Overview: refine calls _refine (pure Python) or _refine_numba. refine does the necessary pure-Python prep work for numba. It checks the inputs and raises informatively if they are not compatible with the numba implementation (most importantly, if the image is not 2D).

local_maxima and estimate_mass could be accelerated in a similar way, but since refine takes 95% of the runtime (according to %lprun) we are starting there.

This was referenced Feb 3, 2014
danielballan added a commit that referenced this pull request Feb 3, 2014
Add numba-accelerated refine/locate/batch through engine={auto, python, numba}
@danielballan danielballan merged commit 2632fb8 into soft-matter:master Feb 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants