Skip to content

Commit

Permalink
added LearningRules arguments into GUI.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
helmutstrey committed Dec 20, 2023
1 parent 8d39b7d commit d0e05bc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/gui/GUI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const NUMBER = "number"
const STRING = "string"
const INTEGER = "integer"
const MENU = "menu"
const NODE = "node"

# function arguments(::Type{Neuroblox.Merger})
# OrderedDict(
Expand Down Expand Up @@ -334,6 +335,26 @@ function plotdetail(::Type{Neuroblox.NextGenerationEIBlox})
OrderedDict(:detail => ["aₑ","bₑ","aᵢ","bᵢ"], :nodetail => ["aₑ","bₑ"])
end

function arguments(::Type{Neuroblox.HebbianModulationPlasticity})
OrderedDict(
:K => NCAD(0.2, NUMBER, 0.01, 1.0,[],true),
:decay => NCAD(0.01, NUMBER, 0.001, 1.0,[],true),
:modulator => NCAD("", NODE, 1.0, 100.0,[],true),
:t_pre => NCAD(2.0, NUMBER, 0.1, 10.0,[],true),
:t_post => NCAD(2.0, NUMBER, 0.1, 10.0,[],true),
:t_mod => NCAD(0.7, NUMBER, 0.001, 10.0,[],true)
)
end

function arguments(::Type{Neuroblox.HebbianPlasticity})
OrderedDict(
:K => NCAD(0.2, NUMBER, 0.01, 1.0,[],true),
:W_lim => NCAD(2.0, NUMBER, 0.0, 10.0,[],true),
:t_pre => NCAD(2.0, NUMBER, 0.1, 10.0,[],true),
:t_post => NCAD(2.0, NUMBER, 0.1, 10.0,[],true)
)
end

#TODO: create connector compatible CMC
# function arguments(::Type{Neuroblox.CanonicalMicroCircuitBlox})
# OrderedDict(
Expand Down

0 comments on commit d0e05bc

Please sign in to comment.