Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Conversation

jhlegarreta
Copy link
Collaborator

Add gradient encoding direction angle computation utils: compute pairwise angles across gradient encoding directions.

Add the corresponding test.

@jhlegarreta
Copy link
Collaborator Author

Need to go through #188 (comment) and incorporate jhlegarreta#1.

@jhlegarreta jhlegarreta force-pushed the AddGradAngleComputationUtils branch 2 times, most recently from 759a5a2 to 9c956bc Compare May 27, 2024 19:47
@jhlegarreta
Copy link
Collaborator Author

Went over @yibeichan's related #188 (comment). For now, assuming it is an ndarray, so no need for the checks.

@jhlegarreta jhlegarreta force-pushed the AddGradAngleComputationUtils branch 3 times, most recently from 98edd37 to d0e6a70 Compare May 27, 2024 19:57
@jhlegarreta jhlegarreta marked this pull request as ready for review May 27, 2024 19:59
@jhlegarreta jhlegarreta force-pushed the AddGradAngleComputationUtils branch 5 times, most recently from dffd7e5 to c39aeb5 Compare May 28, 2024 23:35
@jhlegarreta
Copy link
Collaborator Author

@oesteban ready to be merged.

@jhlegarreta
Copy link
Collaborator Author

@esavary would be great if you could have a quick look. Thanks.

esavary
esavary previously approved these changes May 29, 2024
@esavary
Copy link
Member

esavary commented May 29, 2024

@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.

@esavary esavary requested a review from oesteban May 29, 2024 09:35
Copy link
Member

@oesteban oesteban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions...

@jhlegarreta jhlegarreta force-pushed the AddGradAngleComputationUtils branch from 95aa6b0 to 7446b59 Compare June 1, 2024 16:50
@jhlegarreta jhlegarreta requested a review from oesteban June 1, 2024 17:01
@jhlegarreta
Copy link
Collaborator Author

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.

oesteban
oesteban previously approved these changes Jun 3, 2024
Copy link
Member

@oesteban oesteban left a 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!

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.
@jhlegarreta jhlegarreta force-pushed the AddGradAngleComputationUtils branch from f473a40 to 61c2200 Compare June 3, 2024 12:57
@oesteban oesteban merged commit 2b07b0e into nipreps:main Jun 3, 2024
@jhlegarreta jhlegarreta deleted the AddGradAngleComputationUtils branch June 3, 2024 23:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants