You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default we have average=False in compute_proj_ecg and compute_proj_eog. But when I was toying with the idea of using Xdawn (which I think might still be a good idea) to compute projectors rather than plain SSP, I found that average=True seemed to always be better than average=False.
Here is the sample data, with four columns: the first two are average=False, the last two are average=True; within those, the left are ECG epochs (to be projected) and the right are auditory epochs (hopefully not contaminated):
Note that the "average=True" does not really make sense for Xdawn because it already uses the average, so the first two and last two columns are the same for Xdawn.
I think we might consider:
1. Changing the default average=False to average=True.
2. Probably unify compute_exg_proj and create_exg_epochs. The former does not use the latter but it probably should.
3. Implement Xdawn as a backend instead of just SSP. Even with average=True it should do better against other noise present in the epochs, especially if that noise is large (yet to be shown).
Activity
agramfort commentedon Apr 20, 2018
larsoner commentedon Apr 22, 2018
I suggest we use a deprecation cycle to get to
average=True, then, for 0.16. The others can be 0.17.agramfort commentedon Apr 22, 2018
cbrnr commentedon Apr 23, 2018
+1 for tackling
average=Truenow and the rest later. But why do you think this is a bug?larsoner commentedon Apr 23, 2018
cbrnr commentedon Apr 23, 2018
So results are wrong if
average=False?larsoner commentedon Apr 23, 2018
cbrnr commentedon Apr 23, 2018
OK, so probably not a bug, but suboptimal parameter settings.
agramfort commentedon Apr 30, 2018
this can be closed right?
massich commentedon Apr 30, 2018
I don't think so (because point 3 is missing), but we can take it off of the 0.16 milestones.
agramfort commentedon Apr 30, 2018
larsoner commentedon Oct 4, 2018
Point (3) is open we just need to decide about whether or not to do it