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

Base functions able to process ndarray of SPD matrices #186

Merged
merged 4 commits into from Jul 9, 2022

Conversation

qbarthelemy
Copy link
Member

@qbarthelemy qbarthelemy commented Jul 8, 2022

This PR improves base functions to process ndarray of SPD matrices, and completes tests.

This modification will allow to remove many for-loops from code,
providing simpler and faster (using numpy broadcasting) functions (WIP).

pyriemann/utils/base.py Outdated Show resolved Hide resolved
pyriemann/utils/base.py Outdated Show resolved Hide resolved
@agramfort
Copy link
Member

agramfort commented Jul 8, 2022 via email

@qbarthelemy
Copy link
Member Author

Comparison on 10 sets of 100 matrices, repeated 50 times.
pr_186
Thx for this good idea!

qbarthelemy and others added 3 commits July 8, 2022 23:19
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
@agramfort agramfort merged commit 1d376b6 into pyRiemann:master Jul 9, 2022
@agramfort
Copy link
Member

thx @qbarthelemy !

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