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
An equivalent of evoked.plot_white() for raw data would be very useful for people who want to compare whitening methods for raw data (e.g. resting state) or empty room data.
You could have whitening_cov=None or cov=None and if they pass one in, then you whiten the selected channels (and use an appropriate scale for them). But maybe it's not quite as nice because then the scale would be difficult to see.
Come to think of it, we could create a new type of raw plot that is a butterfly plot like evoked.plot() but with scroll interactivity. Maybe that would work better.
to be consistent it could be a
raw.plot_white function.
and I am thinking that we could improve our raw data viewer to toggle
between butterfly plots and current approach
Such a "butterfly" option (with -1/+1 range highlighted) would be great. It would help identify data segments for which the whitening doesn't work well.
Alternatively, it could be like the current raw.plot() function, but with an added GFP channel. If one can identify individual channels, this might help with artefact or bad channel detection.
and I am thinking that we could improve our raw data viewer to toggle between butterfly plots and current approach
Actually I don't think this would be too terribly difficult. That's 1) change ylabels, 2) change all offsets to be 0, and 3) change scale, I think.
So the API changes would be:
Add raw.plot(..., mode='butterfly')
Add raw.plot(..., cov=None)
Add raw.plot_white(cov) which just wraps to raw.plot(..., cov=None, mode='butterfly')
I think I'd rather omit step (3) and just reference raw.plot in evoked.plot_white. Maybe there is a similar way to change evoked.plot to work like evoked.plot_white, and deprecate evoked.plot_white?
On Mon, Feb 20, 2017 at 10:27 PM Eric Larson ***@***.***> wrote:
and I am thinking that we could improve our raw data viewer to toggle
between butterfly plots and current approach
Actually I don't think this would be too terribly difficult. That's 1)
change ylabels, 2) change all offsets to be 0, and 3) change scale, I
think.
So the API changes would be:
1. Add raw.plot(..., mode='butterfly')
2. Add raw.plot(..., cov=None)
3. Add raw.plot_white(cov) which just wraps to raw.plot(..., cov=None,
mode='butterfly')
I think I'd rather omit step (3) and just reference raw.plot in
evoked.plot_white. Maybe there is a similar way to change evoked.plot to
work like evoked.plot_white, and deprecate evoked.plot_white?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3926 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB0fihWZjab4e6Rhmszyp90puM9oFCtvks5regU1gaJpZM4Lq85->
.
Activity
larsoner commentedon Jan 23, 2017
agramfort commentedon Jan 23, 2017
larsoner commentedon Jan 23, 2017
You could have
whitening_cov=Noneorcov=Noneand if they pass one in, then you whiten the selected channels (and use an appropriate scale for them). But maybe it's not quite as nice because then the scale would be difficult to see.Come to think of it, we could create a new type of raw plot that is a butterfly plot like
evoked.plot()but with scroll interactivity. Maybe that would work better.agramfort commentedon Jan 23, 2017
olafhauk commentedon Jan 23, 2017
Such a "butterfly" option (with -1/+1 range highlighted) would be great. It would help identify data segments for which the whitening doesn't work well.
Alternatively, it could be like the current raw.plot() function, but with an added GFP channel. If one can identify individual channels, this might help with artefact or bad channel detection.
larsoner commentedon Feb 20, 2017
Actually I don't think this would be too terribly difficult. That's 1) change ylabels, 2) change all offsets to be
0, and 3) change scale, I think.So the API changes would be:
raw.plot(..., mode='butterfly')raw.plot(..., cov=None)raw.plot_white(cov)which just wraps toraw.plot(..., cov=None, mode='butterfly')I think I'd rather omit step (3) and just reference
raw.plotinevoked.plot_white. Maybe there is a similar way to changeevoked.plotto work likeevoked.plot_white, and deprecateevoked.plot_white?dengemann commentedon Feb 20, 2017
agramfort commentedon Feb 21, 2017