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
FIX: is_surface() for volume source spaces #511
Conversation
@agramfort has successfully instilled a fear in me of merging my own PRs, so I'll actually wait for someone to review before merging :) |
LGTM but maybe we should wait for Jon to get his sample vol.stc file. FYI I came up with the -vl.stc myself (2 chars like lh or rh). |
I sent the vol.stc last night -- did that not come through? As you had guessed, it was produced via mne_sensitivity_map with a volume forward model. The attached jpeg is that same stc file with a .jpg extension, which you may or may not be able to download from https://f.cloud.github.com/assets/857583/249528/bd8468b6-8b2f-11e2-8a5f-d33202bc6449.jpg. The syntax to create the file (in 2.7.4, rev 3394) was: |
@agramfort looks like
This generates the file |
@jhouck I was able to produce a similar sensitivity map using the sample dataset. My PR /should/ allow you to use your files. If you'd like to give it a try, you can do the following in your mne-python directory:
And then install as you normally would. If you could take a crack at it to see if it fixes your issues, that would be helpful. |
@Eric89GXL Sure, I'll give it a shot. |
FIX: is_surface() for volume source spaces
I've updated the build bot with the new test file. Thanks ! |
@jhouck now that it has been merged from master, in case you aren't too familiar with Git, you should be able to do something like:
Then install as usual. |
Addresses issue on mne_analysis listserv. Pending tests passing here, I plan on merging to fix the person's issue since this one's a quick fix.