Repository navigation
[MRG] Epoch rejection by annotations. - #2821
Conversation
There was a problem hiding this comment.
name suggests function returns a bool
There was a problem hiding this comment.
can you write a docstring to better understand what it should be doing?
|
let me know when you have tests |
|
also, don't forget the documentation. I think you promised to add it in this PR |
There was a problem hiding this comment.
could you document the parameters too? Even with private functions, it's convenient to have full documentation.
|
Where has this one actually gone? Any blockers here? |
Probably not anymore, except the contamination at 300ms in the standard case. |
|
I'm happy to join/ take a look with you. Ping me when you resume / want to look into it together. |
8cbf37a to
44550e8
Compare
|
How do I update the bst dataset? I need to add transformation and inner-skull files to the dataset. |
|
Now you bother @dengemann :) But really you can put the file somewhere he or I can upload it for you |
|
Okay. I shared them in google drive with you guys. Trans file should go to 'MEG/bst_auditory' and inner-skull to 'bem' folder for it to work without any modifications to the code. |
|
Thanks. Received. |
|
is this MRG? can you see why travis is not happy? |
|
There was some |
|
Changes Unknown when pulling 3167856 on jaeilepp:epoch-rejection into * on mne-tools:master*. |
3167856 to
4bcd024
Compare
|
Now this is basically ready, but the tutorial takes a really long time to run. Especially |
|
how long does it take? |
| @@ -0,0 +1,16 @@ | |||
|
|
|||
| Annotations | |||
| ########### | |||
There was a problem hiding this comment.
did you insert this file somewhere in the doc?
The whole thing takes around 15 mins on my computer. |
I'm -1 on adding that much time to the doc building process. Can we somehow have the example or tutorial but not make it take so long to build the doc? |
|
we discussed IRL and agreed that we'll keep the forward / inverse code in
the tutorial but will disable it with a bool flag so it does not run by
default. To make it run just download the notebook yourself and set the
flag to true and run all
|
|
Perhaps we could also add the BEM to the dataset so that when it is run, people don't necessarily have to re-run that bit of code. So something like this: by default might already be good enough. Would that cut it down e.g. from 15 to 2 minutes, or is the BEM not a large majority of the time? |
|
this example seems to require a lot of memory (more than 5GB of RAM on my machine). can we do better? |
I'm not sure. The data is filtered and that means it needs to be preloaded. The files are quite big and I'm thinking that maybe this shouldn't be run when building docs. Perhaps just a static web page? |
|
Can you crop before loading data?
|
|
We decided to go for not preloading the data and filter at the evoked stage. We also decided that we can have a 'memory saving' flag, which means that all the heavy computation is done beforehand and read from files. The computation of eog projections also needs preloaded data, but maybe we can live without and only do it when memory saving is turned off |
721aa4a to
045abeb
Compare
|
travis is related to file download we're good here. nice work @jaeilepp ! |
|
merge by rebase |
The annotation descriptions are also visible in
raw.plot.