Skip to content

Trajectory Generation

Igor Siveroni edited this page Nov 14, 2017 · 3 revisions

The TrajectoryOut class: checking your model

​ It is a good idea to test the syntax and behaviour of a population model before using it in a MCMC run. The TrajectoryOut class saves a full trajectory to a csv file: ​

         <run spec='TrajectoryOut' model='@twodeme' file="trajSIR3.csv">   </run>

SIR3 contains the input xml files and generated trajectory output corresponding to a similar three-deme running example. The trajectory plotted after running the SIR3example.xml file is:

SIR3 trajectory

Clone this wiki locally