-
Notifications
You must be signed in to change notification settings - Fork 221
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
biexp synapse documentation not matching implementation? #1179
Comments
Hi Felix. I'm a bit confused, but where do you see the description in the documentation? In Brian 2, this function does not exist any more, so we only mention it in the conversion guide where we don't show the actual equation. In the Brian 1 documentation it mentions that the equation is valid "up to a normalizing factor". The model used by Brian makes sure that the peak equals 1. Now, I agree I would not have expected that the equation gives a negative curve, even though strictly speaking it does not make the statement incorrect (the normalizing factor could be negative...). But then again, I don't see where in the Brian 2 documentation we mention anything like this, so where would the documentation have to be corrected? |
Hi Marcel, thanks for the speedy reply! Oh, I see, I must admit I didn't pay attention to the version I'm looking at. You're right, one of the references I mention is from Brian 1. I got the idea of using biexponential synapses from the Brian 2 documentation here https://brian2.readthedocs.io/en/stable/user/converting_from_integrated_form.html and it still seems to mention the equation for V(t), maybe a pointer to the missing normalization factor could be helpful here. Thanks also for the reference to the Brian 1 documentation, that clears up things for me a lot! |
Oh, I did not think of this page! I guess one could say its equation for V(t) is not wrong but simply a bit vague, given that it does not refer to the initial value V(0) (or |
Thanks @wilhelmbraun, this looks great! |
If anyone is up for updating the documentation: pull requests welcome 😄 |
Hello. @mstimberg, can I try it? |
Sure, please go ahead. |
Just to be sure, I have to replace the existing biexponential synapse equation to the one provided by @wilhelmbraun ? |
Hi Syed,
the point is that the function g(t) as defined in my post reflects the
implementation currently given in the documentation (Felix also
mentioned it in his original post). So the setup is correct, if one
considers the right g.
Best, Wilhelm
…On 2020-04-13 6:08 p.m., Syed Osama Hussain wrote:
Just to be sure, I have to replace the existing biexponential synapse
equation to the one provided by @wilhelmbraun
<https://github.com/wilhelmbraun> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1179 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIIBZ4X25UPYDQ3HFVGWHTRMM2I5ANCNFSM4MCKQESA>.
|
Thanks for the explanation! |
A biexponential synapse, as per the Brian 2 documentation, should implement a current/conductance as
g(t)=(tau2/(tau2-tau1))*(exp(-t/tau1)-exp(-t/tau2))
.When playing around with the biexponential synapse concept, I found that maybe the above description might need to be updated. Consider
which gives
I expected to see identical curves.
Note that it doesn't simply seem to be a matter of a missing minus sign as the amplitudes also don't seem to match. Any thoughts on this? Am I missing something? Thanks!
The text was updated successfully, but these errors were encountered: