gen_trap_rf | R Documentation |
Generate a trapezoidal response function.
gen_trap_rf(
onset,
duration,
trial_type,
mrs_data,
rise_t = 0,
fall_t = 0,
smo_sigma = NULL,
match_tr = TRUE,
dt = 0.01,
normalise = TRUE
)
onset |
stimulus onset in seconds. |
duration |
stimulus duration in seconds. |
trial_type |
string label for the stimulus. |
mrs_data |
mrs_data object for timing information. |
rise_t |
rise time of the trapezoid in seconds. |
fall_t |
fall time of the trapezoid in seconds |
smo_sigma |
standard deviation of Gaussian smoothing kernel in seconds. Set to NULL to disable (default behavior). |
match_tr |
match the output to the input mrs_data. |
dt |
timing resolution for internal calculations. |
normalise |
normalise the response function to have a maximum value of one. |
trapezoidal response function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.