help > RE: conn_module for simultaneous filtering
Feb 5, 2021  07:02 PM | Lorenzo Pasquini - Klinikum rechts der Isar Technische Universitaet Muenchen
RE: conn_module for simultaneous filtering
Hey Alfonso

apologies, I am having some troubles implementing the conn_module script.
I receive the following error:
Index exceeds the number of array elements (1).
Error in conn_setup_preproc (line 3055)
if ~sets||ALLSETSPERMISSIONS,
CONN_x.Setup.l1covariates.files{nsubject}{icov}{nses}=conn_file(outputfiles{isubject}{nses}{2}); end
Error in conn_process (line 27)
case 'setup_preprocessing', conn_disp(['CONN: RUNNING SETUP.PREPROCESSING STEP']); conn_setup_preproc(varargin{:});
Error in conn_batch (line 1236)
conn_process('setup_preprocessing',steps,'subjects',SUBJECTS,OPTIONS{:});
Error in conn_module (line 466)
conn_batch(Batch);
Error in prepro (line 13)
conn_module( 'preprocessing', ..

My current syntax to perform simultanous filtering is:
conn_module( 'preprocessing', ...
'structurals', {'/Volumes/My_Book/test/anat.nii'}, ...
'functionals', {'/Volumes/My_Book/test/f.nii'}, ...
'steps', {'default_mni', 'functional_bandpass','functional_regression'}, ...
'sliceorder', 'ascending', ...
'fwhm', 6, ...
'reg_names', {'realignment','scrubbing','White Matter','CSF'}, ...
'reg_dimensions',[inf, inf, 5, 5], ...
'reg_deriv', [1, 0, 0, 0], ...
'bp_filter', [0.008 0.09],...
'reg_filter', [1 0 1 1])
Any sense of what I am doing wrong?
Thanks

Lorenzo

Threaded View

TitleAuthorDate
Lorenzo Pasquini Feb 4, 2021
Alfonso Nieto-Castanon Feb 5, 2021
Lorenzo Pasquini Feb 5, 2021
Lorenzo Pasquini Feb 5, 2021
RE: conn_module for simultaneous filtering
Lorenzo Pasquini Feb 5, 2021
Alfonso Nieto-Castanon Feb 5, 2021
Lorenzo Pasquini Feb 6, 2021