Create a new HRF by linearly weighting the basis functions of an existing HRF.
This is useful for turning estimated basis coefficients into a single
functional HRF.
Usage
reconstruction_matrix(hrf, sframe, ...)
Arguments
- hrf
An object of class `HRF`.
- sframe
A `sampling_frame` object or numeric vector of times.
- ...
Additional arguments passed to methods
Value
A numeric matrix with one column per basis function.
Details
Reconstruction matrix for an HRF basis
Returns a matrix \(\Phi\) that converts basis coefficients into a
sampled HRF shape.