The AFNI_HRF
function creates an object representing an AFNI-specific hemodynamic response function (HRF). It is a class constructor for AFNI HRFs.
Usage
AFNI_HRF(name, nbasis, params)
HRF_GAUSSIAN(t, mean = 6, sd = 2)
HRF_BSPLINE(t, span = 20, N = 5, degree = 3)
HRF_SPMG1(t, P1 = 5, P2 = 15, A1 = 0.0833)
HRF_SPMG2(t)
HRF_SPMG3(t)
Arguments
- name
A string specifying the name of the AFNI HRF.
- nbasis
An integer representing the number of basis functions for the AFNI HRF.
- params
A list containing the parameter values for the AFNI HRF.
- span
A numeric value representing the span in seconds of the HRF. Default is 24.