From 9ac7796434f4f49a705bb68d34ebdb0b9f7c7b3b Mon Sep 17 00:00:00 2001 From: harisorgn Date: Sat, 11 Jan 2025 13:06:25 +0200 Subject: [PATCH] suppress system output in DCM --- _literate/DCM.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_literate/DCM.jl b/_literate/DCM.jl index df36279..6370e83 100644 --- a/_literate/DCM.jl +++ b/_literate/DCM.jl @@ -73,7 +73,7 @@ for idx in CartesianIndices(A_true) end # finally we compose the simulation model -@named simmodel = system_from_graph(g, split=false) +@named simmodel = system_from_graph(g, split=false); # ## Run the simulation and plot the results @@ -167,7 +167,7 @@ for (i, idx) in enumerate(CartesianIndices(A_prior)) end end ## Avoid simplification of the model in order to be able to exclude some parameters from fitting -@named fitmodel = system_from_graph(g, simplify=false) +@named fitmodel = system_from_graph(g, simplify=false); # With the function `changetune` we can provide a dictionary of parameters whose tunable flag should be changed, for instance set to false to exclude them from the optimization procedure. # For instance the the effective connections that are set to zero in the simulation: untune = Dict(A[3] => false, A[7] => false)