Skip to content

Commit

Permalink
suppress system output in DCM
Browse files Browse the repository at this point in the history
  • Loading branch information
harisorgn committed Jan 11, 2025
1 parent 00900e7 commit 9ac7796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _literate/DCM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9ac7796

Please sign in to comment.