Repository navigation
[MRG] Update brainstorm examples/tutorials to use ctf files rather than fif versions - #5628
Conversation
|
Just a note the bst_resting dataset needs a trans file - see #4184 |
|
Thx @bloyl I'll get all the help I can get on this one. Feel free to update the description and put all the examples that you think need translation. |
|
Whatever I did in 5fc5c08 will not work. It does not make sense. The original example is somato dataset but I cannot find it. Not in https://neuroimage.usc.edu/brainstorm/Tutorials, neither in our codebase: mne-python/mne/datasets/utils.py Lines 247 to 252 in 6ec7728 plus, the recording dates do not match at all. One is ping @jasmainak any ideas? |
|
On the MNE side this fif file is in On the brainstorm side the ds file is in the sample_raw.zip brainstorm dataset. |
| reject = dict(mag=4e-12, eog=250e-6) | ||
|
|
||
| data_path = bst_raw.data_path() | ||
| data_path = bst_auditory.data_path() |
There was a problem hiding this comment.
Try:
http://neuroimage.usc.edu/bst/getupdate.php?u=mne&s=sample_auditory
http://neuroimage.usc.edu/bst/getupdate.php?u=mne&s=sample_raw
etc.
There was a problem hiding this comment.
the second is the file. Thx.
|
@massich we ran the Brainstorm files through the scripts here: https://github.com/mne-tools/mne-scripts/blob/master/brainstorm/run_freesurfer_recon.sh as far as I remember |
|
|
||
| import mne | ||
| from mne.datasets.brainstorm import bst_raw | ||
| from mne.datasets.brainstorm import bst_auditory |
There was a problem hiding this comment.
this is not the objective.
the objective is not to use the auditory data but you replace on OSF the bst_raw with an archive that contains the original CTF files
There was a problem hiding this comment.
yes the file should be sample_raw and make new version of bst_raw
|
@bloyl wants to make some progress on this so I'm going to try to package some data and push some commits to move this forward |
ctf files rather than fif versionsctf files rather than fif versions
Codecov Report
@@ Coverage Diff @@
## master #5628 +/- ##
==========================================
- Coverage 88.44% 79.17% -9.27%
==========================================
Files 363 368 +5
Lines 68236 68874 +638
Branches 11528 11615 +87
==========================================
- Hits 60352 54532 -5820
- Misses 5043 11720 +6677
+ Partials 2841 2622 -219 |
|
Okay should be good to go. I updated to CTF but did not do the trans+bem+src for the |
|
Okay I'll merge so that other PRs can move forward with the new data |
Datasets that need to be updated:
bst_raw-> dsbst_resting-> dsbst_restingtrans filebst_restingBEM and src (only structural dep)Examples that need translation:
@mne-tools/contributors feel free to update list
Closes #4184.