-
Notifications
You must be signed in to change notification settings - Fork 16
ENH: Add gradient encoding direction angle computation utils #200
ENH: Add gradient encoding direction angle computation utils #200
Conversation
Need to go through #188 (comment) and incorporate jhlegarreta#1. |
759a5a2
to
9c956bc
Compare
Went over @yibeichan's related #188 (comment). For now, assuming it is an ndarray, so no need for the checks. |
98edd37
to
d0e6a70
Compare
dffd7e5
to
c39aeb5
Compare
@oesteban ready to be merged. |
@esavary would be great if you could have a quick look. Thanks. |
I made a few comments on your questions inside the code, but it looks ready to merge to me. |
c39aeb5
to
95aa6b0
Compare
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.
Some suggestions...
95aa6b0
to
7446b59
Compare
Left the v1, v2 angle computation method in case we need it. I'd merged this as is so that we can see with Elodie if we manage to use the index-based loo framework. |
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.
Suggesting some doctests, otherwise looks good!
7446b59
to
f473a40
Compare
Add gradient encoding direction angle computation utils: compute pairwise angles across gradient encoding directions. Add the corresponding test. Add the corresponding entry to the doc toctree.
Use appropriate object in numpy array parameter docstring.
f473a40
to
61c2200
Compare
Add gradient encoding direction angle computation utils: compute pairwise angles across gradient encoding directions.
Add the corresponding test.