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 c4eb5bf..98b4a2a 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 3d7db31..5eb5ae4 100644 --- a/assets/pages/CS_circuit/code/output/cort_meanfield.svg +++ b/assets/pages/CS_circuit/code/output/cort_meanfield.svg @@ -2,119 +2,113 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - + - - + + - + - - + + - + - - - - + - + - + @@ -124,152 +118,152 @@ - - - - - + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + + + + + diff --git a/assets/pages/CS_circuit/code/output/cort_power.svg b/assets/pages/CS_circuit/code/output/cort_power.svg index d82a32b..7807ed8 100644 --- a/assets/pages/CS_circuit/code/output/cort_power.svg +++ b/assets/pages/CS_circuit/code/output/cort_power.svg @@ -2,183 +2,174 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - + - - - - - - - - - - + - + - + - + - + - + - + - + @@ -194,220 +185,209 @@ - - - - - - - - - - - - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + @@ -419,11 +399,9 @@ - - - - - + + + diff --git a/assets/pages/CS_circuit/code/output/cort_stack.svg b/assets/pages/CS_circuit/code/output/cort_stack.svg index c5227ce..d174ed9 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 6860d8c..1170af3 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 3a9b083..da38f5d 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/custom/code/output/ex6.res b/assets/pages/custom/code/output/ex6.res index 496967e..54f422e 100644 --- a/assets/pages/custom/code/output/ex6.res +++ b/assets/pages/custom/code/output/ex6.res @@ -1,4 +1,4 @@ -Main.FD_SANDBOX_13439752999271061286.IzhNeuron(ModelingToolkit.ODESystem(0x0000000000002011, 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, b => 0.2, θ => 30), Dict{Any, Any}(), nothing, nothing, Symbolics.Equation[], nothing, nothing, nothing, ModelingToolkit.SymbolicContinuousCallback[], ModelingToolkit.SymbolicDiscreteCallback[condition: V(t) > θ +Main.FD_SANDBOX_13439752999271061286.IzhNeuron(ModelingToolkit.ODESystem(0x0000000000001ff3, 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, 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 98715d5..a34956a 100644 --- a/assets/pages/learning/code/output/adj_RL.svg +++ b/assets/pages/learning/code/output/adj_RL.svg @@ -2,2223 +2,2223 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -2227,4167 +2227,4167 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - - + + + - - - + + - - - - + + + + - - + - + + @@ -6395,36 +6395,34 @@ - - + + - - - + + - - - - + + + + - - - + + + - + + + - - - @@ -6433,76 +6431,72 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - + - @@ -6514,21 +6508,22 @@ + - + - + @@ -6536,29 +6531,25 @@ - - - - - + + - + - - + + - @@ -6566,24 +6557,20 @@ + - - - - + - - @@ -6596,4164 +6583,4164 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + @@ -10761,36 +10748,34 @@ - - - - + + + + - - - - + + + - - - - + + + + - - - - + + + + - - - - - + + + + @@ -10799,76 +10784,72 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - + - @@ -10880,21 +10861,22 @@ + - + - + @@ -10902,29 +10884,25 @@ - - - - - + + - + - - + + - @@ -10932,24 +10910,20 @@ + - - - - + - - diff --git a/assets/pages/learning/code/output/adj_open.svg b/assets/pages/learning/code/output/adj_open.svg index ba977d6..aae0781 100644 --- a/assets/pages/learning/code/output/adj_open.svg +++ b/assets/pages/learning/code/output/adj_open.svg @@ -2,1628 +2,1628 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1632,3113 +1632,3113 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - - + + - - + + - - + + @@ -4746,26 +4746,25 @@ + - - - + + - - + + - - + + - - - + + @@ -4774,20 +4773,16 @@ - - - - + - @@ -4799,21 +4794,22 @@ + - + - + @@ -4821,29 +4817,25 @@ - - - - - + + - + - - + + - @@ -4851,24 +4843,20 @@ + - - - - + - - @@ -4877,3107 +4865,3107 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - - + + - - + + - - + + @@ -7985,26 +7973,25 @@ - - + + - - + + - - + + - - + + - - - + + @@ -8013,20 +8000,16 @@ - - - - + - @@ -8038,21 +8021,22 @@ + - + - + @@ -8060,29 +8044,25 @@ - - - - - + + - + - - + + - @@ -8090,24 +8070,20 @@ + - - - - + - - diff --git a/assets/pages/learning/code/output/ex3.out b/assets/pages/learning/code/output/ex3.out index efae564..ba04e62 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 = 1, Category choice = 2, Response = Correct Trial = 2, Category choice = 2, Response = False -Trial = 3, Category choice = 2, Response = False +Trial = 3, Category choice = 1, Response = Correct Trial = 4, Category choice = 1, Response = False Trial = 5, Category choice = 2, Response = False -Trial = 6, Category choice = 1, Response = False +Trial = 6, Category choice = 2, Response = Correct Trial = 7, Category choice = 1, Response = False -Trial = 8, Category choice = 1, Response = False -Trial = 9, Category choice = 1, Response = False +Trial = 8, Category choice = 2, Response = Correct +Trial = 9, Category choice = 2, Response = Correct Trial = 10, Category choice = 2, Response = Correct -Trial = 11, Category choice = 1, Response = False +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 = 1, Response = Correct +Trial = 16, Category choice = 2, Response = False Trial = 17, Category choice = 2, Response = False Trial = 18, Category choice = 1, Response = Correct -Trial = 19, Category choice = 1, Response = Correct +Trial = 19, Category choice = 2, Response = False Trial = 20, Category choice = 2, Response = Correct -Trial = 21, Category choice = 1, Response = Correct -Trial = 22, Category choice = 1, Response = Correct +Trial = 21, Category choice = 2, Response = False +Trial = 22, Category choice = 2, Response = False Trial = 23, Category choice = 1, Response = Correct -Trial = 24, Category choice = 2, Response = Correct -Trial = 25, Category choice = 1, Response = Correct -Trial = 26, Category choice = 1, Response = Correct -Trial = 27, Category choice = 2, Response = False +Trial = 24, Category choice = 1, Response = False +Trial = 25, Category choice = 2, Response = False +Trial = 26, Category choice = 2, Response = False +Trial = 27, Category choice = 1, Response = Correct Trial = 28, Category choice = 2, Response = False Trial = 29, Category choice = 2, Response = Correct -Trial = 30, Category choice = 1, Response = Correct -Trial = 31, Category choice = 1, Response = False -Trial = 32, Category choice = 2, Response = False -Trial = 33, Category choice = 2, Response = Correct -Trial = 34, Category choice = 1, Response = False -Trial = 35, Category choice = 1, Response = False -Trial = 36, Category choice = 2, Response = False -Trial = 37, Category choice = 2, Response = False -Trial = 38, Category choice = 1, Response = Correct +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 = 34, Category choice = 2, Response = Correct +Trial = 35, Category choice = 2, Response = Correct +Trial = 36, Category choice = 1, Response = Correct +Trial = 37, Category choice = 1, Response = Correct +Trial = 38, Category choice = 2, Response = False Trial = 39, Category choice = 2, Response = Correct -Trial = 40, Category choice = 1, Response = Correct -Trial = 41, Category choice = 1, Response = False +Trial = 40, Category choice = 2, Response = False +Trial = 41, Category choice = 2, Response = Correct Trial = 42, Category choice = 1, Response = Correct -Trial = 43, Category choice = 2, Response = False -Trial = 44, Category choice = 1, Response = False +Trial = 43, Category choice = 1, Response = Correct +Trial = 44, Category choice = 2, Response = Correct Trial = 45, Category choice = 1, Response = Correct Trial = 46, Category choice = 1, Response = Correct Trial = 47, Category choice = 2, 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 = 2, Response = False -Trial = 52, Category choice = 1, Response = Correct -Trial = 53, Category choice = 1, Response = False +Trial = 50, Category choice = 2, Response = Correct +Trial = 51, Category choice = 1, Response = Correct +Trial = 52, Category choice = 2, Response = False +Trial = 53, Category choice = 2, Response = Correct Trial = 54, Category choice = 1, Response = False Trial = 55, Category choice = 2, Response = Correct -Trial = 56, Category choice = 1, Response = False -Trial = 57, Category choice = 1, Response = Correct -Trial = 58, Category choice = 1, Response = Correct -Trial = 59, Category choice = 2, Response = False -Trial = 60, Category choice = 2, Response = False +Trial = 56, Category choice = 2, Response = Correct +Trial = 57, Category choice = 2, Response = False +Trial = 58, Category choice = 2, Response = False +Trial = 59, Category choice = 1, Response = Correct +Trial = 60, Category choice = 1, Response = Correct Trial = 61, Category choice = 1, Response = False Trial = 62, Category choice = 2, Response = Correct -Trial = 63, Category choice = 1, Response = False -Trial = 64, Category choice = 1, Response = Correct -Trial = 65, Category choice = 1, Response = Correct -Trial = 66, Category choice = 1, Response = False -Trial = 67, Category choice = 1, Response = Correct +Trial = 63, Category choice = 2, Response = Correct +Trial = 64, Category choice = 2, Response = False +Trial = 65, Category choice = 2, Response = False +Trial = 66, Category choice = 2, Response = Correct +Trial = 67, Category choice = 2, Response = False Trial = 68, Category choice = 1, Response = False -Trial = 69, Category choice = 2, Response = Correct +Trial = 69, Category choice = 1, Response = False Trial = 70, Category choice = 2, Response = False Trial = 71, Category choice = 2, Response = False Trial = 72, Category choice = 2, Response = Correct -Trial = 73, Category choice = 1, Response = False -Trial = 74, Category choice = 2, Response = False +Trial = 73, Category choice = 2, Response = Correct +Trial = 74, Category choice = 1, Response = Correct Trial = 75, Category choice = 2, Response = False -Trial = 76, Category choice = 2, Response = Correct -Trial = 77, Category choice = 1, Response = Correct +Trial = 76, Category choice = 1, Response = False +Trial = 77, Category choice = 2, Response = False Trial = 78, Category choice = 1, Response = Correct -Trial = 79, Category choice = 1, Response = Correct -Trial = 80, Category choice = 1, Response = Correct +Trial = 79, Category choice = 2, Response = False +Trial = 80, Category choice = 2, Response = False Trial = 81, Category choice = 1, Response = False -Trial = 82, Category choice = 2, Response = False +Trial = 82, Category choice = 1, Response = Correct Trial = 83, Category choice = 2, Response = False Trial = 84, Category choice = 1, Response = False -Trial = 85, Category choice = 1, Response = False +Trial = 85, Category choice = 2, Response = Correct Trial = 86, Category choice = 1, Response = Correct -Trial = 87, Category choice = 1, Response = Correct +Trial = 87, Category choice = 2, Response = False Trial = 88, Category choice = 1, Response = Correct Trial = 89, Category choice = 2, Response = Correct -Trial = 90, Category choice = 2, Response = False -Trial = 91, Category choice = 2, Response = Correct -Trial = 92, Category choice = 1, Response = Correct -Trial = 93, Category choice = 1, Response = False -Trial = 94, Category choice = 1, Response = False +Trial = 90, Category choice = 1, Response = Correct +Trial = 91, Category choice = 1, Response = False +Trial = 92, Category choice = 2, Response = False +Trial = 93, Category choice = 2, Response = Correct +Trial = 94, Category choice = 2, Response = Correct Trial = 95, Category choice = 1, Response = Correct -Trial = 96, Category choice = 1, Response = False +Trial = 96, Category choice = 2, Response = Correct Trial = 97, Category choice = 1, Response = False Trial = 98, Category choice = 2, Response = Correct -Trial = 99, Category choice = 1, Response = Correct -Trial = 100, Category choice = 1, Response = Correct +Trial = 99, Category choice = 2, Response = False +Trial = 100, Category choice = 2, Response = False diff --git a/assets/pages/learning/code/output/ex3.res b/assets/pages/learning/code/output/ex3.res index db2f49a..2517f8e 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, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1], action = [1, 2, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 2, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 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[1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0], action = [2, 2, 1, 1, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 1, 2, 1, 2, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2]) \ No newline at end of file diff --git a/css/franklin.css b/css/franklin.css index 02ff4ce..e24a8b4 100644 --- a/css/franklin.css +++ b/css/franklin.css @@ -1 +1 @@ -@charset "utf-8"; :root{--block-background:hsl(0,0%,94%);--output-background:hsl(0,0%,98%);--small:14px;--normal:19px;--text-color:hsv(0,0%,20%)}html{font-family:Helvetica,Arial,sans-serif;font-size:var(--normal);color:var(--text-color)}.franklin-content .row{display:block}.franklin-content .left{float:left;margin-right:15px}.franklin-content .right{float:right}.franklin-content .container img{width:auto;padding-left:0;border-radius:10px}.franklin-content .footnote{position:relative;top:-0.5em;font-size:70%}.franklin-content .page-foot a{text-decoration:none;color:#a6a2a0;text-decoration:underline}.page-foot{font-size:80%;font-family:Arial,serif;color:#a6a2a0;text-align:center;margin-top:6em;border-top:1px solid lightgrey;padding-top:2em;margin-bottom:4em}.franklin-toc li{margin:.6rem 0}.franklin-content{position:relative;padding-left:12.5%;padding-right:12.5%;line-height:1.35em}@media (min-width:940px){.franklin-content{width:705px;margin-left:auto;margin-right:auto}}@media (max-width:480px){.franklin-content{padding-left:6%;padding-right:6%}}.franklin-content h1{font-size:24px}.franklin-content h2{font-size:22px}.franklin-content h3{font-size:20px}.franklin-content h1,h2,h3,h4,h5,h6{text-align:left}.franklin-content h1{padding-bottom:.5em;border-bottom:3px double lightgrey;margin-top:1.5em;margin-bottom:1em}.franklin-content h2{padding-bottom:.3em;border-bottom:1px solid lightgrey;margin-top:2em;margin-bottom:1em}.franklin-content h1 a{color:inherit}.franklin-content h1 a:hover{text-decoration:none}.franklin-content h2 a{color:inherit}.franklin-content h2 a:hover{text-decoration:none}.franklin-content h3 a{color:inherit}.franklin-content h3 a:hover{text-decoration:none}.franklin-content h4 a{color:inherit}.franklin-content h4 a:hover{text-decoration:none}.franklin-content h5 a{color:inherit}.franklin-content h5 a:hover{text-decoration:none}.franklin-content h6 a{color:inherit}.franklin-content h6 a:hover{text-decoration:none}.franklin-content table{margin-left:auto;margin-right:auto;border-collapse:collapse;text-align:center}.franklin-toc ol ol{list-style-type:lower-alpha}.franklin-content th,td{font-size:var(--small);padding:10px;border:1px solid black}.franklin-content blockquote{background:var(--block-background);border-left:7px solid #a8a8a8;margin:1.5em 10px;padding:.5em 10px;font-style:italic}.franklin-content blockquote p{display:inline}.franklin-content li p{margin:10px 0}.franklin-content a{color:#004de6;text-decoration:none}.franklin-content a:hover{text-decoration:underline}.franklin-content .eqref a{color:green}.franklin-content .bibref a{color:green}.franklin-content sup{font-size:70%;vertical-align:super;line-height:0}.franklin-content table.fndef{margin:0;margin-bottom:10px}.franklin-content .fndef tr,td{padding:0;border:0;text-align:left}.franklin-content .fndef tr{border-left:2px solid lightgray}.franklin-content .fndef td.fndef-backref{vertical-align:top;font-size:70%;padding-left:5px}.franklin-content .fndef td.fndef-content{font-size:80%;padding-left:10px;width:100%}.franklin-content img{width:100%;text-align:center;padding-left:0}.franklin-content .img-small img{width:50%;text-align:center;padding-left:20%}body{counter-reset:eqnum}.katex{font-size:1em !important}.katex-display .katex{display:inline-block;white-space:normal}.katex-display::after{counter-increment:eqnum;content:"(" counter(eqnum) ")";position:relative;float:right;padding-right:5px}.nonumber .katex-display::after{counter-increment:nothing;content:""}code{background-color:var(--block-background);padding:.1em .2em;border-radius:2px;font-size:var(--small)}.hljs{font-size:var(--small);line-height:1.35em;border-radius:10px}.hljs-meta{font-weight:bold}.hljs-meta.shell_{color:crimson}.hljs-meta.prompt_{color:#19b333}.code-output{background:var(--output-background);border:1px dashed #dbdbdb}.franklin-content .colbox-blue{background-color:#eef3f5;padding-top:5px;padding-right:10px;padding-left:10px;padding-bottom:5px;margin-left:5px;margin-top:5px;margin-bottom:5px;border-radius:0 10px 10px 0;border-left:5px solid #4c9cf1} \ No newline at end of file +@charset "utf-8"; :root{--block-background:hsl(0,0%,94%);--output-background:hsl(0,0%,98%);--small:14px;--normal:19px;--text-color:hsv(0,0%,20%)}html{font-family:Helvetica,Arial,sans-serif;font-size:var(--normal);color:var(--text-color)}.franklin-content .row{display:block}.franklin-content .left{float:left;margin-right:15px}.franklin-content .right{float:right}.franklin-content .container img{width:auto;padding-left:0;border-radius:10px}.franklin-content .footnote{position:relative;top:-0.5em;font-size:70%}.franklin-content .page-foot a{text-decoration:none;color:#a6a2a0;text-decoration:underline}.page-foot{font-size:80%;font-family:Arial,serif;color:#a6a2a0;text-align:center;margin-top:6em;border-top:1px solid lightgrey;padding-top:2em;margin-bottom:4em}.franklin-toc li{margin:.6rem 0}.franklin-content{position:relative;padding-left:12.5%;padding-right:12.5%;line-height:1.35em}@media (min-width:940px){.franklin-content{width:705px;margin-left:auto;margin-right:auto}}@media (max-width:480px){.franklin-content{padding-left:6%;padding-right:6%}}.franklin-content h1{font-size:24px}.franklin-content h2{font-size:22px}.franklin-content h3{font-size:20px}.franklin-content h1,h2,h3,h4,h5,h6{text-align:left}.franklin-content h1{padding-bottom:.5em;border-bottom:3px double lightgrey;margin-top:1.5em;margin-bottom:1em}.franklin-content h2{padding-bottom:.3em;border-bottom:1px solid lightgrey;margin-top:2em;margin-bottom:1em}.franklin-content h1 a{color:inherit}.franklin-content h1 a:hover{text-decoration:none}.franklin-content h2 a{color:inherit}.franklin-content h2 a:hover{text-decoration:none}.franklin-content h3 a{color:inherit}.franklin-content h3 a:hover{text-decoration:none}.franklin-content h4 a{color:inherit}.franklin-content h4 a:hover{text-decoration:none}.franklin-content h5 a{color:inherit}.franklin-content h5 a:hover{text-decoration:none}.franklin-content h6 a{color:inherit}.franklin-content h6 a:hover{text-decoration:none}.franklin-content table{margin-left:auto;margin-right:auto;border-collapse:collapse;text-align:center}.franklin-toc ol ol{list-style-type:lower-alpha}.franklin-content th,td{font-size:var(--small);padding:10px;border:1px solid black}.franklin-content blockquote{background:var(--block-background);border-left:7px solid #a8a8a8;margin:1.5em 10px;padding:.5em 10px;font-style:italic}.franklin-content blockquote p{display:inline}.franklin-content li p{margin:10px 0}.franklin-content a{color:#004de6;text-decoration:none}.franklin-content a:hover{text-decoration:underline}.hljs{font-size:90%;line-height:1.35em;border-radius:10px}.hljs-metaj,.hljs-metas,.hljs-metap{font-weight:bold}.hljs-metaj{color:#19b333}.hljs-metas{color:red}.hljs-metap{color:#3383e7}.franklin-content pre code{border-radius:5px;background:aliceblue}.franklin-content pre code.language-plaintext,code.plaintext.hljs{border-radius:5px;background:rgba(27,31,35,.05);line-height:1.35em;font-size:90%;display:block;padding:10px}.franklin-content .eqref a{color:green}.franklin-content .bibref a{color:green}.franklin-content sup{font-size:70%;vertical-align:super;line-height:0}.franklin-content table.fndef{margin:0;margin-bottom:10px}.franklin-content .fndef tr,td{padding:0;border:0;text-align:left}.franklin-content .fndef tr{border-left:2px solid lightgray}.franklin-content .fndef td.fndef-backref{vertical-align:top;font-size:70%;padding-left:5px}.franklin-content .fndef td.fndef-content{font-size:80%;padding-left:10px;width:100%}.franklin-content img{width:100%;text-align:center;padding-left:0}.franklin-content .img-small img{width:50%;text-align:center;padding-left:20%}body{counter-reset:eqnum}.katex{font-size:1em !important}.katex-display .katex{display:inline-block;white-space:normal}.katex-display::after{counter-increment:eqnum;content:"(" counter(eqnum) ")";position:relative;float:right;padding-right:5px}.nonumber .katex-display::after{counter-increment:nothing;content:""}code{background-color:var(--block-background);padding:.1em .2em;border-radius:2px;font-size:var(--small)}.hljs{font-size:var(--small);line-height:1.35em;border-radius:10px}.hljs-meta{font-weight:bold}.hljs-meta.shell_{color:crimson}.hljs-meta.prompt_{color:#19b333}.code-output{background:var(--output-background);border:1px dashed #dbdbdb}.franklin-content .colbox-blue{background-color:#eef3f5;padding-top:5px;padding-right:10px;padding-left:10px;padding-bottom:5px;margin-left:5px;margin-top:5px;margin-bottom:5px;border-radius:0 10px 10px 0;border-left:5px solid #4c9cf1} \ No newline at end of file diff --git a/pages/custom/index.html b/pages/custom/index.html index a026027..8270cc0 100644 --- a/pages/custom/index.html +++ b/pages/custom/index.html @@ -49,7 +49,7 @@ new(sys, namespace) end -end

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(0x0000000000002011, 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, b => 0.2, θ => 30), Dict{Any, Any}(), nothing, nothing, Symbolics.Equation[], nothing, nothing, nothing, ModelingToolkit.SymbolicContinuousCallback[], ModelingToolkit.SymbolicDiscreteCallback[condition: V(t) > θ
+end

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(0x0000000000001ff3, 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, 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 e73c310..64b113d 100644
--- a/pages/learning/index.html
+++ b/pages/learning/index.html
@@ -103,107 +103,107 @@
 
 adjacency(fig[1,1], agent; title = "Before Learning", colorrange=(0,10))
 
-trace = run_experiment!(agent, env; t_warmup=200.0, alg=Vern7(), verbose=true)
Trial = 1, Category choice = 1, Response = False
+trace = run_experiment!(agent, env; t_warmup=200.0, alg=Vern7(), verbose=true)
Trial = 1, Category choice = 2, Response = Correct
 Trial = 2, Category choice = 2, Response = False
-Trial = 3, Category choice = 2, Response = False
+Trial = 3, Category choice = 1, Response = Correct
 Trial = 4, Category choice = 1, Response = False
 Trial = 5, Category choice = 2, Response = False
-Trial = 6, Category choice = 1, Response = False
+Trial = 6, Category choice = 2, Response = Correct
 Trial = 7, Category choice = 1, Response = False
-Trial = 8, Category choice = 1, Response = False
-Trial = 9, Category choice = 1, Response = False
+Trial = 8, Category choice = 2, Response = Correct
+Trial = 9, Category choice = 2, Response = Correct
 Trial = 10, Category choice = 2, Response = Correct
-Trial = 11, Category choice = 1, Response = False
+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 = 1, Response = Correct
+Trial = 16, Category choice = 2, Response = False
 Trial = 17, Category choice = 2, Response = False
 Trial = 18, Category choice = 1, Response = Correct
-Trial = 19, Category choice = 1, Response = Correct
+Trial = 19, Category choice = 2, Response = False
 Trial = 20, Category choice = 2, Response = Correct
-Trial = 21, Category choice = 1, Response = Correct
-Trial = 22, Category choice = 1, Response = Correct
+Trial = 21, Category choice = 2, Response = False
+Trial = 22, Category choice = 2, Response = False
 Trial = 23, Category choice = 1, Response = Correct
-Trial = 24, Category choice = 2, Response = Correct
-Trial = 25, Category choice = 1, Response = Correct
-Trial = 26, Category choice = 1, Response = Correct
-Trial = 27, Category choice = 2, Response = False
+Trial = 24, Category choice = 1, Response = False
+Trial = 25, Category choice = 2, Response = False
+Trial = 26, Category choice = 2, Response = False
+Trial = 27, Category choice = 1, Response = Correct
 Trial = 28, Category choice = 2, Response = False
 Trial = 29, Category choice = 2, Response = Correct
-Trial = 30, Category choice = 1, Response = Correct
-Trial = 31, Category choice = 1, Response = False
-Trial = 32, Category choice = 2, Response = False
-Trial = 33, Category choice = 2, Response = Correct
-Trial = 34, Category choice = 1, Response = False
-Trial = 35, Category choice = 1, Response = False
-Trial = 36, Category choice = 2, Response = False
-Trial = 37, Category choice = 2, Response = False
-Trial = 38, Category choice = 1, Response = Correct
+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 = 34, Category choice = 2, Response = Correct
+Trial = 35, Category choice = 2, Response = Correct
+Trial = 36, Category choice = 1, Response = Correct
+Trial = 37, Category choice = 1, Response = Correct
+Trial = 38, Category choice = 2, Response = False
 Trial = 39, Category choice = 2, Response = Correct
-Trial = 40, Category choice = 1, Response = Correct
-Trial = 41, Category choice = 1, Response = False
+Trial = 40, Category choice = 2, Response = False
+Trial = 41, Category choice = 2, Response = Correct
 Trial = 42, Category choice = 1, Response = Correct
-Trial = 43, Category choice = 2, Response = False
-Trial = 44, Category choice = 1, Response = False
+Trial = 43, Category choice = 1, Response = Correct
+Trial = 44, Category choice = 2, Response = Correct
 Trial = 45, Category choice = 1, Response = Correct
 Trial = 46, Category choice = 1, Response = Correct
 Trial = 47, Category choice = 2, 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 = 2, Response = False
-Trial = 52, Category choice = 1, Response = Correct
-Trial = 53, Category choice = 1, Response = False
+Trial = 50, Category choice = 2, Response = Correct
+Trial = 51, Category choice = 1, Response = Correct
+Trial = 52, Category choice = 2, Response = False
+Trial = 53, Category choice = 2, Response = Correct
 Trial = 54, Category choice = 1, Response = False
 Trial = 55, Category choice = 2, Response = Correct
-Trial = 56, Category choice = 1, Response = False
-Trial = 57, Category choice = 1, Response = Correct
-Trial = 58, Category choice = 1, Response = Correct
-Trial = 59, Category choice = 2, Response = False
-Trial = 60, Category choice = 2, Response = False
+Trial = 56, Category choice = 2, Response = Correct
+Trial = 57, Category choice = 2, Response = False
+Trial = 58, Category choice = 2, Response = False
+Trial = 59, Category choice = 1, Response = Correct
+Trial = 60, Category choice = 1, Response = Correct
 Trial = 61, Category choice = 1, Response = False
 Trial = 62, Category choice = 2, Response = Correct
-Trial = 63, Category choice = 1, Response = False
-Trial = 64, Category choice = 1, Response = Correct
-Trial = 65, Category choice = 1, Response = Correct
-Trial = 66, Category choice = 1, Response = False
-Trial = 67, Category choice = 1, Response = Correct
+Trial = 63, Category choice = 2, Response = Correct
+Trial = 64, Category choice = 2, Response = False
+Trial = 65, Category choice = 2, Response = False
+Trial = 66, Category choice = 2, Response = Correct
+Trial = 67, Category choice = 2, Response = False
 Trial = 68, Category choice = 1, Response = False
-Trial = 69, Category choice = 2, Response = Correct
+Trial = 69, Category choice = 1, Response = False
 Trial = 70, Category choice = 2, Response = False
 Trial = 71, Category choice = 2, Response = False
 Trial = 72, Category choice = 2, Response = Correct
-Trial = 73, Category choice = 1, Response = False
-Trial = 74, Category choice = 2, Response = False
+Trial = 73, Category choice = 2, Response = Correct
+Trial = 74, Category choice = 1, Response = Correct
 Trial = 75, Category choice = 2, Response = False
-Trial = 76, Category choice = 2, Response = Correct
-Trial = 77, Category choice = 1, Response = Correct
+Trial = 76, Category choice = 1, Response = False
+Trial = 77, Category choice = 2, Response = False
 Trial = 78, Category choice = 1, Response = Correct
-Trial = 79, Category choice = 1, Response = Correct
-Trial = 80, Category choice = 1, Response = Correct
+Trial = 79, Category choice = 2, Response = False
+Trial = 80, Category choice = 2, Response = False
 Trial = 81, Category choice = 1, Response = False
-Trial = 82, Category choice = 2, Response = False
+Trial = 82, Category choice = 1, Response = Correct
 Trial = 83, Category choice = 2, Response = False
 Trial = 84, Category choice = 1, Response = False
-Trial = 85, Category choice = 1, Response = False
+Trial = 85, Category choice = 2, Response = Correct
 Trial = 86, Category choice = 1, Response = Correct
-Trial = 87, Category choice = 1, Response = Correct
+Trial = 87, Category choice = 2, Response = False
 Trial = 88, Category choice = 1, Response = Correct
 Trial = 89, Category choice = 2, Response = Correct
-Trial = 90, Category choice = 2, Response = False
-Trial = 91, Category choice = 2, Response = Correct
-Trial = 92, Category choice = 1, Response = Correct
-Trial = 93, Category choice = 1, Response = False
-Trial = 94, Category choice = 1, Response = False
+Trial = 90, Category choice = 1, Response = Correct
+Trial = 91, Category choice = 1, Response = False
+Trial = 92, Category choice = 2, Response = False
+Trial = 93, Category choice = 2, Response = Correct
+Trial = 94, Category choice = 2, Response = Correct
 Trial = 95, Category choice = 1, Response = Correct
-Trial = 96, Category choice = 1, Response = False
+Trial = 96, Category choice = 2, Response = Correct
 Trial = 97, Category choice = 1, Response = False
 Trial = 98, Category choice = 2, Response = Correct
-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, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1], action = [1, 2, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 2, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1])

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

trace.trial ## trial indices
+Trial = 99, Category choice = 2, Response = False
+Trial = 100, Category choice = 2, Response = False
+(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[1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0], action = [2, 2, 1, 1, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 1, 2, 2, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 1, 2, 1, 2, 1, 2, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2])

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