Skip to content

[MRG, ENH] Change the sEEG tutorial to support new data#9478

Merged
larsoner merged 12 commits intomne-tools:mainfrom
alexrockhill:new_data
Jun 16, 2021
Merged

[MRG, ENH] Change the sEEG tutorial to support new data#9478
larsoner merged 12 commits intomne-tools:mainfrom
alexrockhill:new_data

Conversation

@alexrockhill
Copy link
Copy Markdown
Contributor

Address new data in mne-tools/mne-misc-data#5.

Ok, there is a bit of an issue with the coordinate transforms that I am still working out, but I think everything otherwise is okay.

@alexrockhill alexrockhill changed the title [WIP, ENH] Change the sEEG tutorial to support new data [MRG, ENH] Change the sEEG tutorial to support new data Jun 15, 2021
@alexrockhill
Copy link
Copy Markdown
Contributor Author

Ok this should be good to go once the CIs pass!

@alexrockhill
Copy link
Copy Markdown
Contributor Author

@drammock
Copy link
Copy Markdown
Member

this part is not formatted right:
Screenshot_2021-06-15 Working with sEEG data — MNE 0 24 dev0 documentation

@alexrockhill
Copy link
Copy Markdown
Contributor Author

this part is not formatted right:
Screenshot_2021-06-15 Working with sEEG data — MNE 0 24 dev0 documentation

Good catch! I was too focused on the plots turning out alright.

@alexrockhill
Copy link
Copy Markdown
Contributor Author

Ok fixed the note and my other note that I modeled it off that was also a mistake... oops

https://29569-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/clinical/20_seeg.html?highlight=seeg

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.

besides LGTM

thx @alexrockhill


print(__doc__)

np.set_printoptions(suppress=True) # suppress scientific notation
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is this really necessary?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm okay with having this, but we need to update reset_warnings to np.set_printoptions to whatever they are when conf.py is initially loaded (which can be obtained before any examples are run directly in conf.py using get_printoptions presumably)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have a hard time understanding the affines in scientific notation. I'm not sure what you mean @larsoner, is that just like putting it back at the end?

Also that's how nibabel does it and it looks nice.

@larsoner
Copy link
Copy Markdown
Member

I'll push a quick commit

@alexrockhill
Copy link
Copy Markdown
Contributor Author

Well I get what you did I think but I'm definitely glad you did it :) Thanks

@larsoner larsoner merged commit f546078 into mne-tools:main Jun 16, 2021
@larsoner
Copy link
Copy Markdown
Member

Go go go @alexrockhill !

@alexrockhill alexrockhill deleted the new_data branch June 16, 2021 20:44
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.

4 participants