balloon {neuRosim} | R Documentation |
Balloon model
Description
Generates the BOLD signal based on the Balloon model of Buxton et al. (2004).
Usage
balloon(stim, totaltime, acc, par=list(), verbose=TRUE)
Arguments
stim |
Vector representing the presence/absence (1-0 coding) of a stimulus/activation in seconds. |
totaltime |
Total duration of stimulus vector in seconds. |
acc |
Microtime resolution of stimulus vector in seconds. |
par |
List representing the parameters of the Balloon model. The list should contain the following:
|
verbose |
If |
Details
Based on the provided stimulus boxcar function, a neural activation function is generated that enters the Balloon model to generate a BOLD response. The microtime resolution ensures a high-precision generation of the response. More details can be found in Buxton et al. (2004).
Value
Vector representing the values of the BOLD signal for the given stimulus vector and microtime resolution.
Author(s)
G. Verdoolaege, M. Welvaert
References
Buxton, RB, Uludag, K, Dubowitz, DJ and Liu, TT (2004). Modeling the hemodynamic response to brain activation. NeuroImage, 23, S220-S233.
See Also
Examples
s <- rep(rep(0,10), rep(1,10), 5)
T <- 100
it <- 0.1
out <- balloon(s, T, it)
#takes a couple of seconds due to solving of the differential equations