Skip to contents

This internal function generates an HRF library by applying the provided HRF generating function (fun) to each row of the parameter grid (pgrid). Additional arguments can be passed to the generating function using ....

Usage

gen_hrf_library(fun, pgrid, ...)

Arguments

fun

A function that generates an HRF, given a set of parameters.

pgrid

A data frame containing the parameter grid, where each row represents a set of parameters to be passed to the HRF generating function.

...

Additional arguments to be passed to the HRF generating function.

Value

A list of HRFs generated by applying the HRF generating function to each row of the parameter grid.

See also