From 6ffcf3354aa9faec4bdd5ec06a94ef8a4f6a6bab Mon Sep 17 00:00:00 2001 From: harisorgn Date: Sat, 11 Jan 2025 15:06:51 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20cc3a6?= =?UTF-8?q?6445a5fbb1466e3d7be0f83141af6842a69=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CS_circuit/code/output/cort_asc_stack.svg | 190 +- .../CS_circuit/code/output/cort_meanfield.svg | 162 +- .../CS_circuit/code/output/cort_power.svg | 378 +- .../CS_circuit/code/output/cort_stack.svg | 212 +- .../CS_circuit/code/output/wta_stack.svg | 102 +- .../CS_circuit/code/output/wta_wta_stack.svg | 114 +- .../blox_connections/code/output/ex6.res | 2 +- assets/pages/learning/code/output/adj_RL.svg | 7378 ++++++++--------- .../pages/learning/code/output/adj_open.svg | 5344 ++++++------ assets/pages/learning/code/output/ex3.out | 92 +- assets/pages/learning/code/output/ex3.res | 2 +- notebooks/neuron_mass.ipynb | 2 +- pages/blox_connections/index.html | 2 +- pages/learning/index.html | 94 +- 14 files changed, 7041 insertions(+), 7033 deletions(-) diff --git a/assets/pages/CS_circuit/code/output/cort_asc_stack.svg b/assets/pages/CS_circuit/code/output/cort_asc_stack.svg index 0bdcdc0..f709387 100644 --- a/assets/pages/CS_circuit/code/output/cort_asc_stack.svg +++ b/assets/pages/CS_circuit/code/output/cort_asc_stack.svg @@ -2,66 +2,66 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -72,127 +72,127 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/pages/CS_circuit/code/output/cort_meanfield.svg b/assets/pages/CS_circuit/code/output/cort_meanfield.svg index 4efd7fe..cf7d4a6 100644 --- a/assets/pages/CS_circuit/code/output/cort_meanfield.svg +++ b/assets/pages/CS_circuit/code/output/cort_meanfield.svg @@ -2,107 +2,101 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - + - + - + - + - + @@ -112,130 +106,130 @@ - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + diff --git a/assets/pages/CS_circuit/code/output/cort_power.svg b/assets/pages/CS_circuit/code/output/cort_power.svg index ca1291f..be66c00 100644 --- a/assets/pages/CS_circuit/code/output/cort_power.svg +++ b/assets/pages/CS_circuit/code/output/cort_power.svg @@ -2,390 +2,416 @@ - + - + - + - + - - + + - + - - - + - - + + - + - - - - - + + - - + + - + - + - - + - + - - + + - - + + - + - + + + + - - + + - - + + - + - + - + - - - - - - - - + + - - + + - + - + - - - - + - + - + - + - + - + - + - + - + - + - + + + + - + - + - + - + - + + + + + + + + + + + + + + + + + + + - + - + - - + + + + + - - + + - - + + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - + - + - + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/assets/pages/CS_circuit/code/output/cort_stack.svg b/assets/pages/CS_circuit/code/output/cort_stack.svg index f779fa1..e80ee85 100644 --- a/assets/pages/CS_circuit/code/output/cort_stack.svg +++ b/assets/pages/CS_circuit/code/output/cort_stack.svg @@ -2,66 +2,66 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -72,138 +72,138 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/pages/CS_circuit/code/output/wta_stack.svg b/assets/pages/CS_circuit/code/output/wta_stack.svg index 3e3478a..c31bdf3 100644 --- a/assets/pages/CS_circuit/code/output/wta_stack.svg +++ b/assets/pages/CS_circuit/code/output/wta_stack.svg @@ -2,66 +2,66 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -72,83 +72,83 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - + + + + + + diff --git a/assets/pages/CS_circuit/code/output/wta_wta_stack.svg b/assets/pages/CS_circuit/code/output/wta_wta_stack.svg index 8521511..4bbae2c 100644 --- a/assets/pages/CS_circuit/code/output/wta_wta_stack.svg +++ b/assets/pages/CS_circuit/code/output/wta_wta_stack.svg @@ -2,66 +2,66 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -72,89 +72,89 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/assets/pages/blox_connections/code/output/ex6.res b/assets/pages/blox_connections/code/output/ex6.res index 695d560..30c269c 100644 --- a/assets/pages/blox_connections/code/output/ex6.res +++ b/assets/pages/blox_connections/code/output/ex6.res @@ -1,4 +1,4 @@ -Main.FD_SANDBOX_15604780526313532720.IzhNeuron(ModelingToolkit.ODESystem(0x0000000000001ff0, Symbolics.Equation[Differential(t)(V(t)) ~ 145 + jcn - u(t) + 5V(t) + 0.04(V(t)^2), Differential(t)(u(t)) ~ a*(-u(t) + b*V(t))], t, SymbolicUtils.BasicSymbolic{Real}[V(t), u(t), jcn], SymbolicUtils.BasicSymbolic{Real}[a, b, V_reset, d, θ], nothing, Dict{Any, Any}(:a => a, :b => b, :d => d, :V => V(t), :jcn => jcn, :u => u(t), :θ => θ, :V_reset => V_reset), Any[], Symbolics.Equation[], Base.RefValue{Vector{Symbolics.Num}}(Symbolics.Num[]), Base.RefValue{Any}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Any}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Matrix{Symbolics.Num}}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Matrix{Symbolics.Num}}(Matrix{Symbolics.Num}(undef, 0, 0)), :izh, "", ModelingToolkit.ODESystem[], Dict{Any, Any}(a => 0.02, V_reset => -50, d => 2, u(t) => -13, V(t) => -65.0, b => 0.2, θ => 30), Dict{Any, Any}(), nothing, nothing, Symbolics.Equation[], nothing, nothing, nothing, ModelingToolkit.SymbolicContinuousCallback[], ModelingToolkit.SymbolicDiscreteCallback[condition: V(t) > θ +Main.FD_SANDBOX_15604780526313532720.IzhNeuron(ModelingToolkit.ODESystem(0x0000000000001fd8, Symbolics.Equation[Differential(t)(V(t)) ~ 145 + jcn - u(t) + 5V(t) + 0.04(V(t)^2), Differential(t)(u(t)) ~ a*(-u(t) + b*V(t))], t, SymbolicUtils.BasicSymbolic{Real}[V(t), u(t), jcn], SymbolicUtils.BasicSymbolic{Real}[a, b, V_reset, d, θ], nothing, Dict{Any, Any}(:a => a, :b => b, :d => d, :V => V(t), :jcn => jcn, :u => u(t), :θ => θ, :V_reset => V_reset), Any[], Symbolics.Equation[], Base.RefValue{Vector{Symbolics.Num}}(Symbolics.Num[]), Base.RefValue{Any}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Any}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Matrix{Symbolics.Num}}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Matrix{Symbolics.Num}}(Matrix{Symbolics.Num}(undef, 0, 0)), :izh, "", ModelingToolkit.ODESystem[], Dict{Any, Any}(a => 0.02, V_reset => -50, d => 2, u(t) => -13, V(t) => -65.0, b => 0.2, θ => 30), Dict{Any, Any}(), nothing, nothing, Symbolics.Equation[], nothing, nothing, nothing, ModelingToolkit.SymbolicContinuousCallback[], ModelingToolkit.SymbolicDiscreteCallback[condition: V(t) > θ affects: u(t) ~ d + u(t) V(t) ~ V_reset diff --git a/assets/pages/learning/code/output/adj_RL.svg b/assets/pages/learning/code/output/adj_RL.svg index d0b9bb5..38374cd 100644 --- a/assets/pages/learning/code/output/adj_RL.svg +++ b/assets/pages/learning/code/output/adj_RL.svg @@ -2,2223 +2,2223 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -2227,4168 +2227,4166 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + - - + - + + - - + - - - - - + + + + - - + + + @@ -6397,35 +6395,34 @@ - - - + + - - - - + + + + + - - - - + + + - - - - - + + + + + - - - - + + + + @@ -6434,78 +6431,79 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + - - + - - + @@ -6513,21 +6511,26 @@ + - + - + + + + + @@ -6538,20 +6541,16 @@ - - - - @@ -6559,23 +6558,20 @@ - - - + - - + @@ -6588,4165 +6584,4163 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + - - + - + + - - + - - - - - + + + + - - + + + @@ -10755,35 +10749,34 @@ - - - + + - - - - + + + + + - - - - + + + - - - - - + + + + + - - - - + + + + @@ -10792,78 +10785,79 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + - - + - - + @@ -10871,21 +10865,26 @@ + - + - + + + + + @@ -10896,20 +10895,16 @@ - - - - @@ -10917,23 +10912,20 @@ - - - + - - + diff --git a/assets/pages/learning/code/output/adj_open.svg b/assets/pages/learning/code/output/adj_open.svg index bc64a7c..45f558e 100644 --- a/assets/pages/learning/code/output/adj_open.svg +++ b/assets/pages/learning/code/output/adj_open.svg @@ -2,1628 +2,1628 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1632,3116 +1632,3114 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + - - - + + + - + - - - + + - - + + @@ -4749,25 +4747,26 @@ - + - - + + + - - + + - - - + + + - - + + @@ -4776,22 +4775,23 @@ + + + - - + - - + @@ -4799,21 +4799,26 @@ + - + - + + + + + @@ -4824,20 +4829,16 @@ - - - - @@ -4845,23 +4846,20 @@ - - - + - - + @@ -4870,3110 +4868,3108 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + - - - + + + - - + + - - - + + - - + + @@ -7981,25 +7977,26 @@ - - + + - - + + + - - + + - - - + + + - - + + @@ -8008,22 +8005,23 @@ + + + - - + - - + @@ -8031,21 +8029,26 @@ + - + - + + + + + @@ -8056,20 +8059,16 @@ - - - - @@ -8077,23 +8076,20 @@ - - - + - - + diff --git a/assets/pages/learning/code/output/ex3.out b/assets/pages/learning/code/output/ex3.out index 0f03c9b..195fe8d 100644 --- a/assets/pages/learning/code/output/ex3.out +++ b/assets/pages/learning/code/output/ex3.out @@ -1,100 +1,100 @@ Trial = 1, Category choice = 1, Response = False -Trial = 2, Category choice = 1, Response = Correct +Trial = 2, Category choice = 2, Response = False Trial = 3, Category choice = 1, Response = Correct Trial = 4, Category choice = 1, Response = False Trial = 5, Category choice = 1, Response = Correct Trial = 6, Category choice = 1, Response = False -Trial = 7, Category choice = 1, Response = False -Trial = 8, Category choice = 2, Response = Correct +Trial = 7, Category choice = 2, Response = Correct +Trial = 8, Category choice = 1, Response = False Trial = 9, Category choice = 1, Response = False -Trial = 10, Category choice = 1, Response = False +Trial = 10, Category choice = 2, Response = Correct Trial = 11, Category choice = 2, Response = Correct Trial = 12, Category choice = 1, Response = False Trial = 13, Category choice = 2, Response = False -Trial = 14, Category choice = 1, Response = False +Trial = 14, Category choice = 2, Response = Correct Trial = 15, Category choice = 1, Response = Correct Trial = 16, Category choice = 2, Response = False -Trial = 17, Category choice = 1, Response = Correct -Trial = 18, Category choice = 1, Response = Correct -Trial = 19, Category choice = 2, Response = False +Trial = 17, Category choice = 2, Response = False +Trial = 18, Category choice = 2, Response = False +Trial = 19, Category choice = 1, Response = Correct Trial = 20, Category choice = 2, Response = Correct Trial = 21, Category choice = 1, Response = Correct Trial = 22, Category choice = 1, Response = Correct -Trial = 23, Category choice = 1, Response = Correct -Trial = 24, Category choice = 2, Response = Correct -Trial = 25, Category choice = 2, Response = False +Trial = 23, Category choice = 2, Response = False +Trial = 24, Category choice = 1, Response = False +Trial = 25, Category choice = 1, Response = Correct Trial = 26, Category choice = 1, Response = Correct -Trial = 27, Category choice = 1, Response = Correct -Trial = 28, Category choice = 1, Response = Correct +Trial = 27, Category choice = 2, Response = False +Trial = 28, Category choice = 2, Response = False Trial = 29, Category choice = 1, Response = False Trial = 30, Category choice = 2, Response = False Trial = 31, Category choice = 2, Response = Correct Trial = 32, Category choice = 1, Response = Correct -Trial = 33, Category choice = 1, Response = False +Trial = 33, Category choice = 2, Response = Correct Trial = 34, Category choice = 1, Response = False -Trial = 35, Category choice = 2, Response = Correct -Trial = 36, Category choice = 2, Response = False +Trial = 35, Category choice = 1, Response = False +Trial = 36, Category choice = 1, Response = Correct Trial = 37, Category choice = 2, Response = False Trial = 38, Category choice = 1, Response = Correct Trial = 39, Category choice = 1, Response = False -Trial = 40, Category choice = 1, Response = Correct +Trial = 40, Category choice = 2, Response = False Trial = 41, Category choice = 1, Response = False Trial = 42, Category choice = 2, Response = False -Trial = 43, Category choice = 1, Response = Correct +Trial = 43, Category choice = 2, Response = False Trial = 44, Category choice = 1, Response = False Trial = 45, Category choice = 2, Response = False Trial = 46, Category choice = 2, Response = False Trial = 47, Category choice = 1, Response = Correct -Trial = 48, Category choice = 1, Response = False -Trial = 49, Category choice = 1, Response = False +Trial = 48, Category choice = 2, Response = Correct +Trial = 49, Category choice = 2, Response = Correct Trial = 50, Category choice = 1, Response = False Trial = 51, Category choice = 1, Response = Correct -Trial = 52, Category choice = 2, Response = False +Trial = 52, Category choice = 1, Response = Correct Trial = 53, Category choice = 1, Response = False Trial = 54, Category choice = 1, Response = False Trial = 55, Category choice = 2, Response = Correct -Trial = 56, Category choice = 2, Response = Correct -Trial = 57, Category choice = 2, Response = False +Trial = 56, Category choice = 1, Response = False +Trial = 57, Category choice = 1, Response = Correct Trial = 58, Category choice = 2, Response = False -Trial = 59, Category choice = 1, Response = Correct -Trial = 60, Category choice = 2, Response = False -Trial = 61, Category choice = 1, Response = False +Trial = 59, Category choice = 2, Response = False +Trial = 60, Category choice = 1, Response = Correct +Trial = 61, Category choice = 2, Response = Correct Trial = 62, Category choice = 2, Response = Correct Trial = 63, Category choice = 1, Response = False Trial = 64, Category choice = 2, Response = False Trial = 65, Category choice = 1, Response = Correct -Trial = 66, Category choice = 2, Response = Correct +Trial = 66, Category choice = 1, Response = False Trial = 67, Category choice = 2, Response = False -Trial = 68, Category choice = 1, Response = False +Trial = 68, Category choice = 2, Response = Correct Trial = 69, Category choice = 2, Response = Correct Trial = 70, Category choice = 2, Response = False Trial = 71, Category choice = 2, Response = False Trial = 72, Category choice = 1, Response = False Trial = 73, Category choice = 2, Response = Correct -Trial = 74, Category choice = 1, Response = Correct -Trial = 75, Category choice = 2, Response = False +Trial = 74, Category choice = 2, Response = False +Trial = 75, Category choice = 1, Response = Correct Trial = 76, Category choice = 2, Response = Correct Trial = 77, Category choice = 2, Response = False Trial = 78, Category choice = 2, Response = False -Trial = 79, Category choice = 2, Response = False -Trial = 80, Category choice = 2, Response = False -Trial = 81, Category choice = 2, Response = Correct -Trial = 82, Category choice = 2, Response = False -Trial = 83, Category choice = 2, Response = False -Trial = 84, Category choice = 2, Response = Correct -Trial = 85, Category choice = 1, Response = False -Trial = 86, Category choice = 1, Response = Correct +Trial = 79, Category choice = 1, Response = Correct +Trial = 80, Category choice = 1, Response = Correct +Trial = 81, Category choice = 1, Response = False +Trial = 82, Category choice = 1, Response = Correct +Trial = 83, Category choice = 1, Response = Correct +Trial = 84, Category choice = 1, Response = False +Trial = 85, Category choice = 2, Response = Correct +Trial = 86, Category choice = 2, Response = False Trial = 87, Category choice = 1, Response = Correct -Trial = 88, Category choice = 2, Response = False -Trial = 89, Category choice = 1, Response = False -Trial = 90, Category choice = 2, Response = False +Trial = 88, Category choice = 1, Response = Correct +Trial = 89, Category choice = 2, Response = Correct +Trial = 90, Category choice = 1, Response = Correct Trial = 91, Category choice = 1, Response = False -Trial = 92, Category choice = 1, Response = Correct +Trial = 92, Category choice = 2, Response = False Trial = 93, Category choice = 2, Response = Correct -Trial = 94, Category choice = 1, Response = False -Trial = 95, Category choice = 2, Response = False +Trial = 94, Category choice = 2, Response = Correct +Trial = 95, Category choice = 1, Response = Correct Trial = 96, Category choice = 1, Response = False -Trial = 97, Category choice = 1, Response = False -Trial = 98, Category choice = 2, Response = Correct +Trial = 97, Category choice = 2, Response = Correct +Trial = 98, Category choice = 1, Response = False Trial = 99, Category choice = 1, Response = Correct Trial = 100, Category choice = 1, Response = Correct diff --git a/assets/pages/learning/code/output/ex3.res b/assets/pages/learning/code/output/ex3.res index 7bc70df..01ba272 100644 --- a/assets/pages/learning/code/output/ex3.res +++ b/assets/pages/learning/code/output/ex3.res @@ -1 +1 @@ -(trial = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100], correct = Bool[0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1], action = [1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1]) \ No newline at end of file +(trial = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100], correct = Bool[0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1], action = [1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 2, 1, 2, 2, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 1, 1, 2, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 1, 1, 2, 1, 1, 1]) \ No newline at end of file diff --git a/notebooks/neuron_mass.ipynb b/notebooks/neuron_mass.ipynb index a5ed15e..727a56d 100644 --- a/notebooks/neuron_mass.ipynb +++ b/notebooks/neuron_mass.ipynb @@ -228,7 +228,7 @@ "outputs": [], "cell_type": "code", "source": [ - "fig = powerspectrumplot(hh, sol; samplig_rate=0.01);\n", + "fig = powerspectrumplot(hh, sol; sampling_rate=0.01);\n", "fig" ], "metadata": {}, diff --git a/pages/blox_connections/index.html b/pages/blox_connections/index.html index 21222cf..10db09e 100644 --- a/pages/blox_connections/index.html +++ b/pages/blox_connections/index.html @@ -47,7 +47,7 @@ end end -# In the `IzhNeuron` constructor function we keep all arguments as keyword arguments so that we can set them more conveniently as `arg = value`. Spike threshold `θ=30` is now included as a parameter. Default values for all parameters are the keyword arguments from above. This way we can set them easily during construction.

NOTE: In IzhNeuron the jcn variable does not get a default value, only the [input=true] tag. This means that other Bloxs will connect to a IzhNeuron through jcn.

Neuroblox automatically initializes a jcn ~ 0 equation and then accumulates connection terms in it. This happens with all input variables of Bloxs.

Similarly the [output=true] tag designates the V variable as the output variable. It is necessary for every Blox to have one if they rely on generic connection rules that fetch the output variable and add it to the connection equation.

Both input and output tags are also useful to note which variables should be used when writing connection rules to or from our Blox.

Now we are ready to define the first object of IzhNeuron and connect it with the LIFNeuron we created above.

@named izh = IzhNeuron()
IzhNeuron(ModelingToolkit.ODESystem(0x0000000000001ff0, Symbolics.Equation[Differential(t)(V(t)) ~ 145 + jcn - u(t) + 5V(t) + 0.04(V(t)^2), Differential(t)(u(t)) ~ a*(-u(t) + b*V(t))], t, SymbolicUtils.BasicSymbolic{Real}[V(t), u(t), jcn], SymbolicUtils.BasicSymbolic{Real}[a, b, V_reset, d, θ], nothing, Dict{Any, Any}(:a => a, :b => b, :d => d, :V => V(t), :jcn => jcn, :u => u(t), :θ => θ, :V_reset => V_reset), Any[], Symbolics.Equation[], Base.RefValue{Vector{Symbolics.Num}}(Symbolics.Num[]), Base.RefValue{Any}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Any}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Matrix{Symbolics.Num}}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Matrix{Symbolics.Num}}(Matrix{Symbolics.Num}(undef, 0, 0)), :izh, "", ModelingToolkit.ODESystem[], Dict{Any, Any}(a => 0.02, V_reset => -50, d => 2, u(t) => -13, V(t) => -65.0, b => 0.2, θ => 30), Dict{Any, Any}(), nothing, nothing, Symbolics.Equation[], nothing, nothing, nothing, ModelingToolkit.SymbolicContinuousCallback[], ModelingToolkit.SymbolicDiscreteCallback[condition: V(t) > θ
+# In the `IzhNeuron` constructor function we keep all arguments as keyword arguments so that we can set them more conveniently as `arg = value`. Spike threshold `θ=30` is now included as a parameter. Default values for all parameters are the keyword arguments from above. This way we can set them easily during construction.

NOTE: In IzhNeuron the jcn variable does not get a default value, only the [input=true] tag. This means that other Bloxs will connect to a IzhNeuron through jcn.

Neuroblox automatically initializes a jcn ~ 0 equation and then accumulates connection terms in it. This happens with all input variables of Bloxs.

Similarly the [output=true] tag designates the V variable as the output variable. It is necessary for every Blox to have one if they rely on generic connection rules that fetch the output variable and add it to the connection equation.

Both input and output tags are also useful to note which variables should be used when writing connection rules to or from our Blox.

Now we are ready to define the first object of IzhNeuron and connect it with the LIFNeuron we created above.

@named izh = IzhNeuron()
IzhNeuron(ModelingToolkit.ODESystem(0x0000000000001fd8, Symbolics.Equation[Differential(t)(V(t)) ~ 145 + jcn - u(t) + 5V(t) + 0.04(V(t)^2), Differential(t)(u(t)) ~ a*(-u(t) + b*V(t))], t, SymbolicUtils.BasicSymbolic{Real}[V(t), u(t), jcn], SymbolicUtils.BasicSymbolic{Real}[a, b, V_reset, d, θ], nothing, Dict{Any, Any}(:a => a, :b => b, :d => d, :V => V(t), :jcn => jcn, :u => u(t), :θ => θ, :V_reset => V_reset), Any[], Symbolics.Equation[], Base.RefValue{Vector{Symbolics.Num}}(Symbolics.Num[]), Base.RefValue{Any}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Any}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Matrix{Symbolics.Num}}(Matrix{Symbolics.Num}(undef, 0, 0)), Base.RefValue{Matrix{Symbolics.Num}}(Matrix{Symbolics.Num}(undef, 0, 0)), :izh, "", ModelingToolkit.ODESystem[], Dict{Any, Any}(a => 0.02, V_reset => -50, d => 2, u(t) => -13, V(t) => -65.0, b => 0.2, θ => 30), Dict{Any, Any}(), nothing, nothing, Symbolics.Equation[], nothing, nothing, nothing, ModelingToolkit.SymbolicContinuousCallback[], ModelingToolkit.SymbolicDiscreteCallback[condition: V(t) > θ
 affects:
   u(t) ~ d + u(t)
   V(t) ~ V_reset
diff --git a/pages/learning/index.html b/pages/learning/index.html
index cb30299..9e77abb 100644
--- a/pages/learning/index.html
+++ b/pages/learning/index.html
@@ -104,106 +104,106 @@
 adjacency(fig[1,1], agent; title = "Before Learning", colorrange=(0,0.2))
 
 trace = run_experiment!(agent, env; t_warmup=200.0, alg=Vern7(), verbose=true)
Trial = 1, Category choice = 1, Response = False
-Trial = 2, Category choice = 1, Response = Correct
+Trial = 2, Category choice = 2, Response = False
 Trial = 3, Category choice = 1, Response = Correct
 Trial = 4, Category choice = 1, Response = False
 Trial = 5, Category choice = 1, Response = Correct
 Trial = 6, Category choice = 1, Response = False
-Trial = 7, Category choice = 1, Response = False
-Trial = 8, Category choice = 2, Response = Correct
+Trial = 7, Category choice = 2, Response = Correct
+Trial = 8, Category choice = 1, Response = False
 Trial = 9, Category choice = 1, Response = False
-Trial = 10, Category choice = 1, Response = False
+Trial = 10, Category choice = 2, Response = Correct
 Trial = 11, Category choice = 2, Response = Correct
 Trial = 12, Category choice = 1, Response = False
 Trial = 13, Category choice = 2, Response = False
-Trial = 14, Category choice = 1, Response = False
+Trial = 14, Category choice = 2, Response = Correct
 Trial = 15, Category choice = 1, Response = Correct
 Trial = 16, Category choice = 2, Response = False
-Trial = 17, Category choice = 1, Response = Correct
-Trial = 18, Category choice = 1, Response = Correct
-Trial = 19, Category choice = 2, Response = False
+Trial = 17, Category choice = 2, Response = False
+Trial = 18, Category choice = 2, Response = False
+Trial = 19, Category choice = 1, Response = Correct
 Trial = 20, Category choice = 2, Response = Correct
 Trial = 21, Category choice = 1, Response = Correct
 Trial = 22, Category choice = 1, Response = Correct
-Trial = 23, Category choice = 1, Response = Correct
-Trial = 24, Category choice = 2, Response = Correct
-Trial = 25, Category choice = 2, Response = False
+Trial = 23, Category choice = 2, Response = False
+Trial = 24, Category choice = 1, Response = False
+Trial = 25, Category choice = 1, Response = Correct
 Trial = 26, Category choice = 1, Response = Correct
-Trial = 27, Category choice = 1, Response = Correct
-Trial = 28, Category choice = 1, Response = Correct
+Trial = 27, Category choice = 2, Response = False
+Trial = 28, Category choice = 2, Response = False
 Trial = 29, Category choice = 1, Response = False
 Trial = 30, Category choice = 2, Response = False
 Trial = 31, Category choice = 2, Response = Correct
 Trial = 32, Category choice = 1, Response = Correct
-Trial = 33, Category choice = 1, Response = False
+Trial = 33, Category choice = 2, Response = Correct
 Trial = 34, Category choice = 1, Response = False
-Trial = 35, Category choice = 2, Response = Correct
-Trial = 36, Category choice = 2, Response = False
+Trial = 35, Category choice = 1, Response = False
+Trial = 36, Category choice = 1, Response = Correct
 Trial = 37, Category choice = 2, Response = False
 Trial = 38, Category choice = 1, Response = Correct
 Trial = 39, Category choice = 1, Response = False
-Trial = 40, Category choice = 1, Response = Correct
+Trial = 40, Category choice = 2, Response = False
 Trial = 41, Category choice = 1, Response = False
 Trial = 42, Category choice = 2, Response = False
-Trial = 43, Category choice = 1, Response = Correct
+Trial = 43, Category choice = 2, Response = False
 Trial = 44, Category choice = 1, Response = False
 Trial = 45, Category choice = 2, Response = False
 Trial = 46, Category choice = 2, Response = False
 Trial = 47, Category choice = 1, Response = Correct
-Trial = 48, Category choice = 1, Response = False
-Trial = 49, Category choice = 1, Response = False
+Trial = 48, Category choice = 2, Response = Correct
+Trial = 49, Category choice = 2, Response = Correct
 Trial = 50, Category choice = 1, Response = False
 Trial = 51, Category choice = 1, Response = Correct
-Trial = 52, Category choice = 2, Response = False
+Trial = 52, Category choice = 1, Response = Correct
 Trial = 53, Category choice = 1, Response = False
 Trial = 54, Category choice = 1, Response = False
 Trial = 55, Category choice = 2, Response = Correct
-Trial = 56, Category choice = 2, Response = Correct
-Trial = 57, Category choice = 2, Response = False
+Trial = 56, Category choice = 1, Response = False
+Trial = 57, Category choice = 1, Response = Correct
 Trial = 58, Category choice = 2, Response = False
-Trial = 59, Category choice = 1, Response = Correct
-Trial = 60, Category choice = 2, Response = False
-Trial = 61, Category choice = 1, Response = False
+Trial = 59, Category choice = 2, Response = False
+Trial = 60, Category choice = 1, Response = Correct
+Trial = 61, Category choice = 2, Response = Correct
 Trial = 62, Category choice = 2, Response = Correct
 Trial = 63, Category choice = 1, Response = False
 Trial = 64, Category choice = 2, Response = False
 Trial = 65, Category choice = 1, Response = Correct
-Trial = 66, Category choice = 2, Response = Correct
+Trial = 66, Category choice = 1, Response = False
 Trial = 67, Category choice = 2, Response = False
-Trial = 68, Category choice = 1, Response = False
+Trial = 68, Category choice = 2, Response = Correct
 Trial = 69, Category choice = 2, Response = Correct
 Trial = 70, Category choice = 2, Response = False
 Trial = 71, Category choice = 2, Response = False
 Trial = 72, Category choice = 1, Response = False
 Trial = 73, Category choice = 2, Response = Correct
-Trial = 74, Category choice = 1, Response = Correct
-Trial = 75, Category choice = 2, Response = False
+Trial = 74, Category choice = 2, Response = False
+Trial = 75, Category choice = 1, Response = Correct
 Trial = 76, Category choice = 2, Response = Correct
 Trial = 77, Category choice = 2, Response = False
 Trial = 78, Category choice = 2, Response = False
-Trial = 79, Category choice = 2, Response = False
-Trial = 80, Category choice = 2, Response = False
-Trial = 81, Category choice = 2, Response = Correct
-Trial = 82, Category choice = 2, Response = False
-Trial = 83, Category choice = 2, Response = False
-Trial = 84, Category choice = 2, Response = Correct
-Trial = 85, Category choice = 1, Response = False
-Trial = 86, Category choice = 1, Response = Correct
+Trial = 79, Category choice = 1, Response = Correct
+Trial = 80, Category choice = 1, Response = Correct
+Trial = 81, Category choice = 1, Response = False
+Trial = 82, Category choice = 1, Response = Correct
+Trial = 83, Category choice = 1, Response = Correct
+Trial = 84, Category choice = 1, Response = False
+Trial = 85, Category choice = 2, Response = Correct
+Trial = 86, Category choice = 2, Response = False
 Trial = 87, Category choice = 1, Response = Correct
-Trial = 88, Category choice = 2, Response = False
-Trial = 89, Category choice = 1, Response = False
-Trial = 90, Category choice = 2, Response = False
+Trial = 88, Category choice = 1, Response = Correct
+Trial = 89, Category choice = 2, Response = Correct
+Trial = 90, Category choice = 1, Response = Correct
 Trial = 91, Category choice = 1, Response = False
-Trial = 92, Category choice = 1, Response = Correct
+Trial = 92, Category choice = 2, Response = False
 Trial = 93, Category choice = 2, Response = Correct
-Trial = 94, Category choice = 1, Response = False
-Trial = 95, Category choice = 2, Response = False
+Trial = 94, Category choice = 2, Response = Correct
+Trial = 95, Category choice = 1, Response = Correct
 Trial = 96, Category choice = 1, Response = False
-Trial = 97, Category choice = 1, Response = False
-Trial = 98, Category choice = 2, Response = Correct
+Trial = 97, Category choice = 2, Response = Correct
+Trial = 98, Category choice = 1, Response = False
 Trial = 99, Category choice = 1, Response = Correct
 Trial = 100, Category choice = 1, Response = Correct
-(trial = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100], correct = Bool[0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1], action = [1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1])

trace is a NamedTuple containing useful outcomes for each trial of the experiment:

trace.trial ## trial indices
+(trial = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100], correct = Bool[0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1], action = [1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 2, 1, 2, 2, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 1, 1, 2, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 1, 1, 2, 1, 1, 1])

trace is a NamedTuple containing useful outcomes for each trial of the experiment:

trace.trial ## trial indices
 trace.correct ## whether the response was correct or not on each trial
 trace.action; ## what responce was made on each trial, 1 is left and 2 is right