Loading sails/stft.py +3 −2 Original line number Diff line number Diff line Loading @@ -1876,12 +1876,13 @@ def _glm_fit_glmtools(pxx, covariates, confounds, config, fit_constant=True): DC = glm.design.DesignConfig() if fit_constant: logging.debug('Adding Constant Regressor') DC.add_regressor(name='Mean', rtype='Constant') for key in covariates.keys(): logging.debug('Convariate {0}'.format(key)) logging.debug('Adding Covariate : {0}'.format(key)) DC.add_regressor(name=key, rtype='Parametric', datainfo=key, preproc='z') for key in confounds.keys(): logging.debug('Confound {0}'.format(key)) logging.debug('Adding Confound : {0}'.format(key)) DC.add_regressor(name=key, rtype='Parametric', datainfo=key, preproc='unitmax') DC.add_simple_contrasts() Loading Loading
sails/stft.py +3 −2 Original line number Diff line number Diff line Loading @@ -1876,12 +1876,13 @@ def _glm_fit_glmtools(pxx, covariates, confounds, config, fit_constant=True): DC = glm.design.DesignConfig() if fit_constant: logging.debug('Adding Constant Regressor') DC.add_regressor(name='Mean', rtype='Constant') for key in covariates.keys(): logging.debug('Convariate {0}'.format(key)) logging.debug('Adding Covariate : {0}'.format(key)) DC.add_regressor(name=key, rtype='Parametric', datainfo=key, preproc='z') for key in confounds.keys(): logging.debug('Confound {0}'.format(key)) logging.debug('Adding Confound : {0}'.format(key)) DC.add_regressor(name=key, rtype='Parametric', datainfo=key, preproc='unitmax') DC.add_simple_contrasts() Loading