pySPFM._solvers.hrf_generator.HRFMatrix#
- class HRFMatrix(te=None, model='spm', block=True)[source]#
A class for generating an HRF matrix.
- Parameters:
TE (list) – Values of TE in ms, by default None
model (str) – Model to use for HRF, by default “spm”
block (bool) – Whether to use the block model in favor of the spike model, by default false
custom (str) – Path to custom HRF file, by default None
Methods
__init__([te, model, block])generate_hrf(tr, n_scans)Generate HRF matrix.
hrf_afni([hrf_model])Generate HRF with AFNI's 3dDeconvolve.