This test uses a default NeuralBalloonModel with a driving neural activity function
consisting of a 1 s long burst of activity followed by no activity. The model is simulated for 60s, then reset to its state at the 5s mark and simulated again for the remaining time. The idea is to ensure that use of setState() and setTime() achieve consistent results with running the model from time zero.
Results are output into files results/test7.out and results/test7_repeat.out, tab delimited, with columns representing:
; time
; BOLD response
Results
Definition in file test7.cpp.
Go to the source code of this file.
Functions | |
| double | U (double t, const double y[], void *o) |
; 1 for 1 s, then 0. | |
| int | main (int argc, const char *argv[]) |
| Run tests. | |
Variables | |
| static const double | END = 60.0 |
| Duration of simulation (s). | |
| static const double | JUMP = 5.0 |
| double U | ( | double | t, | |
| const double | y[], | |||
| void * | o | |||
| ) |
const double END = 60.0 [static] |
1.5.2