This test configures a FlowBalloonModel with parameters and functions set according to the second experiment in Buxton et al. (1998). Results are output on stdout, tab delimited, with columns representing:
; time
(Buxton et al. 2004).
; BOLD response
Results, c.f. Buxton et al. (1998), Figure 2
Look out for a double line in the graph for
which may indicate that the error bounds need to be tightened or that discontinuities in
are not being handled well. As the volume increases, peaks and then decreases with time in this test, this graph has two lines drawn. They should be exactly the same.
Definition in file test2.cpp.
Go to the source code of this file.
Functions | |
| double | F_IN (double t, const double y[], void *o) |
; Trapezoidal function with a rise time of 4 s, duration of 4 s and fall time of 4 s. | |
| double | F_OUT (double t, const double y[], void *o) |
; | |
| int | main (int argc, const char *argv[]) |
| Run tests. | |
Variables | |
| static const double | TAU_0 = 2.0 |
| |
| static const double | E_0 = 0.4 |
| |
| static const double | V_0 = 0.01 |
| |
| static const double | ALPHA = 0.5 |
| |
| static const double | END = 20.0 |
| Duration of simulation (s). | |
| double F_IN | ( | double | t, | |
| const double | y[], | |||
| void * | o | |||
| ) |
| double F_OUT | ( | double | t, | |
| const double | y[], | |||
| void * | o | |||
| ) |
const double END = 20.0 [static] |
1.5.2