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

Is there a solution for linking threshold units that can do without the spike time parameter? #214

Open
david-hofmann opened this issue Dec 5, 2022 · 0 comments
Assignees

Comments

@david-hofmann
Copy link
Member

In the standard LIF model I have used a parameter for the latest spike time and another one to store spike times. It seems a bit redundant. Can the spike time parameter st be removed and something like strain[end] be used instead?

integ.p[p.st] = integ.t
push!(integ.p[p.strain], integ.t)

The parameter st is used to link neurons like so:
for i = 1:N
nn = LIFneuron(name=Symbol("lif$i"), I_in=I_in[i], τ=τ[i])
push!(nrn_network, nn.odesystem)
push!(nrn_spiketimes, nn.odesystem.st)
end
# connect the neurons
@named syn_net = spikeconnections(sys=nrn_network, psp_amplitude=syn_amp, τ=syn_τ, spiketimes=nrn_spiketimes)

strain[end] wouldn't work, what is the right way to access the latest value of the list given that this is all symbolic?

@david-hofmann david-hofmann self-assigned this Dec 5, 2022
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

1 participant