Open cmaumet opened 7 years ago
We could do this by using @pauldmccarthy's fsl.data.featdesign
(part of fslpy
).
designfsf = featanalysis.loadSettings('MY_PATH/nidmresults-examples/fsl_gamma_basis/')
designmat = featdesign.FEATFSFDesign('MY_PATH/fsl_gamma_basis/', designfsf)
evs = designmat.getEVs()
evs[0].title
"PNM is a tool used in conjunction with the GLM (via FEAT) that can be used to model (or "regress out") the effects of physiological noise in functional MRI data. That is, it creates EVs (regressors) that can be used to model the physiological noise within the GLM, alongside other stimulus-related regressors." (Excerpt from the "Physiological Noise Modelling" (PNM) manual)
We need to determine how many evs are created and add them to the list of regressor names.