Skip to content

First pass at get_decimated_surfaces#10421

Merged
larsoner merged 12 commits intomne-tools:mainfrom
jbteves:add_get_decimated_surfaces
Mar 8, 2022
Merged

First pass at get_decimated_surfaces#10421
larsoner merged 12 commits intomne-tools:mainfrom
jbteves:add_get_decimated_surfaces

Conversation

@jbteves
Copy link
Copy Markdown
Contributor

@jbteves jbteves commented Mar 7, 2022

Modifed slightly from this gist:
https://gist.github.com/jbteves/384bfdd3777190f59620c3d988a314fd

Thanks for contributing a pull request! Please make sure you have read the
contribution guidelines
before submitting.

Please be aware that we are a loose team of volunteers so patience is
necessary. Assistance handling other issues is very welcome. We value
all user contributions, no matter how minor they are. If we are slow to
review, either the pull request needs some benchmarking, tinkering,
convincing, etc. or more likely the reviewers are simply busy. In either
case, we ask for your understanding during the review process.

Again, thanks for contributing!

Reference issue

Example: partially closes #9286

What does this implement/fix?

Adds a function that gets the decimated subsurface from a SourceSpaces object.

Additional information

Draft: left some notes in-code for parts I'm unsure of. Appears to work with a local test, but not sure how to integrate an automated test for the maintainer's preference (reference data set? Generate synthetic surfaces and ensure that the result is correct?)

@larsoner
Copy link
Copy Markdown
Member

larsoner commented Mar 8, 2022

@jbteves can you look and see if what I did makes sense and still works for you?

If it's good to go, feel free to add a line to doc/changes/latest.inc and mark it ready for review!

@larsoner larsoner added this to the 1.0 milestone Mar 8, 2022
@larsoner
Copy link
Copy Markdown
Member

larsoner commented Mar 8, 2022

The sphinx windows failure is due to sphinx-gallery/sphinx-gallery#904 . I think we can ignore it for now...

@jbteves jbteves marked this pull request as ready for review March 8, 2022 18:02
@jbteves
Copy link
Copy Markdown
Contributor Author

jbteves commented Mar 8, 2022

Thanks @larsoner ! This makes sense and looks much more efficient, I just did a quick solution for a proof of concept so that's much better.

Copy link
Copy Markdown
Member

@agramfort agramfort left a comment

Choose a reason for hiding this comment

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

@agramfort
Copy link
Copy Markdown
Member

@larsoner merge if happy

@larsoner larsoner merged commit 5704330 into mne-tools:main Mar 8, 2022
@larsoner
Copy link
Copy Markdown
Member

larsoner commented Mar 8, 2022

Thanks @jbteves !

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.

ENH: Add GIfTI output for STC

3 participants