fast_tvb output

21 views
Skip to first unread message

Hannah Hacker

unread,
Nov 10, 2023, 3:25:49 AM11/10/23
to TVB Users
Hi erveryone,

does anybody know, if there is a possibility, when using fast_tvb for the RWW model, to get the values of the tuned J_i parameter?

Thanks in advance!
Hannah

Michael Schirner (michael.schirner@bih-charite.de)

unread,
Nov 10, 2023, 3:44:48 AM11/10/23
to TVB Users
Hi Hannah,

yes, the tuned J_i values can be written out by adding a loop that iterates over the variable where the tuned values are stored and writing it into a file, like this:

out_file = fopen("my_output_file.txt", "w");
for (j=0; j < nodes; j++) {
    fprintf(out_file, "%.6f\n",J_i[j]);
}
fclose(out_file);

Please see here an example from a similar code that also tunes long-range excitation and feedforward inhibition in addition to J_i.

Best,
Micha

Hannah Hacker

unread,
Nov 10, 2023, 8:24:10 AM11/10/23
to TVB Users
Thank you so much!
Reply all
Reply to author
Forward
0 new messages