Creates an HRF whose evaluations are divided by constants computed once on a fixed reference grid. The resulting scale therefore does not depend on the time points supplied in later calls.
Arguments
- hrf
An object of class `HRF`.
- mode
Normalization convention: `"spm"` divides by the sum of the canonical basis on the 1,600-point 0–32 second Nilearn reference grid; `"unit_peak"` divides every basis by the canonical basis peak; `"unit_integral"` divides every basis by the canonical basis trapezoidal integral; `"unit_peak_per_basis"` scales each basis independently; and `"none"` returns `hrf` unchanged.
Details
For multi-basis HRFs, `"spm"`, `"unit_peak"`, and `"unit_integral"` use one scalar computed from the first (canonical) column and apply it uniformly. This preserves the relative scale of derivative bases. Only `"unit_peak_per_basis"` rescales columns independently.
See also
Other HRF_decorator_functions:
block_hrf(),
lag_hrf(),
normalise_hrf()