-
Notifications
You must be signed in to change notification settings - Fork 429
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
Increased PTT performances #2875
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #2875 +/- ##
=======================================
Coverage 81.48% 81.48%
=======================================
Files 144 144
Lines 20062 20062
Branches 3194 3194
=======================================
+ Hits 16347 16348 +1
Misses 2907 2907
+ Partials 808 807 -1 |
@skoudoro @Garyfallidis I had to modify the |
I am ok, with that only for fast_numpy module. In parallel, we need to figure out a way to add unit test for cdef functions |
Can you comment then instead or deleting them for now ? |
This is ready for review. Further improvements will come in another PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @gabknight,
I am going ahead and merge this PR. Looks good to me.
cythonized
find_closest(.)
fromdipy.core.shpere
todipy.direction.pmf
optimized
pmf.get_pmf_value(.)
: only interpolated the direction of interest instead of the whole pmf.improved cython code in
dipy.direction.ptt_direction_getter.pyx
On my tests on the disco dataset, the performances improved by 5X.