Skip to content

Commit

Permalink
created info_link function in GUI.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
helmutstrey committed Dec 20, 2023
1 parent d8ecdbd commit 7a2eb07
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/gui/GUI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -343,21 +343,27 @@ function arguments(::Type{Neuroblox.HebbianModulationPlasticity})
: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),
:link => NCAD("https://www.neuroblox.org", LINK, 0.0, 0.0,[],false)
:t_mod => NCAD(0.7, NUMBER, 0.001, 10.0,[],true)
)
end

function info_link(::Type{Neuroblox.HebbianModulationPlasticity})
Dict(:link => "https://www.neuroblox.org")
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),
:link => NCAD("https://www.neuroblox.org", LINK, 0.0, 0.0,[],false)
:t_post => NCAD(2.0, NUMBER, 0.1, 10.0,[],true)
)
end

function info_link(::Type{Neuroblox.HebbianPlasticity})
Dict(:link => "https://www.neuroblox.org")
end

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

0 comments on commit 7a2eb07

Please sign in to comment.