Skip to contents

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.

Value

An AFNI_HRF object with the specified properties.

Functions

  • AFNI_HRF(): AFNI hrf

  • HRF_GAUSSIAN(): Gaussian hrf

  • HRF_BSPLINE(): B-spline hrf

  • HRF_SPMG1(): SPMG1 hrf

  • HRF_SPMG2(): SPMG2 hrf

  • HRF_SPMG3(): SPMG3 hrf

See also

HRF