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

TsodyksMarkramSynapse broken #42

Open
neworderofjamie opened this issue Sep 18, 2019 · 3 comments
Open

TsodyksMarkramSynapse broken #42

neworderofjamie opened this issue Sep 18, 2019 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@neworderofjamie
Copy link
Contributor

Like with the GIF neuron, whether the various functions of this model are activated is indicated by setting their time constants to zero. However, currently the model uses a static code string which results in divide by zeros. The same dynamic code generation approach used on the GIF neuron needs to be applied here (will also make, for example, purely depressing synapses much more efficient)

@neworderofjamie neworderofjamie added bug Something isn't working good first issue Good for newcomers labels Sep 18, 2019
@alishdipani
Copy link
Contributor

@neworderofjamie could you provide an example for this issue?

@neworderofjamie
Copy link
Contributor Author

neworderofjamie commented Apr 20, 2020

You can reproduce this issue using the official example (modified to disable the recording of "gsyn_inh" because of #16) which results in a figure like:
tsodyksmarkram_pynn_genn
It would be good to verify the correctness of the facilitating case by installing NEST and overlaying the plots, but the "depressing" case is definitely broken. The reason for this is that the facilitation mechanism gets turned off by tau_facil=0 which causes a divide by zero here. The solution is to employ a simpler version of the strategy used by the GIF neuron to customize the model based on its parameters.

@alishdipani
Copy link
Contributor

Thank you for this. I'll get back with the results for verification soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants