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)
larsoner
left a comment
There was a problem hiding this comment.
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 <larson.eric.d@gmail.com>
|
@larsoner, I think it's ready for the next round! |
larsoner
left a comment
There was a problem hiding this comment.
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!
Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
|
@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 <larson.eric.d@gmail.com>
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).