Construct a list of covariance basis matrices for the noise model in variational inversion. Mirrors SPM25's spm_Ce.

dcm_Ce(t, v = NULL, a = NULL)

Arguments

t

Either a numeric vector of session lengths (defaults to AR basis) or a string "ar" / "fast" selecting the basis type.

v

Session lengths (when t is a string).

a

AR coefficient (or sampling interval for FAST).

Value

A list of sparse Matrix objects.