-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* reexport t and D from MTK * add alias for `AbstractNeuronBlox` for brevity * export functions for easier custom blox+connector definitions * add generic spike affect and restructure existing one for LIF neurons * add `system(blox)` to return (simplified) system * option to choose between namespaced or not input equations in getter function * add generic Connector dispatch * add getter functions for spike affect states and params * remove abstract neuron -> neuron Connector dispatch * change values in `spike_affects` to `Vector{Tuple}` instead of `Tuple{Vector,Vector}` * move functional spike affect to `Neurographs.jl` * add generic fallback for discrete callbacks * fix typo * add `weight` argument to `connection_spike_affects` * import & export `outputs` * extend `MTK.outputs` util fuction * remove `output, jcn, voltage` fields, only keep metadata * apply `outputs` function instead of field access * rename `odesystem` field to `system` * wrap `outputs` in `Num` * capitalize voltage state `V` * capitalize all occurences of `v` state * actually capitalize all `v` * try fixing the GD `output` error * actually try fixing the GD test * add `namespaced` kwarg for `outputs` * fix output tag in PING neurons * default to `namespaced=false` for shorter `outputs` return * also expand equations, inputs, unknowns, parameters from MTK to work with blox * use namespaced system in system util funcs
- Loading branch information
Showing
37 changed files
with
243 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ using CairoMakie # due to a bug in CairoMakie, we need to use [email protected] | |
|
||
|
||
@named msn = Striatum_MSN_Adam(I_bg = 1.172*ones(100), σ = 0.11); | ||
sys = structural_simplify(msn.odesystem) | ||
sys = structural_simplify(msn.system) | ||
prob = SDEProblem(sys, [], (0.0, 5500.0), []) | ||
sol = solve(prob, RKMil(); dt=0.05, saveat=0.05) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.