GetResults

25 views
Skip to first unread message

αννα αλ

unread,
Sep 4, 2023, 8:03:09 AM9/4/23
to BioDynaMo Forum
Hello, I would like to know if there is some way to get the output results in a .csv or an .xls file. 

Nicolò Cogno

unread,
Sep 4, 2023, 8:22:08 AM9/4/23
to BioDynaMo Forum
Hi! You can, for example, try result collectors and time series (https://github.com/BioDynaMo/biodynamo/blob/master/src/core/analysis/time_series.cc) to store data from your simulation and then write your output to a .csv file using any available C++ function (see this example from StackOverflow). Have a look at this demo https://github.com/BioDynaMo/biodynamo/tree/master/demo/epidemiology for an example (look into src/evaluate.h).
Reply all
Reply to author
Forward
0 new messages