Skip to content

Commit

Permalink
changed noise name
Browse files Browse the repository at this point in the history
  • Loading branch information
aquaresima committed Oct 11, 2024
1 parent d2dd68d commit 8e13e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/background.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ end
function ExcNoise(pop; N_E = 100, ν_E = 20Hz, σ = 1, name = "E")
E = SNN.Poisson(N = N_E, param = SNN.PoissonParameter(rate = ν_E))
exc = SNN.SpikingSynapse(E, pop, :ge, p = 0.2, σ = σ)
synapses = dict2ntuple(Dict(Symbol("exc_$name") => exc))
synapses = dict2ntuple(Dict(Symbol("E_to_$name") => exc))
populations = dict2ntuple(Dict(Symbol("E_$name") => E))
return (syn = synapses, pop = populations)
end
Expand Down

0 comments on commit 8e13e90

Please sign in to comment.