unfoldtoolbox / unfold

A matlab EEG toolbox to perform overlap correction and non-linear & linear regression.
GNU General Public License v3.0
57 stars 14 forks source link

[docu] gifs that explain deconvolution intuitively #72

Open behinger opened 5 years ago

behinger commented 5 years ago

I'm thinking of a series of gifs that explain convolution / deconvolution

  1. Event "spikes" convolved with a simple ERP-like pattern => + add continuous noise

  2. Estimate two ERPs and change overlap (show % overlap for each)

  3. Unfold Estimate in Relation to number of events, compare to ERP (should be more or less identical except shape differences)

olafdimigen commented 5 years ago

Animation: Good idea. But I only see a blank .PNG graphic without content above.

behinger commented 5 years ago

ha! true ok next try: grafik

Should be a bit slower but else I think its fine for 1.

I think I will not add noise to this, but I can already see the slide freezing at the last frame and removing the ERPs and then asking how we can recover it. Then look at 2-3 points at similar \tau and see that the overlap with other trials is different to get an intuition of how deconvolution can potentially work.

The other gifs are still to be made though

behinger commented 5 years ago

New colors & slower grafik

Too large for github... https://benediktehinger.de/upload/unfold_explanation_v2.gif <-- direct link

behinger commented 5 years ago

Next graphic is there :-) Not really as I exactly intended, but this one shows the difference between deconv & no deconv (classic) grafik

olafdimigen commented 5 years ago

nice. some minor suggestions:

animation 1:

animation 2:

behinger commented 5 years ago

yeah the function ranges, I'm still not sure what to do.

The first one is over the whole experiment "70s max", the second one shows that the distance between events is increased (because the number of events is fixed at 50.) I want to add a "zoom-in trichter" then the relationship should become clear. But not sure when I will manag eto do so :D

True response would add yet another panel, I feel I always have too many panels already :-D

Also unfold erp is identical to the true one. Will fix the other things after I finished the nonlinear explanation figure

behinger commented 5 years ago

Non-linear graph. There is still a mistake in the second column, because the true effect is not visible. Overall I find the figure a bit busy,and obviously it is still too fast.

I will drop many of the ticklabels, maybe change the scale between first, and second+third column for the difference I'm also not sure why the mean-response for 2nd + 3rd is so different in magnitude

But okay, my daughter is awake :P no more giffing for now. Thanks for your feedback!

grafik

behinger commented 5 years ago

First one too large again https://benediktehinger.de/upload/unfold_explanation_v3.gif grafik grafik