Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docu] gifs that explain deconvolution intuitively #72

Open
behinger opened this issue Jul 16, 2019 · 8 comments
Open

[docu] gifs that explain deconvolution intuitively #72

behinger opened this issue Jul 16, 2019 · 8 comments

Comments

@behinger
Copy link
Member

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
Copy link
Member

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

@behinger
Copy link
Member Author

behinger commented Jul 17, 2019

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
Copy link
Member Author

behinger commented Jul 18, 2019

New colors & slower
grafik

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

@behinger
Copy link
Member Author

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

@olafdimigen
Copy link
Member

olafdimigen commented Jul 19, 2019

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?

@behinger
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

behinger commented Jul 19, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants