-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ENH: Viz for spatial filters #13332
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
ENH: Viz for spatial filters #13332
Conversation
I'm all for adding nice visualizations for filters/patterns. Suggestion: would a MixedIn pattern make sense here instead of the class you have now? |
Cheers @wmvanvliet! My original thought was to make it usable with external spatial filters (PyRiemann transformers, for example). Does that make sense? If you have an idea how we can work around it with Mixin, I'd be glad to hear |
updates: - [github.com/astral-sh/ruff-pre-commit: v0.12.4 → v0.12.5](astral-sh/ruff-pre-commit@v0.12.4...v0.12.5)
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.
Looks like a good start! Needs some tutorial to show how it's useful though. Bonus points if you can modify some existing example to make it shorter and/or clearer
Co-authored-by: Eric Larson <[email protected]>
@larsoner, I think it's ready for the next round! |
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.
Had a look at CircleCI, and some examples were unchanged (good), and this one looks better (good):
Just a tiny minor things then I think we're good to go!
@larsoner, if you don't have additional comments - it's ready |
Thanks @Genuster ! |
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eric Larson <[email protected]>
What does this implement/fix?
Adds SpatialFilter container for visualisation of filters, patterns and eigenvalues of GED-based algorithms (CSP, SPoC, SSD, XdawnTransformer) and other linear models (LinearModel).