Skip to content

Latest commit

 

History

History
128 lines (78 loc) · 3.77 KB

Functions_Simulation.rst

File metadata and controls

128 lines (78 loc) · 3.77 KB

Simulation and Scoring

f_sim_score

.. toggle-header::
    :header: **Code**

       .. literalinclude:: ../Matlab/Code/Simulation/f_sim_score.m
          :linenos:
          :language: matlab

Calls the function that runs the simulations and the function that scores the output of the runs.

f_prep_sim

.. toggle-header::
    :header: **Code**

       .. literalinclude:: ../Matlab/Code/Simulation/f_prep_sim.m
          :linenos:
          :language: matlab

Prepares the simulation making sure that an equilibration is preformed when necessary before running the main simulation.

f_sim

.. toggle-header::
    :header: **Code**

       .. literalinclude:: ../Matlab/Code/Simulation/f_sim.m
          :linenos:
          :language: matlab

Simulates the model with the provided configurations. The first time it is run it loads a representation of the model and the simulation, and compiles this information to C code.

f_score

.. toggle-header::
    :header: **Code**

       .. literalinclude:: ../Matlab/Code/Simulation/f_score.m
          :linenos:
          :language: matlab

Uses the results from the simulation of the model and the Data provided via the SBTAB to calculate a score for a given parameter set.