unfold icon indicating copy to clipboard operation
unfold copied to clipboard

[docu] gifs that explain deconvolution intuitively

Open behinger opened this issue 6 years ago • 8 comments

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)

behinger avatar Jul 16 '19 20:07 behinger

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

olafdimigen avatar Jul 17 '19 11:07 olafdimigen

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 avatar Jul 17 '19 12:07 behinger

New colors & slower grafik

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

behinger avatar Jul 18 '19 12:07 behinger

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

behinger avatar Jul 18 '19 19:07 behinger

nice. some minor suggestions:

animation 1:

  • minor layout: remove spatial overlap between FIR sticks and true response (just make sticks shorter?)

animation 2:

  • rename "classic ERP" to "simple averaging" or just "averaging"?
  • the two stick function time ranges on top are not intuitive. why are the latencies of the "early" events/stick functions changing as the number of observations increases?
  • classic ERP needs a bit more y-axis, I am getting a mild case of axis cut-off anxiety
  • show true responses to be able to see what differences is expected between clue and orange?

olafdimigen avatar Jul 19 '19 09:07 olafdimigen

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 avatar Jul 19 '19 09:07 behinger

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 avatar Jul 19 '19 10:07 behinger

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

behinger avatar Jul 19 '19 22:07 behinger